Amount Breakdown
Methods
AmountBreakdown::__construct()
Signature
public function __construct(string $value, string $currency_code = 'USD');Example
$amount = new AmountBreakdown('100.00', 'USD');AmountBreakdown::of()
Signature
public static function of(string $value, string $currency_code = 'USD'): AmountBreakdown;Example
$amount = AmountBreakdown::of('100.00', 'USD');AmountBreakdown::getCurrencyCode()
Signature
Example
AmountBreakdown::getValue()
Signature
Example
AmountBreakdown::toArray()
Signature
Example
Last updated
Was this helpful?