PlatformPayWebPaymentItem class

Annotations
  • @freezed

Constructors

PlatformPayWebPaymentItem({required num amount, required String label, @Default(false) bool pending})
const
factory
PlatformPayWebPaymentItem.fromJson(Map<String, dynamic> json)
factory

Properties

amount num
The amount in the currency's subunit (e.g. cents, yen, etc.)
no setterinherited
copyWith → $PlatformPayWebPaymentItemCopyWith<PlatformPayWebPaymentItem>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
label String
A name that the browser shows the customer in the payment interface.
no setterinherited
pending bool
If you might change this amount later (for example, after you have calculated shipping costs), set this to true. Note that browsers treat this as a hint for how to display things, and not necessarily as something that will prevent submission.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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