PEGooglePayOptions class
A class representing Google Pay-specific payment options.
This includes options for requiring billing and shipping addresses.
- Implemented types
Constructors
- PEGooglePayOptions({required bool billingAddressRequired, required bool shippingAddressRequired, PEGooglePayBillingAddressParameters? billingAddressParameters, PEGooglePayShippingAddressParameters? shippingAddressParameters})
- Creates an instance of PEGooglePayOptions.
Properties
- billingAddressParameters → PEGooglePayBillingAddressParameters?
-
Additional parameters for the billing address.
final
- billingAddressRequired → bool
-
Whether a billing address is required for the transaction.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingAddressParameters → PEGooglePayShippingAddressParameters?
-
Additional parameters for the shipping address.
final
- shippingAddressRequired → bool
-
Whether a shipping address is required for the transaction.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this PEGooglePayOptions instance to a JSON map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited