GoogleParameters class

Parameters for making a payment in Google Pay

Constructors

GoogleParameters({required String gatewayName, required String gatewayMerchantId, String? merchantId, String? merchantName, CardParameters? cardParameters, TransactionInfo? transactionInfo, bool? emailRequired, bool? shippingAddressRequired, ShippingAddressParameters? shippingAddressParameters})
Parameters for making a payment in Google Pay

Properties

cardParameters CardParameters?
This object allows you to define the accepted payment card types. Google filters a payer's available payment cards based on your configured options.
final
emailRequired bool?
Set to true to request an email address.
final
gatewayMerchantId String
Gateway MerchantID obtained from your gateway account
final
gatewayName String
Payment gateway
final
hashCode int
The hash code for this object.
no setterinherited
merchantId String?
A Google merchant identifier issued after registration with the Google Pay Business Console. Required when PaymentsClient is initialized with an environment property of PRODUCTION.
final
merchantName String?
Merchant name is rendered in the payment sheet. In TEST environment, or if a merchant isn't recognized, a “Pay Unverified Merchant” message is displayed in the payment sheet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddressParameters ShippingAddressParameters?
This object is used to set shipping restrictions.
final
shippingAddressRequired bool?
Set to true to request a full shipping address.
final
transactionInfo TransactionInfo?
This object describes a transaction that determines a payer's ability to pay. It's used to present a payment authorization dialog. The following table details the properties of the object.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited