public class PayWithGoogleUtils
extends java.lang.Object
Constructor and Description |
---|
PayWithGoogleUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPriceString(long price,
java.util.Currency currency)
Converts an integer price in the lowest currency denomination to a Google string value.
|
public static java.lang.String getPriceString(long price, java.util.Currency currency)
price
- the price in the lowest available currency denominationcurrency
- the Currency
used to determine how many digits after the decimal