OPPBankAccount
@objc
public final class OPPBankAccount : NSObject
Class to encapsulate shopper’s bank account details that have been tokenized.
-
The name of the bank account holder.
Declaration
Swift
@objc public var holder: String -
The IBAN (International Bank Account Number) associated with the bank account.
Declaration
Swift
@objc public var iban: String
-
Creates an
OPPBankAccountobject with the provided values.- holder: The name of the bank account holder.
- iban: The IBAN (International Bank Account Number) associated with the bank account.
Declaration
Swift
@objc public init?(holder: String, iban: String)Return Value
Returns an
OPPBankAccountobject, ornilif parameters are empty. -
Creates an
OPPBankAccountobject from the JSON.Declaration
Swift
@objc public convenience init?(fromJSON JSON: [AnyHashable : Any])Parameters
JSONA dictionary with parameters received from the Server.
Return Value
Returns an
OPPBankAccountobject, ornilif JSON contains invalid values. -
Creates an
OPPBankAccountobject from the JSON.Declaration
Swift
@objc public static func bankAccount(fromJSON JSON: [AnyHashable : Any]) -> `Self`?Parameters
JSONA dictionary with parameters received from the Server.
Return Value
Returns an
OPPBankAccountobject, ornilif JSON contains invalid values. -
Creates an
OPPBankAccountobject with the provided values.- holder: The name of the bank account holder.
- IBAN: The IBAN (International Bank Account Number) associated with the bank account.
Declaration
Swift
@objc public static func bankAccount(withHolder holder: String, iban: String) -> `Self`?Return Value
Returns an
OPPBankAccountobject, ornilif parameters are empty.
OPPBankAccount Class Reference