currencyMultiplier property

int currencyMultiplier
final

Multiplier to convert the amount to the currency's smallest unit

Google Pay requires the amount to be specified in terms of the currency's smallest unit (e.g. pennies for USD). The Olo Pay SDK does that calculation for you. In most cases the currency multiplier is going to be 100, and is the default value if this property is not specified in the constructor.

Example: $2.34 * 100 = 234 cents.

Default value is 100

Implementation

final int currencyMultiplier;