OrderDetail
public protocol OrderDetail
OrderDetail protocol.
-
The order detail resource id.
Declaration
Swift
var resourceId: String
-
The order date.
Declaration
Swift
var orderDate: Date
-
The last updated date.
Declaration
Swift
var lastUpdated: Date
-
The order status.
Declaration
Swift
var status: OrderStatusType?
-
The order item count.
Declaration
Swift
var itemCount: Int
-
The order item total count.
Declaration
Swift
var itemTotalCount: Int
-
The order subtotal.
Declaration
Swift
var subTotal: Float
-
The order total adjustments.
Declaration
Swift
var totalAdjustment: Float
-
The order tax calculation.
Declaration
Swift
var tax: Float
-
The order final total after adjustments.
Declaration
Swift
var total: Float
-
The order items.
Declaration
Swift
var items: [CartItemType]
-
The order shipping address.
Declaration
Swift
var shippingAddress: AddressType?
-
The order payment method.
Declaration
Swift
var paymentMethod: PaymentMethodType?
-
The order shipping option.
Declaration
Swift
var shippingOption: ShippingOptionType?
-
The order adjustments.
Declaration
Swift
var adjustments: [AdjustmentType]