Amount
See https://developer.paypal.com/docs/api/orders/v2/#definition-Amount_breakdown.
Methods
Amount::__construct()
Creates an amount object using constructor.
Signature
Example
Amount::of()
Creates an amount from a value and an optional currency code.
Signature
Example
Amount::getCurrencyCode()
Gets an amount currency code.
Signature
Example
Amount::getValue()
Gets an amount value.
Signature
Example
Amount::toArray()
Casts the Amount an array representation, used when serializing an amount into http request.
Signature
Example
Last updated