PlatformPaySheetUpdateParams.applePay constructor
- @JsonSerializable(explicitToJson: true)
- required List<
ApplePayCartSummaryItem> summaryItems, - required List<
ApplePayShippingMethod> shippingMethods, - List<
ApplePaySheetError> ? errors,
Implementation
@JsonSerializable(explicitToJson: true)
const factory PlatformPaySheetUpdateParams.applePay({
/// list of updated summary items
required List<ApplePayCartSummaryItem> summaryItems,
/// list of updated shipping methods
required List<ApplePayShippingMethod> shippingMethods,
/// In case user input is wrong use this to display the errors in the apple pay sheet.
List<ApplePaySheetError>? errors,
}) = _PlatformPaySheetUpdateParams;