@plentymarkets/shop-api / orderConfirmationGetters
Variable: orderConfirmationGetters ​
constorderConfirmationGetters:object
Defined in: getters/orderConfirmationGetters.ts:22
Type Declaration ​
isOrderPaid ​
isOrderPaid: (
order) =>boolean
Returns whether the order has been paid (payment status is not "unpaid").
Parameters ​
order ​
The order object.
Returns ​
boolean
true if the payment status is anything other than "unpaid", otherwise false.
orderStatusValidForPayment ​
orderStatusValidForPayment: (
order) =>boolean
Returns whether the order status is valid for payment (status ID ≤ 3.4).
Parameters ​
order ​
The order object.
Returns ​
boolean
true if the status ID is at most 3.4, otherwise false.