BasicPaymentProduct class

Represents a BasicPaymentProduct object.

Implemented types
Implementers
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

BasicPaymentProduct(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})
BasicPaymentProduct.fromJson(Map<String, dynamic> json)
factory

Properties

accountsOnFile → List<AccountOnFile>
List of the known AccountOnFile for this payment product.
final
acquirerCountry → String?
The acquirer country for this payment product.
final
allowsInstallments → bool
Whether this product allows installments.
final
allowsRecurring → bool
Whether this product allows recurring payments.
final
allowsTokenization → bool
Whether this product allows tokenization.
final
authenticationIndicator → AuthenticationIndicator?
Indicates if the payment product support 3D security.
final
autoTokenized → bool
Whether this product automatically tokenizes payment information.
final
deviceFingerprintEnabled → bool
Whether this product has device fingerprinting enabled.
final
displayHints → PaymentItemDisplayHints
The display hints for this payment product.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The identifier for this payment product.
final
maxAmount → int?
The maximum amount this payment product allows for a payment, expressed as an amount in cents.
final
minAmount → int?
The minimum amount this payment product allows for a payment, expressed as an amount in cents.
final
mobileIntegrationLevel → MobileIntegrationLevel?
Indicator of the level of mobile support offered by this payment product.
final
paymentMethod → String
The name of the payment method for this payment product.
final
paymentProduct302SpecificData → PaymentProduct302SpecificData?
ApplePay specific data, will only be returned on the ApplePay payment product.
final
paymentProduct320SpecificData → PaymentProduct320SpecificData?
GooglePay specific data, will only be returned on the GooglePay payment product.
final
paymentProduct863SpecificData → PaymentProduct863SpecificData?
WeChat Pay specific data, will only be returned on the WeChat Pay payment product.
final
paymentProductGroup → String?
The PaymentProductGroup that this payment product belongs to.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsMandates → bool
Whether this product supports mandates.
final
usesRedirectionTo3rdParty → bool
Whether this product uses a redirection to a 3rd party.
final

Methods

compareTo(dynamic other) → int
Compares this object to another object.
override
getAccountsOnFile() → List<AccountOnFile>
override
getAcquirerCountry() → String?
override
getDisplayHints() → PaymentItemDisplayHints?
override
getId() → String
override
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