DeferredSummaryItem class abstract

Implemented types

Constructors

DeferredSummaryItem({required String label, required String amount, required int deferredDate})
const
factory
DeferredSummaryItem.fromJson(Map<String, dynamic> json)
factory

Properties

amount String
The monetary amount.
no setter
copyWith → _$$DeferredSummaryItemImplCopyWith<_$DeferredSummaryItemImpl>
Create a copy of ApplePayCartSummaryItem with the given fields replaced by the non-null parameter values.
no setter
deferredDate int
The unix timestamp of the date, in the future, of the payment. Measured in seconds.
no setter
hashCode int
The hash code for this object.
no setterinherited
label String
Short localized description of the item.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult immediate(ImmediateCartSummaryItem value), required TResult deferred(DeferredSummaryItem value), required TResult recurring(RecurringCartSummaryItem value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? immediate(ImmediateCartSummaryItem value)?, TResult? deferred(DeferredSummaryItem value)?, TResult? recurring(RecurringCartSummaryItem value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult immediate(ImmediateCartSummaryItem value)?, TResult deferred(DeferredSummaryItem value)?, TResult recurring(RecurringCartSummaryItem value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult immediate(String label, String amount, bool? isPending)?, TResult deferred(String label, String amount, int deferredDate)?, TResult recurring(String label, String amount, ApplePayIntervalUnit intervalUnit, int intervalCount, int? startDate, int? endDate)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this ApplePayCartSummaryItem to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult immediate(String label, String amount, bool? isPending), required TResult deferred(String label, String amount, int deferredDate), required TResult recurring(String label, String amount, ApplePayIntervalUnit intervalUnit, int intervalCount, int? startDate, int? endDate)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? immediate(String label, String amount, bool? isPending)?, TResult? deferred(String label, String amount, int deferredDate)?, TResult? recurring(String label, String amount, ApplePayIntervalUnit intervalUnit, int intervalCount, int? startDate, int? endDate)?}) → TResult?
inherited

Operators

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