Paypal.Order.PurchaseUnit (Paypal v0.1.0)
View SourceThe purchase unit is the information for each unit purchased (or to purchase) included in an order.
Summary
Types
@type t() :: %Paypal.Order.PurchaseUnit{ amount: Paypal.Common.CurrencyValue.t() | nil, custom_id: String.t() | nil, description: String.t() | nil, invoice_id: String.t() | nil, items: [Paypal.Order.PurchaseUnit.Item.t()], payee: map() | nil, payment_instruction: map() | nil, payments: Paypal.Order.PurchaseUnit.PaymentCollection.t() | nil, reference_id: String.t() | nil, shipping: map() | nil, soft_descriptor: String.t() | nil, supplementary_data: map() | nil }
The information for the purchase unit. It's composed for the provided items to be purchased, the information about the payee, payment instructions, shipping, etc.