CardDataRequest
public struct CardDataRequest : Encodable
-
Credit card token, can be optionally provided.
Declaration
Swift
public var cardToken: String?
-
Last four digits of Credit card number, can be optionally provided.
Declaration
Swift
public var cardLast4: String?
-
Expiry date of card. example: 07/30
Declaration
Swift
public var cardExpDate: String?
-
Name on card of the Customer.
Declaration
Swift
public var nameOnCard: String?
-
Designated initializer.
Declaration
Swift
public init(cardToken: String? = nil, cardLast4: String? = nil, cardExpDate: String? = nil, nameOnCard: String? = nil)
Parameters
cardToken
Credit card token, can be optionally provided.
cardLast4
Last four digits of Credit card number, can be optionally provided.
cardExpDate
Expiry date of card. Example: 07/30
nameOnCard
Name on card of the Customer.