BuyerIdentification

constructor(name: String, number: String? = null, type: String? = null)

Parameters

name

The cardholder's name. For testing, include status codes like: - APRO: Approved payment - OTHE: Other payment status - CONT: Contingent payment

number

Optional identification number of the cardholder

type

Optional identification type of the cardholder

Example:

// Create buyer identification for testing
val buyerId = BuyerIdentification(
name = "APRO John Doe",
number = "123456789",
type = "CPF"
)

// Create buyer identification for production
val realBuyerId = BuyerIdentification(
name = "John Doe",
number = "123456789",
type = "CPF"
)