@wix/ecom 1.0.770 → 1.0.771
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.771",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"@wix/ecom_additional-fees": "1.0.27",
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.51",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.36",
|
|
26
|
-
"@wix/ecom_cart": "1.0.
|
|
27
|
-
"@wix/ecom_checkout": "1.0.
|
|
26
|
+
"@wix/ecom_cart": "1.0.77",
|
|
27
|
+
"@wix/ecom_checkout": "1.0.87",
|
|
28
28
|
"@wix/ecom_checkout-content": "1.0.7",
|
|
29
29
|
"@wix/ecom_checkout-settings": "1.0.52",
|
|
30
|
-
"@wix/ecom_checkout-templates": "1.0.
|
|
30
|
+
"@wix/ecom_checkout-templates": "1.0.86",
|
|
31
31
|
"@wix/ecom_currencies": "1.0.37",
|
|
32
|
-
"@wix/ecom_current-cart": "1.0.
|
|
32
|
+
"@wix/ecom_current-cart": "1.0.77",
|
|
33
33
|
"@wix/ecom_custom-triggers": "1.0.25",
|
|
34
34
|
"@wix/ecom_delivery-profile": "1.0.20",
|
|
35
35
|
"@wix/ecom_discount-rules": "1.0.53",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@wix/ecom_order-transactions": "1.0.67",
|
|
46
46
|
"@wix/ecom_orders": "1.0.122",
|
|
47
47
|
"@wix/ecom_orders-settings": "1.0.46",
|
|
48
|
-
"@wix/ecom_payment-settings": "1.0.
|
|
48
|
+
"@wix/ecom_payment-settings": "1.0.46",
|
|
49
49
|
"@wix/ecom_pickup-locations": "1.0.9",
|
|
50
50
|
"@wix/ecom_recommendations": "1.0.42",
|
|
51
51
|
"@wix/ecom_recommendations-provider": "1.0.1",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"fqdn": ""
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
"falconPackageHash": "
|
|
81
|
+
"falconPackageHash": "f383fc278696d92cc5e078cc2fd99d8bee40075eb908180863f15a4a"
|
|
82
82
|
}
|
|
@@ -4436,6 +4436,12 @@ interface CatalogOverrideFields$3 {
|
|
|
4436
4436
|
physicalProperties?: PhysicalProperties$6;
|
|
4437
4437
|
/** Item image. */
|
|
4438
4438
|
image?: string;
|
|
4439
|
+
/**
|
|
4440
|
+
* Whether to save the payment method on the order.
|
|
4441
|
+
*
|
|
4442
|
+
* Default: `false`
|
|
4443
|
+
*/
|
|
4444
|
+
savePaymentMethod?: boolean | null;
|
|
4439
4445
|
}
|
|
4440
4446
|
interface TaxableAddress$6 extends TaxableAddressTaxableAddressDataOneOf$6 {
|
|
4441
4447
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -4716,6 +4722,30 @@ interface CustomLineItem$4 {
|
|
|
4716
4722
|
depositAmount?: string | null;
|
|
4717
4723
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
4718
4724
|
catalogReference?: CatalogReference$6;
|
|
4725
|
+
/**
|
|
4726
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
4727
|
+
*
|
|
4728
|
+
* Default: `false`
|
|
4729
|
+
*/
|
|
4730
|
+
priceUndetermined?: boolean;
|
|
4731
|
+
/**
|
|
4732
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
4733
|
+
*
|
|
4734
|
+
* Default: `false`
|
|
4735
|
+
*/
|
|
4736
|
+
fixedQuantity?: boolean;
|
|
4737
|
+
/**
|
|
4738
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
4739
|
+
* @readonly
|
|
4740
|
+
*/
|
|
4741
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
4742
|
+
/**
|
|
4743
|
+
* Whether to save the payment method on the order.
|
|
4744
|
+
*
|
|
4745
|
+
* Default: `false`
|
|
4746
|
+
* @readonly
|
|
4747
|
+
*/
|
|
4748
|
+
savePaymentMethod?: boolean;
|
|
4719
4749
|
}
|
|
4720
4750
|
interface UpdateCartResponse$1 {
|
|
4721
4751
|
/** Updated Cart. */
|
|
@@ -7084,6 +7114,12 @@ interface CatalogOverrideFields$2 {
|
|
|
7084
7114
|
physicalProperties?: PhysicalProperties$5;
|
|
7085
7115
|
/** Item image. */
|
|
7086
7116
|
image?: string;
|
|
7117
|
+
/**
|
|
7118
|
+
* Whether to save the payment method on the order.
|
|
7119
|
+
*
|
|
7120
|
+
* Default: `false`
|
|
7121
|
+
*/
|
|
7122
|
+
savePaymentMethod?: boolean | null;
|
|
7087
7123
|
}
|
|
7088
7124
|
interface TaxableAddress$5 extends TaxableAddressTaxableAddressDataOneOf$5 {
|
|
7089
7125
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -7364,6 +7400,30 @@ interface CustomLineItem$3 {
|
|
|
7364
7400
|
depositAmount?: string | null;
|
|
7365
7401
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
7366
7402
|
catalogReference?: CatalogReference$5;
|
|
7403
|
+
/**
|
|
7404
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7405
|
+
*
|
|
7406
|
+
* Default: `false`
|
|
7407
|
+
*/
|
|
7408
|
+
priceUndetermined?: boolean;
|
|
7409
|
+
/**
|
|
7410
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7411
|
+
*
|
|
7412
|
+
* Default: `false`
|
|
7413
|
+
*/
|
|
7414
|
+
fixedQuantity?: boolean;
|
|
7415
|
+
/**
|
|
7416
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
7417
|
+
* @readonly
|
|
7418
|
+
*/
|
|
7419
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
7420
|
+
/**
|
|
7421
|
+
* Whether to save the payment method on the order.
|
|
7422
|
+
*
|
|
7423
|
+
* Default: `false`
|
|
7424
|
+
* @readonly
|
|
7425
|
+
*/
|
|
7426
|
+
savePaymentMethod?: boolean;
|
|
7367
7427
|
}
|
|
7368
7428
|
interface UpdateCartResponse {
|
|
7369
7429
|
/** Updated Cart. */
|
|
@@ -9484,6 +9544,16 @@ interface LineItem$4 {
|
|
|
9484
9544
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
9485
9545
|
*/
|
|
9486
9546
|
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
9547
|
+
/**
|
|
9548
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9549
|
+
* @readonly
|
|
9550
|
+
*/
|
|
9551
|
+
priceUndetermined?: boolean;
|
|
9552
|
+
/**
|
|
9553
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9554
|
+
* @readonly
|
|
9555
|
+
*/
|
|
9556
|
+
fixedQuantity?: boolean;
|
|
9487
9557
|
/**
|
|
9488
9558
|
* Whether to save the payment method on the order.
|
|
9489
9559
|
*
|
|
@@ -9829,6 +9899,12 @@ interface CatalogOverrideFields$1 {
|
|
|
9829
9899
|
physicalProperties?: PhysicalProperties$4;
|
|
9830
9900
|
/** Item image. */
|
|
9831
9901
|
image?: string;
|
|
9902
|
+
/**
|
|
9903
|
+
* Whether to save the payment method on the order.
|
|
9904
|
+
*
|
|
9905
|
+
* Default: `false`
|
|
9906
|
+
*/
|
|
9907
|
+
savePaymentMethod?: boolean | null;
|
|
9832
9908
|
}
|
|
9833
9909
|
interface TaxableAddress$4 extends TaxableAddressTaxableAddressDataOneOf$4 {
|
|
9834
9910
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -10779,6 +10855,30 @@ interface CustomLineItem$2 {
|
|
|
10779
10855
|
depositAmount?: string | null;
|
|
10780
10856
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
10781
10857
|
catalogReference?: CatalogReference$4;
|
|
10858
|
+
/**
|
|
10859
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
10860
|
+
*
|
|
10861
|
+
* Default: `false`
|
|
10862
|
+
*/
|
|
10863
|
+
priceUndetermined?: boolean;
|
|
10864
|
+
/**
|
|
10865
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
10866
|
+
*
|
|
10867
|
+
* Default: `false`
|
|
10868
|
+
*/
|
|
10869
|
+
fixedQuantity?: boolean;
|
|
10870
|
+
/**
|
|
10871
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
10872
|
+
* @readonly
|
|
10873
|
+
*/
|
|
10874
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
10875
|
+
/**
|
|
10876
|
+
* Whether to save the payment method on the order.
|
|
10877
|
+
*
|
|
10878
|
+
* Default: `false`
|
|
10879
|
+
* @readonly
|
|
10880
|
+
*/
|
|
10881
|
+
savePaymentMethod?: boolean;
|
|
10782
10882
|
}
|
|
10783
10883
|
interface MerchantDiscountInput$1 {
|
|
10784
10884
|
/** Discount amount. */
|
|
@@ -10920,6 +11020,8 @@ interface RemoveLineItemsResponse {
|
|
|
10920
11020
|
interface CreateOrderRequest$1 {
|
|
10921
11021
|
/** Checkout ID. */
|
|
10922
11022
|
_id: string;
|
|
11023
|
+
/** Indicates the payment method should be saved on the order */
|
|
11024
|
+
savePaymentMethod?: boolean;
|
|
10923
11025
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10924
11026
|
delayCapture?: boolean;
|
|
10925
11027
|
}
|
|
@@ -10972,6 +11074,8 @@ interface CreateOrderAndChargeRequest {
|
|
|
10972
11074
|
_id?: string;
|
|
10973
11075
|
/** Payment token. */
|
|
10974
11076
|
paymentToken?: string | null;
|
|
11077
|
+
/** Indicates the payment method should be saved on the order */
|
|
11078
|
+
savePaymentMethod?: boolean;
|
|
10975
11079
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10976
11080
|
delayCapture?: boolean;
|
|
10977
11081
|
}
|
|
@@ -12286,6 +12390,8 @@ interface AddToCheckoutOptions {
|
|
|
12286
12390
|
customLineItems?: CustomLineItem$2[];
|
|
12287
12391
|
}
|
|
12288
12392
|
interface CreateOrderOptions {
|
|
12393
|
+
/** Indicates the payment method should be saved on the order */
|
|
12394
|
+
savePaymentMethod?: boolean;
|
|
12289
12395
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
12290
12396
|
delayCapture?: boolean;
|
|
12291
12397
|
}
|
|
@@ -13251,6 +13357,12 @@ interface CatalogOverrideFields {
|
|
|
13251
13357
|
physicalProperties?: PhysicalProperties$3;
|
|
13252
13358
|
/** Item image. */
|
|
13253
13359
|
image?: string;
|
|
13360
|
+
/**
|
|
13361
|
+
* Whether to save the payment method on the order.
|
|
13362
|
+
*
|
|
13363
|
+
* Default: `false`
|
|
13364
|
+
*/
|
|
13365
|
+
savePaymentMethod?: boolean | null;
|
|
13254
13366
|
}
|
|
13255
13367
|
interface ProductName$2 {
|
|
13256
13368
|
/**
|
|
@@ -13406,6 +13518,30 @@ interface CustomLineItem$1 {
|
|
|
13406
13518
|
depositAmount?: string | null;
|
|
13407
13519
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
13408
13520
|
catalogReference?: CatalogReference$3;
|
|
13521
|
+
/**
|
|
13522
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
13523
|
+
*
|
|
13524
|
+
* Default: `false`
|
|
13525
|
+
*/
|
|
13526
|
+
priceUndetermined?: boolean;
|
|
13527
|
+
/**
|
|
13528
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
13529
|
+
*
|
|
13530
|
+
* Default: `false`
|
|
13531
|
+
*/
|
|
13532
|
+
fixedQuantity?: boolean;
|
|
13533
|
+
/**
|
|
13534
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
13535
|
+
* @readonly
|
|
13536
|
+
*/
|
|
13537
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
13538
|
+
/**
|
|
13539
|
+
* Whether to save the payment method on the order.
|
|
13540
|
+
*
|
|
13541
|
+
* Default: `false`
|
|
13542
|
+
* @readonly
|
|
13543
|
+
*/
|
|
13544
|
+
savePaymentMethod?: boolean;
|
|
13409
13545
|
}
|
|
13410
13546
|
interface PriceDescription$2 {
|
|
13411
13547
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -13991,6 +14127,16 @@ interface LineItem$3 {
|
|
|
13991
14127
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
13992
14128
|
*/
|
|
13993
14129
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
14130
|
+
/**
|
|
14131
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
14132
|
+
* @readonly
|
|
14133
|
+
*/
|
|
14134
|
+
priceUndetermined?: boolean;
|
|
14135
|
+
/**
|
|
14136
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
14137
|
+
* @readonly
|
|
14138
|
+
*/
|
|
14139
|
+
fixedQuantity?: boolean;
|
|
13994
14140
|
/**
|
|
13995
14141
|
* Whether to save the payment method on the order.
|
|
13996
14142
|
*
|
|
@@ -4436,6 +4436,12 @@ interface CatalogOverrideFields$3 {
|
|
|
4436
4436
|
physicalProperties?: PhysicalProperties$6;
|
|
4437
4437
|
/** Item image. */
|
|
4438
4438
|
image?: string;
|
|
4439
|
+
/**
|
|
4440
|
+
* Whether to save the payment method on the order.
|
|
4441
|
+
*
|
|
4442
|
+
* Default: `false`
|
|
4443
|
+
*/
|
|
4444
|
+
savePaymentMethod?: boolean | null;
|
|
4439
4445
|
}
|
|
4440
4446
|
interface TaxableAddress$6 extends TaxableAddressTaxableAddressDataOneOf$6 {
|
|
4441
4447
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -4716,6 +4722,30 @@ interface CustomLineItem$4 {
|
|
|
4716
4722
|
depositAmount?: string | null;
|
|
4717
4723
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
4718
4724
|
catalogReference?: CatalogReference$6;
|
|
4725
|
+
/**
|
|
4726
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
4727
|
+
*
|
|
4728
|
+
* Default: `false`
|
|
4729
|
+
*/
|
|
4730
|
+
priceUndetermined?: boolean;
|
|
4731
|
+
/**
|
|
4732
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
4733
|
+
*
|
|
4734
|
+
* Default: `false`
|
|
4735
|
+
*/
|
|
4736
|
+
fixedQuantity?: boolean;
|
|
4737
|
+
/**
|
|
4738
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
4739
|
+
* @readonly
|
|
4740
|
+
*/
|
|
4741
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
4742
|
+
/**
|
|
4743
|
+
* Whether to save the payment method on the order.
|
|
4744
|
+
*
|
|
4745
|
+
* Default: `false`
|
|
4746
|
+
* @readonly
|
|
4747
|
+
*/
|
|
4748
|
+
savePaymentMethod?: boolean;
|
|
4719
4749
|
}
|
|
4720
4750
|
interface UpdateCartResponse$1 {
|
|
4721
4751
|
/** Updated Cart. */
|
|
@@ -7084,6 +7114,12 @@ interface CatalogOverrideFields$2 {
|
|
|
7084
7114
|
physicalProperties?: PhysicalProperties$5;
|
|
7085
7115
|
/** Item image. */
|
|
7086
7116
|
image?: string;
|
|
7117
|
+
/**
|
|
7118
|
+
* Whether to save the payment method on the order.
|
|
7119
|
+
*
|
|
7120
|
+
* Default: `false`
|
|
7121
|
+
*/
|
|
7122
|
+
savePaymentMethod?: boolean | null;
|
|
7087
7123
|
}
|
|
7088
7124
|
interface TaxableAddress$5 extends TaxableAddressTaxableAddressDataOneOf$5 {
|
|
7089
7125
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -7364,6 +7400,30 @@ interface CustomLineItem$3 {
|
|
|
7364
7400
|
depositAmount?: string | null;
|
|
7365
7401
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
7366
7402
|
catalogReference?: CatalogReference$5;
|
|
7403
|
+
/**
|
|
7404
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7405
|
+
*
|
|
7406
|
+
* Default: `false`
|
|
7407
|
+
*/
|
|
7408
|
+
priceUndetermined?: boolean;
|
|
7409
|
+
/**
|
|
7410
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7411
|
+
*
|
|
7412
|
+
* Default: `false`
|
|
7413
|
+
*/
|
|
7414
|
+
fixedQuantity?: boolean;
|
|
7415
|
+
/**
|
|
7416
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
7417
|
+
* @readonly
|
|
7418
|
+
*/
|
|
7419
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
7420
|
+
/**
|
|
7421
|
+
* Whether to save the payment method on the order.
|
|
7422
|
+
*
|
|
7423
|
+
* Default: `false`
|
|
7424
|
+
* @readonly
|
|
7425
|
+
*/
|
|
7426
|
+
savePaymentMethod?: boolean;
|
|
7367
7427
|
}
|
|
7368
7428
|
interface UpdateCartResponse {
|
|
7369
7429
|
/** Updated Cart. */
|
|
@@ -9484,6 +9544,16 @@ interface LineItem$4 {
|
|
|
9484
9544
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
9485
9545
|
*/
|
|
9486
9546
|
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
9547
|
+
/**
|
|
9548
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9549
|
+
* @readonly
|
|
9550
|
+
*/
|
|
9551
|
+
priceUndetermined?: boolean;
|
|
9552
|
+
/**
|
|
9553
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9554
|
+
* @readonly
|
|
9555
|
+
*/
|
|
9556
|
+
fixedQuantity?: boolean;
|
|
9487
9557
|
/**
|
|
9488
9558
|
* Whether to save the payment method on the order.
|
|
9489
9559
|
*
|
|
@@ -9829,6 +9899,12 @@ interface CatalogOverrideFields$1 {
|
|
|
9829
9899
|
physicalProperties?: PhysicalProperties$4;
|
|
9830
9900
|
/** Item image. */
|
|
9831
9901
|
image?: string;
|
|
9902
|
+
/**
|
|
9903
|
+
* Whether to save the payment method on the order.
|
|
9904
|
+
*
|
|
9905
|
+
* Default: `false`
|
|
9906
|
+
*/
|
|
9907
|
+
savePaymentMethod?: boolean | null;
|
|
9832
9908
|
}
|
|
9833
9909
|
interface TaxableAddress$4 extends TaxableAddressTaxableAddressDataOneOf$4 {
|
|
9834
9910
|
/** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
|
|
@@ -10779,6 +10855,30 @@ interface CustomLineItem$2 {
|
|
|
10779
10855
|
depositAmount?: string | null;
|
|
10780
10856
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
10781
10857
|
catalogReference?: CatalogReference$4;
|
|
10858
|
+
/**
|
|
10859
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
10860
|
+
*
|
|
10861
|
+
* Default: `false`
|
|
10862
|
+
*/
|
|
10863
|
+
priceUndetermined?: boolean;
|
|
10864
|
+
/**
|
|
10865
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
10866
|
+
*
|
|
10867
|
+
* Default: `false`
|
|
10868
|
+
*/
|
|
10869
|
+
fixedQuantity?: boolean;
|
|
10870
|
+
/**
|
|
10871
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
10872
|
+
* @readonly
|
|
10873
|
+
*/
|
|
10874
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
10875
|
+
/**
|
|
10876
|
+
* Whether to save the payment method on the order.
|
|
10877
|
+
*
|
|
10878
|
+
* Default: `false`
|
|
10879
|
+
* @readonly
|
|
10880
|
+
*/
|
|
10881
|
+
savePaymentMethod?: boolean;
|
|
10782
10882
|
}
|
|
10783
10883
|
interface MerchantDiscountInput$1 {
|
|
10784
10884
|
/** Discount amount. */
|
|
@@ -10920,6 +11020,8 @@ interface RemoveLineItemsResponse {
|
|
|
10920
11020
|
interface CreateOrderRequest$1 {
|
|
10921
11021
|
/** Checkout ID. */
|
|
10922
11022
|
_id: string;
|
|
11023
|
+
/** Indicates the payment method should be saved on the order */
|
|
11024
|
+
savePaymentMethod?: boolean;
|
|
10923
11025
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10924
11026
|
delayCapture?: boolean;
|
|
10925
11027
|
}
|
|
@@ -10972,6 +11074,8 @@ interface CreateOrderAndChargeRequest {
|
|
|
10972
11074
|
_id?: string;
|
|
10973
11075
|
/** Payment token. */
|
|
10974
11076
|
paymentToken?: string | null;
|
|
11077
|
+
/** Indicates the payment method should be saved on the order */
|
|
11078
|
+
savePaymentMethod?: boolean;
|
|
10975
11079
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
10976
11080
|
delayCapture?: boolean;
|
|
10977
11081
|
}
|
|
@@ -12286,6 +12390,8 @@ interface AddToCheckoutOptions {
|
|
|
12286
12390
|
customLineItems?: CustomLineItem$2[];
|
|
12287
12391
|
}
|
|
12288
12392
|
interface CreateOrderOptions {
|
|
12393
|
+
/** Indicates the payment method should be saved on the order */
|
|
12394
|
+
savePaymentMethod?: boolean;
|
|
12289
12395
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
12290
12396
|
delayCapture?: boolean;
|
|
12291
12397
|
}
|
|
@@ -13251,6 +13357,12 @@ interface CatalogOverrideFields {
|
|
|
13251
13357
|
physicalProperties?: PhysicalProperties$3;
|
|
13252
13358
|
/** Item image. */
|
|
13253
13359
|
image?: string;
|
|
13360
|
+
/**
|
|
13361
|
+
* Whether to save the payment method on the order.
|
|
13362
|
+
*
|
|
13363
|
+
* Default: `false`
|
|
13364
|
+
*/
|
|
13365
|
+
savePaymentMethod?: boolean | null;
|
|
13254
13366
|
}
|
|
13255
13367
|
interface ProductName$2 {
|
|
13256
13368
|
/**
|
|
@@ -13406,6 +13518,30 @@ interface CustomLineItem$1 {
|
|
|
13406
13518
|
depositAmount?: string | null;
|
|
13407
13519
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
13408
13520
|
catalogReference?: CatalogReference$3;
|
|
13521
|
+
/**
|
|
13522
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
13523
|
+
*
|
|
13524
|
+
* Default: `false`
|
|
13525
|
+
*/
|
|
13526
|
+
priceUndetermined?: boolean;
|
|
13527
|
+
/**
|
|
13528
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
13529
|
+
*
|
|
13530
|
+
* Default: `false`
|
|
13531
|
+
*/
|
|
13532
|
+
fixedQuantity?: boolean;
|
|
13533
|
+
/**
|
|
13534
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
13535
|
+
* @readonly
|
|
13536
|
+
*/
|
|
13537
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
13538
|
+
/**
|
|
13539
|
+
* Whether to save the payment method on the order.
|
|
13540
|
+
*
|
|
13541
|
+
* Default: `false`
|
|
13542
|
+
* @readonly
|
|
13543
|
+
*/
|
|
13544
|
+
savePaymentMethod?: boolean;
|
|
13409
13545
|
}
|
|
13410
13546
|
interface PriceDescription$2 {
|
|
13411
13547
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -13991,6 +14127,16 @@ interface LineItem$3 {
|
|
|
13991
14127
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
13992
14128
|
*/
|
|
13993
14129
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
14130
|
+
/**
|
|
14131
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
14132
|
+
* @readonly
|
|
14133
|
+
*/
|
|
14134
|
+
priceUndetermined?: boolean;
|
|
14135
|
+
/**
|
|
14136
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
14137
|
+
* @readonly
|
|
14138
|
+
*/
|
|
14139
|
+
fixedQuantity?: boolean;
|
|
13994
14140
|
/**
|
|
13995
14141
|
* Whether to save the payment method on the order.
|
|
13996
14142
|
*
|
|
@@ -3348,6 +3348,12 @@ interface CatalogOverrideFields$7 {
|
|
|
3348
3348
|
physicalProperties?: PhysicalProperties$d;
|
|
3349
3349
|
/** Item image. */
|
|
3350
3350
|
image?: Image$6;
|
|
3351
|
+
/**
|
|
3352
|
+
* Whether to save the payment method on the order.
|
|
3353
|
+
*
|
|
3354
|
+
* Default: `false`
|
|
3355
|
+
*/
|
|
3356
|
+
savePaymentMethod?: boolean | null;
|
|
3351
3357
|
}
|
|
3352
3358
|
interface Image$6 {
|
|
3353
3359
|
/** WixMedia image ID. */
|
|
@@ -3614,6 +3620,30 @@ interface CustomLineItem$9 {
|
|
|
3614
3620
|
depositAmount?: string | null;
|
|
3615
3621
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
3616
3622
|
catalogReference?: CatalogReference$d;
|
|
3623
|
+
/**
|
|
3624
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3625
|
+
*
|
|
3626
|
+
* Default: `false`
|
|
3627
|
+
*/
|
|
3628
|
+
priceUndetermined?: boolean;
|
|
3629
|
+
/**
|
|
3630
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3631
|
+
*
|
|
3632
|
+
* Default: `false`
|
|
3633
|
+
*/
|
|
3634
|
+
fixedQuantity?: boolean;
|
|
3635
|
+
/**
|
|
3636
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
3637
|
+
* @readonly
|
|
3638
|
+
*/
|
|
3639
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
3640
|
+
/**
|
|
3641
|
+
* Whether to save the payment method on the order.
|
|
3642
|
+
*
|
|
3643
|
+
* Default: `false`
|
|
3644
|
+
* @readonly
|
|
3645
|
+
*/
|
|
3646
|
+
savePaymentMethod?: boolean;
|
|
3617
3647
|
}
|
|
3618
3648
|
interface UpdateCartResponse$3 {
|
|
3619
3649
|
/** Updated Cart. */
|
|
@@ -5274,6 +5304,12 @@ interface CatalogOverrideFields$6 {
|
|
|
5274
5304
|
physicalProperties?: PhysicalProperties$c;
|
|
5275
5305
|
/** Item image. */
|
|
5276
5306
|
image?: string;
|
|
5307
|
+
/**
|
|
5308
|
+
* Whether to save the payment method on the order.
|
|
5309
|
+
*
|
|
5310
|
+
* Default: `false`
|
|
5311
|
+
*/
|
|
5312
|
+
savePaymentMethod?: boolean | null;
|
|
5277
5313
|
}
|
|
5278
5314
|
declare enum TaxableAddressType$a {
|
|
5279
5315
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -5522,6 +5558,30 @@ interface CustomLineItem$8 {
|
|
|
5522
5558
|
depositAmount?: string | null;
|
|
5523
5559
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
5524
5560
|
catalogReference?: CatalogReference$c;
|
|
5561
|
+
/**
|
|
5562
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
5563
|
+
*
|
|
5564
|
+
* Default: `false`
|
|
5565
|
+
*/
|
|
5566
|
+
priceUndetermined?: boolean;
|
|
5567
|
+
/**
|
|
5568
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
5569
|
+
*
|
|
5570
|
+
* Default: `false`
|
|
5571
|
+
*/
|
|
5572
|
+
fixedQuantity?: boolean;
|
|
5573
|
+
/**
|
|
5574
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
5575
|
+
* @readonly
|
|
5576
|
+
*/
|
|
5577
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
5578
|
+
/**
|
|
5579
|
+
* Whether to save the payment method on the order.
|
|
5580
|
+
*
|
|
5581
|
+
* Default: `false`
|
|
5582
|
+
* @readonly
|
|
5583
|
+
*/
|
|
5584
|
+
savePaymentMethod?: boolean;
|
|
5525
5585
|
}
|
|
5526
5586
|
interface UpdateCartResponse$2 {
|
|
5527
5587
|
/** Updated Cart. */
|
|
@@ -7280,6 +7340,12 @@ interface CatalogOverrideFields$5 {
|
|
|
7280
7340
|
physicalProperties?: PhysicalProperties$b;
|
|
7281
7341
|
/** Item image. */
|
|
7282
7342
|
image?: Image$5;
|
|
7343
|
+
/**
|
|
7344
|
+
* Whether to save the payment method on the order.
|
|
7345
|
+
*
|
|
7346
|
+
* Default: `false`
|
|
7347
|
+
*/
|
|
7348
|
+
savePaymentMethod?: boolean | null;
|
|
7283
7349
|
}
|
|
7284
7350
|
interface Image$5 {
|
|
7285
7351
|
/** WixMedia image ID. */
|
|
@@ -7552,6 +7618,30 @@ interface CustomLineItem$7 {
|
|
|
7552
7618
|
depositAmount?: string | null;
|
|
7553
7619
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
7554
7620
|
catalogReference?: CatalogReference$b;
|
|
7621
|
+
/**
|
|
7622
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7623
|
+
*
|
|
7624
|
+
* Default: `false`
|
|
7625
|
+
*/
|
|
7626
|
+
priceUndetermined?: boolean;
|
|
7627
|
+
/**
|
|
7628
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7629
|
+
*
|
|
7630
|
+
* Default: `false`
|
|
7631
|
+
*/
|
|
7632
|
+
fixedQuantity?: boolean;
|
|
7633
|
+
/**
|
|
7634
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
7635
|
+
* @readonly
|
|
7636
|
+
*/
|
|
7637
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
7638
|
+
/**
|
|
7639
|
+
* Whether to save the payment method on the order.
|
|
7640
|
+
*
|
|
7641
|
+
* Default: `false`
|
|
7642
|
+
* @readonly
|
|
7643
|
+
*/
|
|
7644
|
+
savePaymentMethod?: boolean;
|
|
7555
7645
|
}
|
|
7556
7646
|
interface UpdateCartResponse$1 {
|
|
7557
7647
|
/** Updated Cart. */
|
|
@@ -9166,6 +9256,12 @@ interface CatalogOverrideFields$4 {
|
|
|
9166
9256
|
physicalProperties?: PhysicalProperties$a;
|
|
9167
9257
|
/** Item image. */
|
|
9168
9258
|
image?: string;
|
|
9259
|
+
/**
|
|
9260
|
+
* Whether to save the payment method on the order.
|
|
9261
|
+
*
|
|
9262
|
+
* Default: `false`
|
|
9263
|
+
*/
|
|
9264
|
+
savePaymentMethod?: boolean | null;
|
|
9169
9265
|
}
|
|
9170
9266
|
declare enum TaxableAddressType$8 {
|
|
9171
9267
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -9420,6 +9516,30 @@ interface CustomLineItem$6 {
|
|
|
9420
9516
|
depositAmount?: string | null;
|
|
9421
9517
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
9422
9518
|
catalogReference?: CatalogReference$a;
|
|
9519
|
+
/**
|
|
9520
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9521
|
+
*
|
|
9522
|
+
* Default: `false`
|
|
9523
|
+
*/
|
|
9524
|
+
priceUndetermined?: boolean;
|
|
9525
|
+
/**
|
|
9526
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9527
|
+
*
|
|
9528
|
+
* Default: `false`
|
|
9529
|
+
*/
|
|
9530
|
+
fixedQuantity?: boolean;
|
|
9531
|
+
/**
|
|
9532
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
9533
|
+
* @readonly
|
|
9534
|
+
*/
|
|
9535
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
9536
|
+
/**
|
|
9537
|
+
* Whether to save the payment method on the order.
|
|
9538
|
+
*
|
|
9539
|
+
* Default: `false`
|
|
9540
|
+
* @readonly
|
|
9541
|
+
*/
|
|
9542
|
+
savePaymentMethod?: boolean;
|
|
9423
9543
|
}
|
|
9424
9544
|
interface UpdateCartResponse {
|
|
9425
9545
|
/** Updated Cart. */
|
|
@@ -10952,6 +11072,16 @@ interface LineItem$3 {
|
|
|
10952
11072
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
10953
11073
|
*/
|
|
10954
11074
|
catalogOverrideFields?: CatalogOverrideFields$3;
|
|
11075
|
+
/**
|
|
11076
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
11077
|
+
* @readonly
|
|
11078
|
+
*/
|
|
11079
|
+
priceUndetermined?: boolean;
|
|
11080
|
+
/**
|
|
11081
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
11082
|
+
* @readonly
|
|
11083
|
+
*/
|
|
11084
|
+
fixedQuantity?: boolean;
|
|
10955
11085
|
/**
|
|
10956
11086
|
* Whether to save the payment method on the order.
|
|
10957
11087
|
*
|
|
@@ -11241,6 +11371,12 @@ interface CatalogOverrideFields$3 {
|
|
|
11241
11371
|
physicalProperties?: PhysicalProperties$9;
|
|
11242
11372
|
/** Item image. */
|
|
11243
11373
|
image?: Image$4;
|
|
11374
|
+
/**
|
|
11375
|
+
* Whether to save the payment method on the order.
|
|
11376
|
+
*
|
|
11377
|
+
* Default: `false`
|
|
11378
|
+
*/
|
|
11379
|
+
savePaymentMethod?: boolean | null;
|
|
11244
11380
|
}
|
|
11245
11381
|
interface Image$4 {
|
|
11246
11382
|
/** WixMedia image ID. */
|
|
@@ -12149,6 +12285,30 @@ interface CustomLineItem$5 {
|
|
|
12149
12285
|
depositAmount?: string | null;
|
|
12150
12286
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
12151
12287
|
catalogReference?: CatalogReference$9;
|
|
12288
|
+
/**
|
|
12289
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
12290
|
+
*
|
|
12291
|
+
* Default: `false`
|
|
12292
|
+
*/
|
|
12293
|
+
priceUndetermined?: boolean;
|
|
12294
|
+
/**
|
|
12295
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
12296
|
+
*
|
|
12297
|
+
* Default: `false`
|
|
12298
|
+
*/
|
|
12299
|
+
fixedQuantity?: boolean;
|
|
12300
|
+
/**
|
|
12301
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
12302
|
+
* @readonly
|
|
12303
|
+
*/
|
|
12304
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
12305
|
+
/**
|
|
12306
|
+
* Whether to save the payment method on the order.
|
|
12307
|
+
*
|
|
12308
|
+
* Default: `false`
|
|
12309
|
+
* @readonly
|
|
12310
|
+
*/
|
|
12311
|
+
savePaymentMethod?: boolean;
|
|
12152
12312
|
}
|
|
12153
12313
|
interface CreateCheckoutResponse$1 {
|
|
12154
12314
|
/** Newly created checkout. */
|
|
@@ -12265,6 +12425,8 @@ interface RemoveLineItemsResponse$1 {
|
|
|
12265
12425
|
interface CreateOrderRequest$3 {
|
|
12266
12426
|
/** Checkout ID. */
|
|
12267
12427
|
id: string;
|
|
12428
|
+
/** Indicates the payment method should be saved on the order */
|
|
12429
|
+
savePaymentMethod?: boolean;
|
|
12268
12430
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
12269
12431
|
delayCapture?: boolean;
|
|
12270
12432
|
}
|
|
@@ -13118,6 +13280,16 @@ interface LineItem$2 {
|
|
|
13118
13280
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
13119
13281
|
*/
|
|
13120
13282
|
catalogOverrideFields?: CatalogOverrideFields$2;
|
|
13283
|
+
/**
|
|
13284
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
13285
|
+
* @readonly
|
|
13286
|
+
*/
|
|
13287
|
+
priceUndetermined?: boolean;
|
|
13288
|
+
/**
|
|
13289
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
13290
|
+
* @readonly
|
|
13291
|
+
*/
|
|
13292
|
+
fixedQuantity?: boolean;
|
|
13121
13293
|
/**
|
|
13122
13294
|
* Whether to save the payment method on the order.
|
|
13123
13295
|
*
|
|
@@ -13380,6 +13552,12 @@ interface CatalogOverrideFields$2 {
|
|
|
13380
13552
|
physicalProperties?: PhysicalProperties$8;
|
|
13381
13553
|
/** Item image. */
|
|
13382
13554
|
image?: string;
|
|
13555
|
+
/**
|
|
13556
|
+
* Whether to save the payment method on the order.
|
|
13557
|
+
*
|
|
13558
|
+
* Default: `false`
|
|
13559
|
+
*/
|
|
13560
|
+
savePaymentMethod?: boolean | null;
|
|
13383
13561
|
}
|
|
13384
13562
|
declare enum TaxableAddressType$6 {
|
|
13385
13563
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -14255,6 +14433,30 @@ interface CustomLineItem$4 {
|
|
|
14255
14433
|
depositAmount?: string | null;
|
|
14256
14434
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
14257
14435
|
catalogReference?: CatalogReference$8;
|
|
14436
|
+
/**
|
|
14437
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
14438
|
+
*
|
|
14439
|
+
* Default: `false`
|
|
14440
|
+
*/
|
|
14441
|
+
priceUndetermined?: boolean;
|
|
14442
|
+
/**
|
|
14443
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
14444
|
+
*
|
|
14445
|
+
* Default: `false`
|
|
14446
|
+
*/
|
|
14447
|
+
fixedQuantity?: boolean;
|
|
14448
|
+
/**
|
|
14449
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
14450
|
+
* @readonly
|
|
14451
|
+
*/
|
|
14452
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
14453
|
+
/**
|
|
14454
|
+
* Whether to save the payment method on the order.
|
|
14455
|
+
*
|
|
14456
|
+
* Default: `false`
|
|
14457
|
+
* @readonly
|
|
14458
|
+
*/
|
|
14459
|
+
savePaymentMethod?: boolean;
|
|
14258
14460
|
}
|
|
14259
14461
|
interface CreateCheckoutResponse {
|
|
14260
14462
|
/** Newly created checkout. */
|
|
@@ -14365,6 +14567,8 @@ interface RemoveLineItemsResponse {
|
|
|
14365
14567
|
interface CreateOrderRequest$2 {
|
|
14366
14568
|
/** Checkout ID. */
|
|
14367
14569
|
_id: string;
|
|
14570
|
+
/** Indicates the payment method should be saved on the order */
|
|
14571
|
+
savePaymentMethod?: boolean;
|
|
14368
14572
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
14369
14573
|
delayCapture?: boolean;
|
|
14370
14574
|
}
|
|
@@ -15552,6 +15756,12 @@ interface CatalogOverrideFields$1 {
|
|
|
15552
15756
|
physicalProperties?: PhysicalProperties$7;
|
|
15553
15757
|
/** Item image. */
|
|
15554
15758
|
image?: Image$3;
|
|
15759
|
+
/**
|
|
15760
|
+
* Whether to save the payment method on the order.
|
|
15761
|
+
*
|
|
15762
|
+
* Default: `false`
|
|
15763
|
+
*/
|
|
15764
|
+
savePaymentMethod?: boolean | null;
|
|
15555
15765
|
}
|
|
15556
15766
|
interface ProductName$5 {
|
|
15557
15767
|
/**
|
|
@@ -15719,6 +15929,30 @@ interface CustomLineItem$3 {
|
|
|
15719
15929
|
depositAmount?: string | null;
|
|
15720
15930
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
15721
15931
|
catalogReference?: CatalogReference$7;
|
|
15932
|
+
/**
|
|
15933
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
15934
|
+
*
|
|
15935
|
+
* Default: `false`
|
|
15936
|
+
*/
|
|
15937
|
+
priceUndetermined?: boolean;
|
|
15938
|
+
/**
|
|
15939
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
15940
|
+
*
|
|
15941
|
+
* Default: `false`
|
|
15942
|
+
*/
|
|
15943
|
+
fixedQuantity?: boolean;
|
|
15944
|
+
/**
|
|
15945
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
15946
|
+
* @readonly
|
|
15947
|
+
*/
|
|
15948
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
15949
|
+
/**
|
|
15950
|
+
* Whether to save the payment method on the order.
|
|
15951
|
+
*
|
|
15952
|
+
* Default: `false`
|
|
15953
|
+
* @readonly
|
|
15954
|
+
*/
|
|
15955
|
+
savePaymentMethod?: boolean;
|
|
15722
15956
|
}
|
|
15723
15957
|
interface PriceDescription$5 {
|
|
15724
15958
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -16215,6 +16449,12 @@ interface CatalogOverrideFields {
|
|
|
16215
16449
|
physicalProperties?: PhysicalProperties$6;
|
|
16216
16450
|
/** Item image. */
|
|
16217
16451
|
image?: string;
|
|
16452
|
+
/**
|
|
16453
|
+
* Whether to save the payment method on the order.
|
|
16454
|
+
*
|
|
16455
|
+
* Default: `false`
|
|
16456
|
+
*/
|
|
16457
|
+
savePaymentMethod?: boolean | null;
|
|
16218
16458
|
}
|
|
16219
16459
|
interface ProductName$4 {
|
|
16220
16460
|
/**
|
|
@@ -16370,6 +16610,30 @@ interface CustomLineItem$2 {
|
|
|
16370
16610
|
depositAmount?: string | null;
|
|
16371
16611
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
16372
16612
|
catalogReference?: CatalogReference$6;
|
|
16613
|
+
/**
|
|
16614
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
16615
|
+
*
|
|
16616
|
+
* Default: `false`
|
|
16617
|
+
*/
|
|
16618
|
+
priceUndetermined?: boolean;
|
|
16619
|
+
/**
|
|
16620
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
16621
|
+
*
|
|
16622
|
+
* Default: `false`
|
|
16623
|
+
*/
|
|
16624
|
+
fixedQuantity?: boolean;
|
|
16625
|
+
/**
|
|
16626
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
16627
|
+
* @readonly
|
|
16628
|
+
*/
|
|
16629
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
16630
|
+
/**
|
|
16631
|
+
* Whether to save the payment method on the order.
|
|
16632
|
+
*
|
|
16633
|
+
* Default: `false`
|
|
16634
|
+
* @readonly
|
|
16635
|
+
*/
|
|
16636
|
+
savePaymentMethod?: boolean;
|
|
16373
16637
|
}
|
|
16374
16638
|
interface PriceDescription$4 {
|
|
16375
16639
|
/** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
@@ -3948,6 +3948,16 @@ interface LineItem$1 {
|
|
|
3948
3948
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
3949
3949
|
*/
|
|
3950
3950
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
3951
|
+
/**
|
|
3952
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3953
|
+
* @readonly
|
|
3954
|
+
*/
|
|
3955
|
+
priceUndetermined?: boolean;
|
|
3956
|
+
/**
|
|
3957
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3958
|
+
* @readonly
|
|
3959
|
+
*/
|
|
3960
|
+
fixedQuantity?: boolean;
|
|
3951
3961
|
/**
|
|
3952
3962
|
* Whether to save the payment method on the order.
|
|
3953
3963
|
*
|
|
@@ -4138,6 +4148,12 @@ interface CatalogOverrideFields {
|
|
|
4138
4148
|
physicalProperties?: PhysicalProperties$1;
|
|
4139
4149
|
/** Item image. */
|
|
4140
4150
|
image?: string;
|
|
4151
|
+
/**
|
|
4152
|
+
* Whether to save the payment method on the order.
|
|
4153
|
+
*
|
|
4154
|
+
* Default: `false`
|
|
4155
|
+
*/
|
|
4156
|
+
savePaymentMethod?: boolean | null;
|
|
4141
4157
|
}
|
|
4142
4158
|
/** Billing Info and shipping details */
|
|
4143
4159
|
interface AddressWithContact$1 {
|
|
@@ -3948,6 +3948,16 @@ interface LineItem$1 {
|
|
|
3948
3948
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
3949
3949
|
*/
|
|
3950
3950
|
catalogOverrideFields?: CatalogOverrideFields;
|
|
3951
|
+
/**
|
|
3952
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3953
|
+
* @readonly
|
|
3954
|
+
*/
|
|
3955
|
+
priceUndetermined?: boolean;
|
|
3956
|
+
/**
|
|
3957
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3958
|
+
* @readonly
|
|
3959
|
+
*/
|
|
3960
|
+
fixedQuantity?: boolean;
|
|
3951
3961
|
/**
|
|
3952
3962
|
* Whether to save the payment method on the order.
|
|
3953
3963
|
*
|
|
@@ -4138,6 +4148,12 @@ interface CatalogOverrideFields {
|
|
|
4138
4148
|
physicalProperties?: PhysicalProperties$1;
|
|
4139
4149
|
/** Item image. */
|
|
4140
4150
|
image?: string;
|
|
4151
|
+
/**
|
|
4152
|
+
* Whether to save the payment method on the order.
|
|
4153
|
+
*
|
|
4154
|
+
* Default: `false`
|
|
4155
|
+
*/
|
|
4156
|
+
savePaymentMethod?: boolean | null;
|
|
4141
4157
|
}
|
|
4142
4158
|
/** Billing Info and shipping details */
|
|
4143
4159
|
interface AddressWithContact$1 {
|