Order
See https://developer.paypal.com/docs/api/orders/v2/#definition-order.
Methods
Order::__construct()
Creates an order object using constructor.
Signature
Example
Order::addPurchaseUnit()
Adds a new purchase unit item into purchase_units array.
Signature
Example
Order::getPurchaseUnits()
Gets an array for purchase units from an order.
Signature
Example
Order::setApplicationContext()
Sets the application context of an order.
Signature
Example
Order::getApplicationContext()
Gets an order application context.
Signature
Example
Order::setIntent()
Sets an order intent.
Signature
Example
Order::getIntent()
Gets an order intent.
Signature
Example
Order::getId()
Gets an order id.
Signature
Example
Order::getStatus()
Gets an order status.
Signature
Example
Order::getPayee()
Gets an order payee.
Signature
Example
Last updated