FINITE_RECURRING with billingCycles=1 is like NON_RECURRING FINITE_RECURRING with billingCycles=0 is like INFINITE_RECURRING
Generate a localized version of the billing cycle in a pricing phase.
For supported languages, check IapticSupportedLocales.
Example outputs:
FINITE_RECURRING
, 3 cycles, period "P1M"NON_RECURRING
, period "P1Y"Format a currency amount from micros with proper localization
Amount in micros (1/1,000,000 of currency unit)
ISO 4217 currency code (e.g., 'USD', 'EUR')
Formatted currency string
Generate a UUID v3-like string from an account string.
The username is first hashed with MD5, then formatted as a UUID v3-like string by adding dashes between the different parts of the hash.
This is used to generate a appAccountToken for Apple App Store purchases.
The account string
The UUID v3-like string
Utility methods for users of the iaptic library.