PaymentMethodRequest constructor

PaymentMethodRequest({
  1. BillingAddress? billingAddress,
  2. CreditCard? card,
  3. Token? token,
  4. Map<String, String>? metadata,
})

Implementation

PaymentMethodRequest({this.billingAddress, this.card, this.token, this.metadata}) {
  assert(card != null || token != null);
}