Paypal.Subscription.Product.Create (Paypal v0.2.0)

Copy Markdown View Source

Schema and validation for creating a product in the PayPal Catalog Products API.

For more details, see the PayPal Catalog Products API documentation.

Summary

Types

t()

Fields for creating a product

Types

t()

@type t() :: %Paypal.Subscription.Product.Create{
  category: String.t() | nil,
  description: String.t() | nil,
  home_url: String.t() | nil,
  id: String.t() | nil,
  image_url: String.t() | nil,
  name: String.t() | nil,
  type: any() | nil
}

Fields for creating a product:

  • name - The product name (required, max 127 characters).
  • type - The product type: :physical, :digital, or :service (required).
  • id - Optional custom product ID (max 127 characters).
  • description - Optional product description (max 256 characters).
  • category - Optional product category (max 256 characters).
  • image_url - Optional product image URL.
  • home_url - Optional product home page URL.