ApplePayPresentParams class
- Annotations
-
- @freezed
Constructors
-
ApplePayPresentParams({required List<
ApplePayCartSummaryItem> cartItems, required String country, required String currency, List<ApplePayContactFieldsType> ? requiredShippingAddressFields, List<ApplePayContactFieldsType> ? requiredBillingContactFields, List<ApplePayShippingMethod> ? shippingMethods, @Default(false) bool jcbEnabled}) -
constfactory
-
ApplePayPresentParams.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
cartItems
→ List<
ApplePayCartSummaryItem> -
Line Items of the payment request.
no setterinherited
-
copyWith
→ $ApplePayPresentParamsCopyWith<
ApplePayPresentParams> -
Create a copy of ApplePayPresentParams
with the given fields replaced by the non-null parameter values.
no setterinherited
- country → String
-
The two letter ISO 3166 country code representing the merchant.
no setterinherited
- currency → String
-
The three letter ISO 4217 code for the currency.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- jcbEnabled → bool
-
Add support for jcb as additional payment method.
no setterinherited
-
requiredBillingContactFields
→ List<
ApplePayContactFieldsType> ? -
Fields that will be shown on the required billing address section. If
empty no fields will be displayed.
no setterinherited
-
requiredShippingAddressFields
→ List<
ApplePayContactFieldsType> ? -
Fields that will be shown on the required shipping address section. If
empty no fields will be displayed.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shippingMethods
→ List<
ApplePayShippingMethod> ? -
List of available shipping methods for goods.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ApplePayPresentParams to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited