PaymentProduct class
Represents a BasicPaymentProduct and its PaymentProductFields.
- Inheritance
-
- Object
- BasicPaymentProduct
- PaymentProduct
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
PaymentProduct.new(String id, String paymentMethod, PaymentItemDisplayHints displayHints, {String? acquirerCountry = "", List<
AccountOnFile> accountsOnFile = const [], bool allowsInstallments = false, bool allowsRecurring = false, bool allowsTokenization = false, AuthenticationIndicator? authenticationIndicator, bool autoTokenized = false, bool deviceFingerprintEnabled = false, int? maxAmount, int? minAmount, MobileIntegrationLevel? mobileIntegrationLevel, PaymentProduct302SpecificData? paymentProduct302SpecificData, PaymentProduct320SpecificData? paymentProduct320SpecificData, PaymentProduct863SpecificData? paymentProduct863SpecificData, String? paymentProductGroup, bool usesRedirectionTo3rdParty = false, bool supportsMandates = false, List<PaymentProductField> ? fields, String? fieldsWarning}) -
PaymentProduct.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
accountsOnFile
→ List<
AccountOnFile> -
List of the known AccountOnFile for this payment product.
finalinherited
- acquirerCountry → String?
-
The acquirer country for this payment product.
finalinherited
- allowsInstallments → bool
-
Whether this product allows installments.
finalinherited
- allowsRecurring → bool
-
Whether this product allows recurring payments.
finalinherited
- allowsTokenization → bool
-
Whether this product allows tokenization.
finalinherited
- authenticationIndicator → AuthenticationIndicator?
-
Indicates if the payment product support 3D security.
finalinherited
- autoTokenized → bool
-
Whether this product automatically tokenizes payment information.
finalinherited
- deviceFingerprintEnabled → bool
-
Whether this product has device fingerprinting enabled.
finalinherited
- displayHints → PaymentItemDisplayHints
-
The display hints for this payment product.
finalinherited
-
fields
↔ List<
PaymentProductField> -
The fields that are specific to a payment product, which the customer will need to provide.
getter/setter pair
- fieldsWarning → String?
-
Optional warning for the fields on this product.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The identifier for this payment product.
finalinherited
- maxAmount → int?
-
The maximum amount this payment product allows for a payment, expressed as an amount in cents.
finalinherited
- minAmount → int?
-
The minimum amount this payment product allows for a payment, expressed as an amount in cents.
finalinherited
- mobileIntegrationLevel → MobileIntegrationLevel?
-
Indicator of the level of mobile support offered by this payment product.
finalinherited
- paymentMethod → String
-
The name of the payment method for this payment product.
finalinherited
- paymentProduct302SpecificData → PaymentProduct302SpecificData?
-
ApplePay specific data, will only be returned on the ApplePay payment product.
finalinherited
- paymentProduct320SpecificData → PaymentProduct320SpecificData?
-
GooglePay specific data, will only be returned on the GooglePay payment product.
finalinherited
- paymentProduct863SpecificData → PaymentProduct863SpecificData?
-
WeChat Pay specific data, will only be returned on the WeChat Pay payment product.
finalinherited
- paymentProductGroup → String?
-
The PaymentProductGroup that this payment product belongs to.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsMandates → bool
-
Whether this product supports mandates.
finalinherited
- usesRedirectionTo3rdParty → bool
-
Whether this product uses a redirection to a 3rd party.
finalinherited
Methods
-
compareTo(
dynamic other) → int -
Compares this object to another object.
inherited
-
getAccountsOnFile(
) → List< AccountOnFile> -
inherited
-
getAcquirerCountry(
) → String? -
inherited
-
getDisplayHints(
) → PaymentItemDisplayHints? -
inherited
-
getId(
) → String -
inherited
-
getPaymentProductFieldById(
String paymentProductFieldId) → PaymentProductField? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited