6 $stagedData[
'amount' ] = static::round( $normalized[
'amount' ], $normalized[
'currency' ] );
12 $non_fractional_currencies = [
'JPY',
'HUF',
'TWD' ];
14 if ( in_array( strtoupper( $currency_code ), $non_fractional_currencies ) ) {
stage(GatewayType $adapter, $normalized, &$stagedData)
Transform a subset of normalized data into the "staged" data expected by a payment processor.
static is_fractional_currency( $currency_code)
If an amount is ever expressed for the fractional currencies defined in this function,...
Used to mark any class which implements an staging method, for transforming data into the form expect...