ShopOrderRefundLineItemsInner class

Constructors

ShopOrderRefundLineItemsInner({int? id, String? name, String? productId, int? variationId, int? quantity, String? taxClass, String? subtotal, String? subtotalTax, String? total, String? totalTax, List<ShopOrderRefundLineItemsInnerTaxesInner> taxes = const [], List<ShopCoupon1MetaDataInner> metaData = const [], String? sku, num? price, num? refundTotal})
Returns a new ShopOrderRefundLineItemsInner instance.

Properties

hashCode int
The hash code for this object.
no setteroverride
id int?
Item ID.
getter/setter pair
metaData List<ShopCoupon1MetaDataInner>
Meta data.
getter/setter pair
name String?
Product name.
getter/setter pair
price num?
Product price.
getter/setter pair
productId String?
Product ID.
getter/setter pair
quantity int?
Quantity ordered.
getter/setter pair
refundTotal num?
Amount that will be refunded for this line item (excluding taxes).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sku String?
Product SKU.
getter/setter pair
subtotal String?
Line subtotal (before discounts).
getter/setter pair
subtotalTax String?
Line subtotal tax (before discounts).
getter/setter pair
taxClass String?
Tax class of product.
getter/setter pair
taxes List<ShopOrderRefundLineItemsInnerTaxesInner>
Line taxes.
getter/setter pair
total String?
Line total (after discounts).
getter/setter pair
totalTax String?
Line total tax (after discounts).
getter/setter pair
variationId int?
Variation ID, if applicable.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) ShopOrderRefundLineItemsInner?
Returns a new ShopOrderRefundLineItemsInner instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<ShopOrderRefundLineItemsInner>
mapFromJson(dynamic json) Map<String, ShopOrderRefundLineItemsInner>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<ShopOrderRefundLineItemsInner>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.