PPPurchaseUnit class
- Annotations
-
- @freezed
Constructors
-
PPPurchaseUnit({String? referenceId, String? invoiceId, String? customId, String? softDescriptor, PPShipping? shipping, List<
PPItems> ? items, PPPayee? payee, @JsonKey(name: 'amount') required PPOrderAmount orderAmount}) -
constfactory
-
PPPurchaseUnit.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $PPPurchaseUnitCopyWith<
PPPurchaseUnit> -
no setterinherited
- customId → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoiceId → String?
-
no setterinherited
-
items
→ List<
PPItems> ? -
no setterinherited
- orderAmount → PPOrderAmount
-
no setterinherited
- payee → PPPayee?
-
no setterinherited
- referenceId → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shipping → PPShipping?
-
no setterinherited
- softDescriptor → String?
-
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