@marianmeres/collection-types 2.14.0 → 2.15.0
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/order.d.ts +7 -0
- package/package.json +1 -1
package/dist/order.d.ts
CHANGED
|
@@ -67,6 +67,13 @@ export interface OrderData {
|
|
|
67
67
|
billing_address?: AddressData;
|
|
68
68
|
/** Order notes */
|
|
69
69
|
notes?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Payment provider id stamped at checkout completion (e.g. `paypal`,
|
|
72
|
+
* `stripe`) — mirrors the invoice's `payment_method`. Empty/absent until
|
|
73
|
+
* the order is paid via checkout; an admin status flip does not set it, so
|
|
74
|
+
* renderers must treat "" as "unknown", never as "not paid".
|
|
75
|
+
*/
|
|
76
|
+
payment_method?: string;
|
|
70
77
|
/** Selected delivery option ID */
|
|
71
78
|
delivery_option_id?: string;
|
|
72
79
|
/** Delivery option snapshot at checkout time */
|