BoncardConfig
public class BoncardConfig: NSObject, NSCopying
Configuration object for Boncard transactions.
-
Creates a new Boncard configuration object.
Declaration
Swift
public init(boncardTypes: [BoncardType])Parameters
boncardTypesThe types of Boncard (and their order) to display in the payment method selection for the
PaymentMethodType.Boncardpayment method type. -
Creates a new Boncard configuration object.
This initializer is for use from Objective-C only. Instead of
[BoncardType], it takes[NSNumber]containingrawValues ofBoncardType.Example:
[[DTBoncardConfig alloc] initWithBoncardTypes:@[@(DTBoncardTypeGiftCard), @(DTBoncardTypeBoncard)]];Declaration
Swift
public convenience init(boncardTypesObjc: [NSNumber])Parameters
boncardTypesObjcThe types of Boncard (and their order) to display in the payment method selection for the
PaymentMethodType.Boncardpayment method type.
View on GitHub