CardParameters class
This object allows you to define the accepted payment card types. Google filters a payer's available payment cards based on your configured options.
Constructors
-
CardParameters({List<
CardAuthMethods> ? allowedCardsMethods, bool allowPrepaidCards = true, bool allowCreditCards = true, bool? assuranceDetailsRequired, bool? billingAddressRequired, BillingAddressParameters? billingAddressParameters}) - This object allows you to define the accepted payment card types. Google filters a payer's available payment cards based on your configured options.
Properties
- allowCreditCards → bool
-
Set to false if you don't support credit cards.
Default: The credit card class is supported for the card networks specified.
final
-
allowedCardsMethods
→ List<
CardAuthMethods> ? -
Fields supported to authenticate a card transaction.
final
- allowPrepaidCards → bool
-
Set to false if you don't support prepaid cards.
Default: The prepaid card class is supported for the card networks specified.
final
- assuranceDetailsRequired → bool?
-
Set to
true
to request assuranceDetails. This object provides information about the validation performed on the returned payment data.final - billingAddressParameters → BillingAddressParameters?
-
This object allows you to set additional fields to be returned for a requested billing address.
final
- billingAddressRequired → bool?
-
Set to
true
if you require a billing address. A billing address should only be requested if it's required to process the transaction. Additional data requests can increase friction in the checkout process and lead to a lower conversion rate.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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