ApplePayCartSummaryItem.immediate constructor
- @JsonSerializable(explicitToJson: true)
- @FreezedUnionValue('Immediate')
Use this type for payments that will occur immediately.
Implementation
@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('Immediate')
/// Use this type for payments that will occur immediately.
const factory ApplePayCartSummaryItem.immediate({
/// Short localized description of the item.
required String label,
/// The monetary amount.
required String amount,
/// When creating items for estimates or charges whose final value is not yet known, set this to true.
bool? isPending,
}) = ImmediateCartSummaryItem;