customFunctions/switchFunctions library
Functions
-
getCurrency(
CurrencyType type) → String -
getPricingType(
PricingType type) → String -
retrieves the type of pricing for the charges
pricing type:
no_price
orfixed_price
afixed_price
requires the user to also provide thelocal_price
argument ano_price
means that any amount can be received through the created charge -
getTransactionStatus(
String status) → TransactionStatus