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