platform-types 1.10.797 → 1.10.798
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/guestOrderStatus.d.ts +11 -0
- package/package.json +1 -1
|
@@ -80,6 +80,17 @@ declare global {
|
|
|
80
80
|
currency: string;
|
|
81
81
|
/** The store's name for the delivery method chosen, when it still resolves. */
|
|
82
82
|
deliveryMethodName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Present, and `true`, only when the order is meant to be paid online: the
|
|
85
|
+
* row of the store's CURRENT `paymentMethods` whose `id` is the order's
|
|
86
|
+
* payment method declares `storefront: 'mp-checkout-pro'` — the method rule
|
|
87
|
+
* the guest checkout mints `paymentGrant` on, without its payability
|
|
88
|
+
* gates, so a paid or cancelled online order still carries it. The order
|
|
89
|
+
* stores only the method id: a row re-typed after the order changes the
|
|
90
|
+
* answer. No grant and nothing payable is implied; absent on an order paid
|
|
91
|
+
* offline, or whose method row is gone.
|
|
92
|
+
*/
|
|
93
|
+
onlinePayment?: true;
|
|
83
94
|
/** The latest online payment attempt, when the order has one. */
|
|
84
95
|
paymentAttempt?: OrderPaymentAttemptView;
|
|
85
96
|
contact: {
|