-
The order detail resource id.
Declaration
Swift
public let resourceId: String -
The order date.
Declaration
Swift
public let orderDate: Date -
The last updated date.
Declaration
Swift
public let lastUpdated: Date -
The order status.
Declaration
Swift
public let status: OrderStatusType? -
The order item count.
Declaration
Swift
public let itemCount: Int -
The order item total count.
Declaration
Swift
public let itemTotalCount: Int -
The order subtotal.
Declaration
Swift
public let subTotal: Float -
The order total adjustments.
Declaration
Swift
public let totalAdjustment: Float -
The order tax calculation.
Declaration
Swift
public let tax: Float -
The order final total after adjustments.
Declaration
Swift
public let total: Float -
The order items.
Declaration
Swift
public let items: [CartItemType] -
The order shipping address.
Declaration
Swift
public let shippingAddress: AddressType? -
The order payment method.
Declaration
Swift
public let paymentMethod: PaymentMethodType? -
The order shipping option.
Declaration
Swift
public let shippingOption: ShippingOptionType? -
The order adjustments.
Declaration
Swift
public let adjustments: [AdjustmentType]
-
Declaration
Swift
public init?(json: JSON)Parameters
jsonJSON representation of object.
Return Value
New instance when JSON parsing successful, false otherwise.
PCFOrderDetail Struct Reference