PaymentSource

constructor(paymentMethod: String? = null, creditCard: CreditCard? = null, googlePay: GooglePay? = null)(source)

Public constructor to initialize a PaymentSource with the supported public payment methods.

Parameters

creditCard

The credit card details if this is a credit card payment.

googlePay

The Google Pay details if this is a Google Pay payment.