OPSetupParameters
@objc
public class OPSetupParameters : NSObjectOptional parameters for setting up the Olo Pay API
- 
                  
                  If true, this will be treated as a fresh setup of the API and cached values will be overwritten. This is especially useful for testing purposes when switching between Dev and Production environments Note This should generall be set to false for production buildsDeclarationSwift public let freshSetup: Bool
- 
                  
                  If using ApplePay, this is the merchant Id registered with Apple Important This is required when using ApplePayDeclarationSwift public let applePayMerchantId: String?
- 
                  
                  If using ApplePay, this is the company label that will be displayed on the ApplePay payment sheet Important This is required when using ApplePayDeclarationSwift public let applePayCompanyLabel: String?
- 
                  
                  DeclarationSwift public let environment: OPEnvironment
- 
                  
                  Creates an instance of OPSetupParametersto be used withOloPayApiInitializer.setup(...)DeclarationSwift public init(withEnvironment environment: OPEnvironment? = OPEnvironment.production, withFreshSetup freshSetup: Bool? = false, withApplePayMerchantId merchantId: String? = "", withApplePayCompanyLabel companyLabel: String? = "")ParametersenvironmentThe environment the SDK will run in. Defaults to OPEnvironment.productionfreshSetupIgnore any cached setup values and treat this as a fresh setup. Should typically be falsefor release builds. Defaults tofalsemerchantIdApplePay merchant Id registered with Apple companyLabelCompany name displayed on the ApplePay sheet 
 OPSetupParameters Class Reference
        OPSetupParameters Class Reference