Contents
public class FTMobileCommerce
Cloudpayments Mobile Commerce platform
serviceCatalog
public var serviceCatalog : FTMCServiceCatalog?
The current service catalog
setup(configurationFile:)
public static func setup(configurationFile : String = "MobileCommerce") -> Bool
Configures the Mobile Commerce platform. Must be called before any other call to any member of the framework
Parameters:
- wallet: client’s WalletId
- endpoint: optional custom client endpoint
- apiVersion: optional custom api version
- fetchServices: fetches service catalog as soon as framework is initialized, defaults to true
Configures the Mobile Commerce platform. Must be called before any other call to any member of the frameworkParameter configurationFile: Name of the property list file, without extension in your main bundle, defaults to “MobileCommerce”
Name | Description |
---|---|
configurationFile | Name of the property list file, without extension in your main bundle, defaults to “MobileCommerce” |