BTSEPADirectDebitRequest
@objcMembers
public class BTSEPADirectDebitRequest : NSObject
Parameters for creating a SEPA Direct Debit tokenization request.
-
Required. The account holder name.
Declaration
Swift
public var accountHolderName: String?
-
Required. The full IBAN.
Declaration
Swift
public var iban: String?
-
Required. The customer ID.
Declaration
Swift
public var customerID: String?
-
Optional. The
BTSEPADebitMandateType
. If not set, defaults to.oneOff
Declaration
Swift
public var mandateType: BTSEPADirectDebitMandateType?
-
Required. The user’s billing address.
Declaration
Swift
public var billingAddress: BTPostalAddress?
-
Optional. A non-default merchant account to use for tokenization.
Declaration
Swift
public var merchantAccountID: String?
-
Optional. A locale code to use for creating a mandate. See https://developer.paypal.com/reference/locale-codes/ for a list of possible values. Locale code should be supplied as a BCP-47 formatted locale code.
Declaration
Swift
public var locale: String?
-
Initialize a new SEPA Direct Debit request.
Declaration
Swift
public init( accountHolderName: String? = nil, iban: String? = nil, customerID: String? = nil, mandateType: BTSEPADirectDebitMandateType? = .oneOff, billingAddress: BTPostalAddress? = nil, merchantAccountID: String? = nil, locale: String? = nil )
Parameters
accountHolderName
Required. The account holder name.
iban
Required. The full IBAN.
customerID
Required. The customer ID.
mandateType
Optional. The
BTSEPADebitMandateType
. If not set, defaults to.oneOff
billingAddress
Required. The user’s billing address.
merchantAccountID
Optional. A non-default merchant account to use for tokenization.
locale
Optional. A locale code to use for creating a mandate. See https://developer.paypal.com/reference/locale-codes/ for a list of possible values. Locale code should be supplied as a BCP-47 formatted locale code.