switchFunctions library Null safety

Functions

getCurrency([CurrencyType? type, String? optionalCurrency]) String
Return the Currency Type TODO: Should be able to set other Currency Types
getPricingType(PricingType type) String
retrieves the type of pricing for the charges pricing type: no_price or fixed_price a fixed_price requires the user to also provide the local_price argument a no_price means that any amount can be received through the created charge
getTransactionStatus(String status) TransactionStatus
NEW, PENDING, COMPLETED, EXPIRED, UNRESOLVED, RESOLVED, CANCELED, REFUND PENDING, REFUNDED Every charge object has a timeline of status updates.