Item

public struct Item : Codable, Equatable

Struct representing Order Item related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • OrderItem Kind.

    Declaration

    Swift

    public var kind: String
  • OrderItem SubKind.

    Declaration

    Swift

    public var subkind: String
  • sku

    OrderItem SKU.

    Declaration

    Swift

    public var sku: String
  • upc

    OrderItem UPC.

    Declaration

    Swift

    public var upc: String
  • OrderItem Category.

    Declaration

    Swift

    public var category: [String]
  • OrderItem Name.

    Declaration

    Swift

    public var name: String
  • OrderItem Description.

    Declaration

    Swift

    public var description: String
  • OrderItem Line Number.

    Declaration

    Swift

    public var lineNumber: String
  • OrderItem Linked Line Number.

    Declaration

    Swift

    public var linkedLineNumber: String
  • OrderItem depth.

    Declaration

    Swift

    public var depth: Int
  • OrderItem Discountable.

    Declaration

    Swift

    public var discountable: Bool
  • OrderItem Base Price.

    Declaration

    Swift

    public var basePrice: String
  • OrderItem Weight.

    Declaration

    Swift

    public var weight: String
  • OrderItem Quantity.

    Declaration

    Swift

    public var quantity: String
  • OrderItem Amount.

    Declaration

    Swift

    public var amount: String
  • OrderItem Discount.

    Declaration

    Swift

    public var discount: String
  • OrderItem Net Price.

    Declaration

    Swift

    public var netPrice: String
  • OrderItem Created Date.

    Declaration

    Swift

    public var createdAt: String
  • OrderItem Updated Date.

    Declaration

    Swift

    public var updatedAt: String
  • Undocumented

    Declaration

    Swift

    public init(id: Int, kind: String, subkind: String, sku: String, upc: String,
                category: [String], name: String, description: String, lineNumber: String,
                linkedLineNumber: String, depth: Int, discountable: Bool, basePrice: String,
                weight: String, quantity: String, amount: String, discount: String,
                netPrice: String, createdAt: String, updatedAt: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws