PaymentComponentData
data class PaymentComponentData<PaymentMethodDetailsT : PaymentMethodDetails>(var paymentMethod: PaymentMethodDetailsT?, var order: OrderRequest?, var amount: Amount?, var storePaymentMethod: Boolean? = null, var shopperReference: String? = null, var billingAddress: Address? = null, var deliveryAddress: Address? = null, var shopperName: ShopperName? = null, var telephoneNumber: String? = null, var shopperEmail: String? = null, var dateOfBirth: String? = null, var socialSecurityNumber: String? = null, var installments: Installments? = null, var supportNativeRedirect: Boolean? = true) : ModelObject
Class containing the parameters that the SDK can infer from a component's configuration and user input, especially the paymentMethod object with the shopper input. Use PaymentComponentData.SERIALIZER to serialize this data to a JSONObject. The rest of the /payments call request data should be filled in, on your server, according to your needs.
Constructors
Link copied to clipboard
constructor(paymentMethod: PaymentMethodDetailsT?, order: OrderRequest?, amount: Amount?, storePaymentMethod: Boolean? = null, shopperReference: String? = null, billingAddress: Address? = null, deliveryAddress: Address? = null, shopperName: ShopperName? = null, telephoneNumber: String? = null, shopperEmail: String? = null, dateOfBirth: String? = null, socialSecurityNumber: String? = null, installments: Installments? = null, supportNativeRedirect: Boolean? = true)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard