Payment Source
constructor(paymentMethod: String? = null, creditCard: CreditCard? = null, googlePay: GooglePay? = null)(source)
Public constructor to initialize a PaymentSource with the supported public payment methods.
Parameters
credit Card
The credit card details if this is a credit card payment.
google Pay
The Google Pay details if this is a Google Pay payment.