RecurringCartSummaryItem class abstract

Implemented types

Constructors

RecurringCartSummaryItem({required String label, required String amount, required ApplePayIntervalUnit intervalUnit, required int intervalCount, int? startDate, int? endDate})
const
factory
RecurringCartSummaryItem.fromJson(Map<String, dynamic> json)
factory

Properties

amount String
The monetary amount.
no setter
copyWith → _$$RecurringCartSummaryItemImplCopyWith<_$RecurringCartSummaryItemImpl>
no setter
endDate int?
/The unix timestamp of the end date. Measured in seconds.
no setter
hashCode int
The hash code for this object.
no setterinherited
intervalCount int
The number of interval units that make up the total payment interval. For example, if you set the intervalUnit to 'month' and intervalCount to 3, then the payment interval is three months.
no setter
intervalUnit ApplePayIntervalUnit
The amount of time – in calendar units such as day, month, or year – that represents a fraction of the total payment interval. For example, if you set the intervalUnit to 'month' and intervalCount to 3, then the payment interval is three months.
no setter
label String
Short localized description of the item.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate int?
The unix timestamp of the start date. Measured in seconds.
no setter

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>
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