ImmediateCartSummaryItem class abstract

Implemented types

Constructors

ImmediateCartSummaryItem({required String label, required String amount, bool? isPending})
const
factory
ImmediateCartSummaryItem.fromJson(Map<String, dynamic> json)
factory

Properties

amount String
The monetary amount.
no setter
copyWith → _$$ImmediateCartSummaryItemImplCopyWith<_$ImmediateCartSummaryItemImpl>
no setter
hashCode int
The hash code for this object.
no setterinherited
isPending bool?
When creating items for estimates or charges whose final value is not yet known, set this to true.
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

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