ItemReceipt class
The item receipt body.
Constructors
-
ItemReceipt({String? code, ItemReceiptCreatedBy? createdBy, String? createdOn, String? href, String? id, ItemReceiptLastUpdatedBy? lastUpdatedBy, String? lastUpdatedOn, List<
ItemReceiptLine?> ? lines, String? object, ItemReceiptPurchaseOrder? purchaseOrder, String? receiptDate, String? receiptNote, String? receiptStatus, bool? receiveCompleted, String? status, String? trackingNumber, int? version}) -
const
Properties
- code → String?
-
final
- createdBy → ItemReceiptCreatedBy?
-
final
- createdOn → String?
-
final
- envelopeKey → String?
-
The key the API wraps this record in -
'account'for{"account": {...}}.readRecordunwraps it on the way in, toMap puts it back on the way out.no setteroverride -
fields
→ Map<
String, Object?> -
Every field this type declares, keyed by wire name, in the order it sends them.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- href → String?
-
final
- id → String?
-
final
- lastUpdatedBy → ItemReceiptLastUpdatedBy?
-
final
- lastUpdatedOn → String?
-
final
-
lines
→ List<
ItemReceiptLine?> ? -
final
- object → String?
-
final
- purchaseOrder → ItemReceiptPurchaseOrder?
-
final
- receiptDate → String?
-
final
- receiptNote → String?
-
final
- receiptStatus → String?
-
final
- receiveCompleted → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
final
-
topLevelFields
→ Set<
String> -
Fields that sit beside the envelope rather than inside it.
no setterinherited
- trackingNumber → String?
-
final
- version → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
The body this DTO stands for, envelope included.
inherited
-
toString(
) → String -
Set fields, values under a secret-named key masked.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Object? body) → ItemReceipt?