Interface OrderTransformations
Properties
cart
cart
: ((order
: { countryContext
?: string; orderNumber
?: string }, user
: User) => Promise<Order>)
Type declaration
-
- (order: { countryContext?: string; orderNumber?: string }, user: User): Promise<Order>
-
Parameters
-
order: { countryContext?: string; orderNumber?: string }
-
Optional
countryContext?: string
-
Optional
orderNumber?: string
-
Returns Promise<Order>
isCart
is
Cart
: ((order
: Order) => boolean)
Type declaration
-
- (order: Order): boolean
-
Returns boolean