Order

public protocol Order

Order protocol.

  • The order id.

    Declaration

    Swift

    var resourceId: String
  • The order date.

    Declaration

    Swift

    var orderDate: Date
  • The order last updated date.

    Declaration

    Swift

    var lastUpdated: Date
  • The order status.

    Declaration

    Swift

    var status: OrderStatusType
  • The tracking number for the order. Will only be present after the order has shipped if at all.

    Declaration

    Swift

    var trackingNumber: String
  • The order items count.

    Declaration

    Swift

    var itemCount: Int
  • The order items total count.

    Declaration

    Swift

    var itemTotalCount: Int
  • The order sub-total.

    Declaration

    Swift

    var subTotal: Float
  • tax

    The order tax.

    Declaration

    Swift

    var tax: Float
  • The order total adjustment.

    Declaration

    Swift

    var totalAdjustment: Float
  • The order total.

    Declaration

    Swift

    var total: Float