PurchaseOrderLineRead class
The purchase order line read body.
Constructors
- PurchaseOrderLineRead({String? createdOn, double? flatDiscount, String? href, String? id, bool? isPriceTaxInclusive, bool? isTaxExempt, PurchaseOrderLineReadItem? item, PurchaseOrderLineReadItemAccountingCode? itemAccountingCode, double? itemDiscountAmount, String? itemExpectedCompletionDate, Object? itemInvoiceNote, PurchaseOrderLineReadItemPriceSnapshot? itemPriceSnapshot, PurchaseOrderLineReadItemPriceTax? itemPriceTax, bool? itemPriceTaxExempt, PurchaseOrderLineReadItemPurchaseAccountingCode? itemPurchaseAccountingCode, PurchaseOrderLineReadItemPurchaseTaxConfiguration? itemPurchaseTaxConfiguration, String? lastUpdatedOn, Object? line, String? name, String? object, double? price, Object? purchaseLineNote, int? quantity, int? sortIndex, String? status, String? subtotal, PurchaseOrderLineReadTax? tax, String? taxTotal, String? total, PurchaseOrderLineReadUom? uom, int? version, PurchaseOrderLineReadWarehouse? warehouse})
-
const
Properties
- 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
- flatDiscount → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- href → String?
-
final
- id → String?
-
final
- isPriceTaxInclusive → bool?
-
final
- isTaxExempt → bool?
-
final
- item → PurchaseOrderLineReadItem?
-
final
- itemAccountingCode → PurchaseOrderLineReadItemAccountingCode?
-
final
- itemDiscountAmount → double?
-
final
- itemExpectedCompletionDate → String?
-
final
- itemInvoiceNote → Object?
-
final
- itemPriceSnapshot → PurchaseOrderLineReadItemPriceSnapshot?
-
final
- itemPriceTax → PurchaseOrderLineReadItemPriceTax?
-
final
- itemPriceTaxExempt → bool?
-
final
- itemPurchaseAccountingCode → PurchaseOrderLineReadItemPurchaseAccountingCode?
-
final
- itemPurchaseTaxConfiguration → PurchaseOrderLineReadItemPurchaseTaxConfiguration?
-
final
- lastUpdatedOn → String?
-
final
- line → Object?
-
final
- name → String?
-
final
- object → String?
-
final
- price → double?
-
final
- purchaseLineNote → Object?
-
final
- quantity → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sortIndex → int?
-
final
- status → String?
-
final
- subtotal → String?
-
final
- tax → PurchaseOrderLineReadTax?
-
final
- taxTotal → String?
-
final
-
topLevelFields
→ Set<
String> -
Fields that sit beside the envelope rather than inside it.
no setterinherited
- total → String?
-
final
- uom → PurchaseOrderLineReadUom?
-
final
- version → int?
-
final
- warehouse → PurchaseOrderLineReadWarehouse?
-
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) → PurchaseOrderLineRead?