DokuDetails
public struct DokuDetails : PaymentMethodDetails
Contains the details supplied by the Doku component.
-
The payment method type.
Declaration
Swift
public let type: String
-
The first Name.
Declaration
Swift
public let firstName: String
-
The last Name.
Declaration
Swift
public let lastName: String
-
The email address.
Declaration
Swift
public let emailAddress: String
-
Initializes the MB Way details.
Declaration
Swift
public init(paymentMethod: PaymentMethod, firstName: String, lastName: String, emailAddress: String)
Parameters
paymentMethod
The Doku Wallet, Doku Alfamart, or Doku Indomaret payment method.
firstName
The first Name.
lastName
The last Name.
emailAddress
The email address.