PaymentSheetApplePay class

Parameters related to the Payment sheet Apple Pay config.

Annotations
  • @freezed

Constructors

PaymentSheetApplePay({required String merchantCountryCode, List<ApplePayCartSummaryItem>? paymentSummaryItems})
const
factory
PaymentSheetApplePay.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PaymentSheetApplePayCopyWith<PaymentSheetApplePay>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
merchantCountryCode String
The two-letter ISO 3166 code of the country of your business, e.g. "US"
no setterinherited
paymentSummaryItems List<ApplePayCartSummaryItem>?
An array of CartSummaryItem item objects that summarize the amount of the payment. If you're using a SetupIntent for a recurring payment, you should set this to display the amount you intend to charge.
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
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited