PaymentRequest class

Request data for processingPayment.

Constructors

PaymentRequest({required AppleParameters apple, required GoogleParameters google, required String currencyCode, required String countryCode, required List<PaymentItem> paymentItems, List<PaymentNetwork>? paymentNetworks})
Request all data for processingPayment.
factory
PaymentRequest.apple({required AppleParameters apple, required String currencyCode, required String countryCode, required List<PaymentItem> paymentItems, List<PaymentNetwork>? paymentNetworks})
Request apple data for processingPayment.
factory
PaymentRequest.google({required GoogleParameters google, required String currencyCode, required String countryCode, required List<PaymentItem> paymentItems, List<PaymentNetwork>? paymentNetworks})
Request google data for processingPayment.
factory

Properties

apple AppleParameters?
Parameters for making a payment in Apple Pay
final
countryCode String
Country code
final
currencyCode String
Currency code
final
google GoogleParameters?
Parameters for making a payment in Google Pay
final
hashCode int
The hash code for this object.
no setterinherited
paymentItems List<PaymentItem>
Item information
final
paymentNetworks List<PaymentNetwork>?
One or more card networks that you support, also supported by the Apple / Google Pay.
final
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