GooglePayOptions constructor

GooglePayOptions({
  1. List<String>? allowedCardAuthMethods,
  2. String? merchantName,
  3. bool? allowPrepaidCards,
  4. bool? allowCreditCards,
  5. bool? assuranceDetailsRequired,
  6. bool? billingAddressRequired,
  7. BillingAddressParameters? billingAddressParameters,
  8. String? transactionId,
  9. String? totalPriceLabel,
  10. String? checkoutOption,
  11. bool? emailRequired,
  12. bool? shippingAddressRequired,
  13. ShippingAddressParameters? shippingAddressParameters,
  14. List<String>? allowedCardNetworks,
  15. bool? skipReadinessCheck,
})

Implementation

GooglePayOptions({
  this.allowedCardAuthMethods,
  this.merchantName,
  this.allowPrepaidCards,
  this.allowCreditCards,
  this.assuranceDetailsRequired,
  this.billingAddressRequired,
  this.billingAddressParameters,
  this.transactionId,
  this.totalPriceLabel,
  this.checkoutOption,
  this.emailRequired,
  this.shippingAddressRequired,
  this.shippingAddressParameters,
  List<String>? allowedCardNetworks,
  this.skipReadinessCheck,
}) : allowedCardNetworks =
          allowedCardNetworks ?? googlePaySupportedNetworks();