Order
open class Order : Codable
Represents a Order in Moltin
-
This id of this order
Declaration
Swift
public let id: String -
The type of this object
Declaration
Swift
public let type: String -
incomplete / cancelled / complete
Declaration
Swift
public let status: String -
unpaid / authorized / paid / refunded
Declaration
Swift
public let payment: String -
fulfilled / unfulfilled
Declaration
Swift
public let shipping: String -
The customer for this order
Declaration
Swift
public let customer: Customer -
The shipping address for this order
Declaration
Swift
public let shippingAddress: Address -
The billing address for this order
Declaration
Swift
public let billingAddress: Address -
The external links for this order
Declaration
Swift
public let links: [String : String] -
The meta information for this order
Declaration
Swift
public let meta: OrderMeta -
The relationships for this order
Declaration
Swift
public let relationships: OrderRelationships?
View on GitHub
Order Class Reference