Paypal.Order.Create (Paypal v0.1.0)

View Source

Create an order. It contains the information for creating an order.

Summary

Types

t()

The information for creating an order is based on two principal data

Types

t()

@type t() :: %Paypal.Order.Create{
  intent: any() | nil,
  purchase_units: [Paypal.Order.PurchaseUnit.t()]
}

The information for creating an order is based on two principal data:

  • intent that could be :capture or :authorize.
  • purchase_units that is the information for the payment. See Paypal.Order.PurchaseUnit.