BoletoDetails
public struct BoletoDetails : PaymentMethodDetails, ShopperInformation
Contains the details supplied by the Boleto component.
-
The type of the payment method
Declaration
Swift
public let type: String
-
The first name and last name of the shopper.
Declaration
Swift
public let shopperName: ShopperName?
-
The social security number of the shopper.
Declaration
Swift
public let socialSecurityNumber: String?
-
The email address of the shopper.
Declaration
Swift
public let emailAddress: String?
-
The billing address of the shopper.
Declaration
Swift
public let billingAddress: PostalAddress?
-
Initializes the Boleto details
Declaration
Swift
public init( type: String, shopperName: ShopperName, socialSecurityNumber: String, emailAddress: String?, billingAddress: PostalAddress )
Parameters
type
Boleto payment method.
shopperName
Name of the shopper.
socialSecurityNumber
CPF/CNPJ of the shopper.
emailAddress
Optional email address of the shopper.
billingAddress
Billing address of the shopper.