@wix/ecom 1.0.772 → 1.0.773
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.
|
@@ -3066,6 +3066,16 @@ interface LineItem$7 {
|
|
|
3066
3066
|
* @readonly
|
|
3067
3067
|
*/
|
|
3068
3068
|
consentRequiredPaymentPolicy?: string | null;
|
|
3069
|
+
/**
|
|
3070
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
3071
|
+
* @readonly
|
|
3072
|
+
*/
|
|
3073
|
+
priceUndetermined?: boolean;
|
|
3074
|
+
/**
|
|
3075
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
3076
|
+
* @readonly
|
|
3077
|
+
*/
|
|
3078
|
+
fixedQuantity?: boolean;
|
|
3069
3079
|
/**
|
|
3070
3080
|
* Overriding values for catalog item properties.
|
|
3071
3081
|
*
|
|
@@ -3338,6 +3348,12 @@ interface CatalogOverrideFields$7 {
|
|
|
3338
3348
|
physicalProperties?: PhysicalProperties$d;
|
|
3339
3349
|
/** Item image. */
|
|
3340
3350
|
image?: Image$6;
|
|
3351
|
+
/**
|
|
3352
|
+
* Whether to save the payment method on the order.
|
|
3353
|
+
*
|
|
3354
|
+
* Default: `false`
|
|
3355
|
+
*/
|
|
3356
|
+
savePaymentMethod?: boolean | null;
|
|
3341
3357
|
}
|
|
3342
3358
|
interface Image$6 {
|
|
3343
3359
|
/** WixMedia image ID. */
|
|
@@ -3604,6 +3620,30 @@ interface CustomLineItem$9 {
|
|
|
3604
3620
|
depositAmount?: string | null;
|
|
3605
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. */
|
|
3606
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;
|
|
3607
3647
|
}
|
|
3608
3648
|
interface UpdateCartResponse$3 {
|
|
3609
3649
|
/** Updated Cart. */
|
|
@@ -4380,6 +4420,18 @@ interface EstimateTotalsRequest$1 {
|
|
|
4380
4420
|
billingAddress?: Address$d;
|
|
4381
4421
|
/** The selected membership payment options and which line items they apply to. */
|
|
4382
4422
|
selectedMemberships?: SelectedMemberships$7;
|
|
4423
|
+
/**
|
|
4424
|
+
* Whether to calculate tax in the calculation request.
|
|
4425
|
+
*
|
|
4426
|
+
* Default: `true`
|
|
4427
|
+
*/
|
|
4428
|
+
calculateTax?: boolean | null;
|
|
4429
|
+
/**
|
|
4430
|
+
* Whether to calculate shipping in the calculation request.
|
|
4431
|
+
*
|
|
4432
|
+
* Default: `true`
|
|
4433
|
+
*/
|
|
4434
|
+
calculateShipping?: boolean | null;
|
|
4383
4435
|
}
|
|
4384
4436
|
interface DeleteCartRequest$1 {
|
|
4385
4437
|
/** ID of the cart to delete. */
|
|
@@ -5032,6 +5084,16 @@ interface LineItem$6 {
|
|
|
5032
5084
|
* @readonly
|
|
5033
5085
|
*/
|
|
5034
5086
|
consentRequiredPaymentPolicy?: string | null;
|
|
5087
|
+
/**
|
|
5088
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
5089
|
+
* @readonly
|
|
5090
|
+
*/
|
|
5091
|
+
priceUndetermined?: boolean;
|
|
5092
|
+
/**
|
|
5093
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
5094
|
+
* @readonly
|
|
5095
|
+
*/
|
|
5096
|
+
fixedQuantity?: boolean;
|
|
5035
5097
|
/**
|
|
5036
5098
|
* Overriding values for catalog item properties.
|
|
5037
5099
|
*
|
|
@@ -5254,6 +5316,12 @@ interface CatalogOverrideFields$6 {
|
|
|
5254
5316
|
physicalProperties?: PhysicalProperties$c;
|
|
5255
5317
|
/** Item image. */
|
|
5256
5318
|
image?: string;
|
|
5319
|
+
/**
|
|
5320
|
+
* Whether to save the payment method on the order.
|
|
5321
|
+
*
|
|
5322
|
+
* Default: `false`
|
|
5323
|
+
*/
|
|
5324
|
+
savePaymentMethod?: boolean | null;
|
|
5257
5325
|
}
|
|
5258
5326
|
declare enum TaxableAddressType$a {
|
|
5259
5327
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -5502,6 +5570,30 @@ interface CustomLineItem$8 {
|
|
|
5502
5570
|
depositAmount?: string | null;
|
|
5503
5571
|
/** 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. */
|
|
5504
5572
|
catalogReference?: CatalogReference$c;
|
|
5573
|
+
/**
|
|
5574
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
5575
|
+
*
|
|
5576
|
+
* Default: `false`
|
|
5577
|
+
*/
|
|
5578
|
+
priceUndetermined?: boolean;
|
|
5579
|
+
/**
|
|
5580
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
5581
|
+
*
|
|
5582
|
+
* Default: `false`
|
|
5583
|
+
*/
|
|
5584
|
+
fixedQuantity?: boolean;
|
|
5585
|
+
/**
|
|
5586
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
5587
|
+
* @readonly
|
|
5588
|
+
*/
|
|
5589
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
5590
|
+
/**
|
|
5591
|
+
* Whether to save the payment method on the order.
|
|
5592
|
+
*
|
|
5593
|
+
* Default: `false`
|
|
5594
|
+
* @readonly
|
|
5595
|
+
*/
|
|
5596
|
+
savePaymentMethod?: boolean;
|
|
5505
5597
|
}
|
|
5506
5598
|
interface UpdateCartResponse$2 {
|
|
5507
5599
|
/** Updated Cart. */
|
|
@@ -6287,6 +6379,18 @@ interface EstimateTotalsRequest {
|
|
|
6287
6379
|
billingAddress?: Address$c;
|
|
6288
6380
|
/** The selected membership payment options and which line items they apply to. */
|
|
6289
6381
|
selectedMemberships?: SelectedMemberships$6;
|
|
6382
|
+
/**
|
|
6383
|
+
* Whether to calculate tax in the calculation request.
|
|
6384
|
+
*
|
|
6385
|
+
* Default: `true`
|
|
6386
|
+
*/
|
|
6387
|
+
calculateTax?: boolean | null;
|
|
6388
|
+
/**
|
|
6389
|
+
* Whether to calculate shipping in the calculation request.
|
|
6390
|
+
*
|
|
6391
|
+
* Default: `true`
|
|
6392
|
+
*/
|
|
6393
|
+
calculateShipping?: boolean | null;
|
|
6290
6394
|
}
|
|
6291
6395
|
interface DeleteCartRequest {
|
|
6292
6396
|
/** ID of the cart to delete. */
|
|
@@ -6978,6 +7082,16 @@ interface LineItem$5 {
|
|
|
6978
7082
|
* @readonly
|
|
6979
7083
|
*/
|
|
6980
7084
|
consentRequiredPaymentPolicy?: string | null;
|
|
7085
|
+
/**
|
|
7086
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7087
|
+
* @readonly
|
|
7088
|
+
*/
|
|
7089
|
+
priceUndetermined?: boolean;
|
|
7090
|
+
/**
|
|
7091
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7092
|
+
* @readonly
|
|
7093
|
+
*/
|
|
7094
|
+
fixedQuantity?: boolean;
|
|
6981
7095
|
/**
|
|
6982
7096
|
* Overriding values for catalog item properties.
|
|
6983
7097
|
*
|
|
@@ -7250,6 +7364,12 @@ interface CatalogOverrideFields$5 {
|
|
|
7250
7364
|
physicalProperties?: PhysicalProperties$b;
|
|
7251
7365
|
/** Item image. */
|
|
7252
7366
|
image?: Image$5;
|
|
7367
|
+
/**
|
|
7368
|
+
* Whether to save the payment method on the order.
|
|
7369
|
+
*
|
|
7370
|
+
* Default: `false`
|
|
7371
|
+
*/
|
|
7372
|
+
savePaymentMethod?: boolean | null;
|
|
7253
7373
|
}
|
|
7254
7374
|
interface Image$5 {
|
|
7255
7375
|
/** WixMedia image ID. */
|
|
@@ -7522,6 +7642,30 @@ interface CustomLineItem$7 {
|
|
|
7522
7642
|
depositAmount?: string | null;
|
|
7523
7643
|
/** 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. */
|
|
7524
7644
|
catalogReference?: CatalogReference$b;
|
|
7645
|
+
/**
|
|
7646
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
7647
|
+
*
|
|
7648
|
+
* Default: `false`
|
|
7649
|
+
*/
|
|
7650
|
+
priceUndetermined?: boolean;
|
|
7651
|
+
/**
|
|
7652
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
7653
|
+
*
|
|
7654
|
+
* Default: `false`
|
|
7655
|
+
*/
|
|
7656
|
+
fixedQuantity?: boolean;
|
|
7657
|
+
/**
|
|
7658
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
7659
|
+
* @readonly
|
|
7660
|
+
*/
|
|
7661
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
7662
|
+
/**
|
|
7663
|
+
* Whether to save the payment method on the order.
|
|
7664
|
+
*
|
|
7665
|
+
* Default: `false`
|
|
7666
|
+
* @readonly
|
|
7667
|
+
*/
|
|
7668
|
+
savePaymentMethod?: boolean;
|
|
7525
7669
|
}
|
|
7526
7670
|
interface UpdateCartResponse$1 {
|
|
7527
7671
|
/** Updated Cart. */
|
|
@@ -8255,6 +8399,18 @@ interface EstimateCurrentCartTotalsRequest$1 {
|
|
|
8255
8399
|
billingAddress?: Address$b;
|
|
8256
8400
|
/** The selected membership payment options and which line items they apply to. */
|
|
8257
8401
|
selectedMemberships?: SelectedMemberships$5;
|
|
8402
|
+
/**
|
|
8403
|
+
* Whether to calculate tax in the calculation request.
|
|
8404
|
+
*
|
|
8405
|
+
* Default: `true`
|
|
8406
|
+
*/
|
|
8407
|
+
calculateTax?: boolean | null;
|
|
8408
|
+
/**
|
|
8409
|
+
* Whether to calculate shipping in the calculation request.
|
|
8410
|
+
*
|
|
8411
|
+
* Default: `true`
|
|
8412
|
+
*/
|
|
8413
|
+
calculateShipping?: boolean | null;
|
|
8258
8414
|
}
|
|
8259
8415
|
interface DeleteCurrentCartRequest$1 {
|
|
8260
8416
|
}
|
|
@@ -8904,6 +9060,16 @@ interface LineItem$4 {
|
|
|
8904
9060
|
* @readonly
|
|
8905
9061
|
*/
|
|
8906
9062
|
consentRequiredPaymentPolicy?: string | null;
|
|
9063
|
+
/**
|
|
9064
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9065
|
+
* @readonly
|
|
9066
|
+
*/
|
|
9067
|
+
priceUndetermined?: boolean;
|
|
9068
|
+
/**
|
|
9069
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9070
|
+
* @readonly
|
|
9071
|
+
*/
|
|
9072
|
+
fixedQuantity?: boolean;
|
|
8907
9073
|
/**
|
|
8908
9074
|
* Overriding values for catalog item properties.
|
|
8909
9075
|
*
|
|
@@ -9126,6 +9292,12 @@ interface CatalogOverrideFields$4 {
|
|
|
9126
9292
|
physicalProperties?: PhysicalProperties$a;
|
|
9127
9293
|
/** Item image. */
|
|
9128
9294
|
image?: string;
|
|
9295
|
+
/**
|
|
9296
|
+
* Whether to save the payment method on the order.
|
|
9297
|
+
*
|
|
9298
|
+
* Default: `false`
|
|
9299
|
+
*/
|
|
9300
|
+
savePaymentMethod?: boolean | null;
|
|
9129
9301
|
}
|
|
9130
9302
|
declare enum TaxableAddressType$8 {
|
|
9131
9303
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -9380,6 +9552,30 @@ interface CustomLineItem$6 {
|
|
|
9380
9552
|
depositAmount?: string | null;
|
|
9381
9553
|
/** 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. */
|
|
9382
9554
|
catalogReference?: CatalogReference$a;
|
|
9555
|
+
/**
|
|
9556
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
9557
|
+
*
|
|
9558
|
+
* Default: `false`
|
|
9559
|
+
*/
|
|
9560
|
+
priceUndetermined?: boolean;
|
|
9561
|
+
/**
|
|
9562
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
9563
|
+
*
|
|
9564
|
+
* Default: `false`
|
|
9565
|
+
*/
|
|
9566
|
+
fixedQuantity?: boolean;
|
|
9567
|
+
/**
|
|
9568
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
9569
|
+
* @readonly
|
|
9570
|
+
*/
|
|
9571
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
9572
|
+
/**
|
|
9573
|
+
* Whether to save the payment method on the order.
|
|
9574
|
+
*
|
|
9575
|
+
* Default: `false`
|
|
9576
|
+
* @readonly
|
|
9577
|
+
*/
|
|
9578
|
+
savePaymentMethod?: boolean;
|
|
9383
9579
|
}
|
|
9384
9580
|
interface UpdateCartResponse {
|
|
9385
9581
|
/** Updated Cart. */
|
|
@@ -10122,6 +10318,18 @@ interface EstimateCurrentCartTotalsRequest {
|
|
|
10122
10318
|
billingAddress?: Address$a;
|
|
10123
10319
|
/** The selected membership payment options and which line items they apply to. */
|
|
10124
10320
|
selectedMemberships?: SelectedMemberships$4;
|
|
10321
|
+
/**
|
|
10322
|
+
* Whether to calculate tax in the calculation request.
|
|
10323
|
+
*
|
|
10324
|
+
* Default: `true`
|
|
10325
|
+
*/
|
|
10326
|
+
calculateTax?: boolean | null;
|
|
10327
|
+
/**
|
|
10328
|
+
* Whether to calculate shipping in the calculation request.
|
|
10329
|
+
*
|
|
10330
|
+
* Default: `true`
|
|
10331
|
+
*/
|
|
10332
|
+
calculateShipping?: boolean | null;
|
|
10125
10333
|
}
|
|
10126
10334
|
interface DeleteCurrentCartRequest {
|
|
10127
10335
|
}
|
|
@@ -10912,6 +11120,16 @@ interface LineItem$3 {
|
|
|
10912
11120
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
10913
11121
|
*/
|
|
10914
11122
|
catalogOverrideFields?: CatalogOverrideFields$3;
|
|
11123
|
+
/**
|
|
11124
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
11125
|
+
* @readonly
|
|
11126
|
+
*/
|
|
11127
|
+
priceUndetermined?: boolean;
|
|
11128
|
+
/**
|
|
11129
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
11130
|
+
* @readonly
|
|
11131
|
+
*/
|
|
11132
|
+
fixedQuantity?: boolean;
|
|
10915
11133
|
/**
|
|
10916
11134
|
* Whether to save the payment method on the order.
|
|
10917
11135
|
*
|
|
@@ -11201,6 +11419,12 @@ interface CatalogOverrideFields$3 {
|
|
|
11201
11419
|
physicalProperties?: PhysicalProperties$9;
|
|
11202
11420
|
/** Item image. */
|
|
11203
11421
|
image?: Image$4;
|
|
11422
|
+
/**
|
|
11423
|
+
* Whether to save the payment method on the order.
|
|
11424
|
+
*
|
|
11425
|
+
* Default: `false`
|
|
11426
|
+
*/
|
|
11427
|
+
savePaymentMethod?: boolean | null;
|
|
11204
11428
|
}
|
|
11205
11429
|
interface Image$4 {
|
|
11206
11430
|
/** WixMedia image ID. */
|
|
@@ -12109,6 +12333,30 @@ interface CustomLineItem$5 {
|
|
|
12109
12333
|
depositAmount?: string | null;
|
|
12110
12334
|
/** 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. */
|
|
12111
12335
|
catalogReference?: CatalogReference$9;
|
|
12336
|
+
/**
|
|
12337
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
12338
|
+
*
|
|
12339
|
+
* Default: `false`
|
|
12340
|
+
*/
|
|
12341
|
+
priceUndetermined?: boolean;
|
|
12342
|
+
/**
|
|
12343
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
12344
|
+
*
|
|
12345
|
+
* Default: `false`
|
|
12346
|
+
*/
|
|
12347
|
+
fixedQuantity?: boolean;
|
|
12348
|
+
/**
|
|
12349
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
12350
|
+
* @readonly
|
|
12351
|
+
*/
|
|
12352
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
12353
|
+
/**
|
|
12354
|
+
* Whether to save the payment method on the order.
|
|
12355
|
+
*
|
|
12356
|
+
* Default: `false`
|
|
12357
|
+
* @readonly
|
|
12358
|
+
*/
|
|
12359
|
+
savePaymentMethod?: boolean;
|
|
12112
12360
|
}
|
|
12113
12361
|
interface CreateCheckoutResponse$1 {
|
|
12114
12362
|
/** Newly created checkout. */
|
|
@@ -12225,6 +12473,8 @@ interface RemoveLineItemsResponse$1 {
|
|
|
12225
12473
|
interface CreateOrderRequest$3 {
|
|
12226
12474
|
/** Checkout ID. */
|
|
12227
12475
|
id: string;
|
|
12476
|
+
/** Indicates the payment method should be saved on the order */
|
|
12477
|
+
savePaymentMethod?: boolean;
|
|
12228
12478
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
12229
12479
|
delayCapture?: boolean;
|
|
12230
12480
|
}
|
|
@@ -13078,6 +13328,16 @@ interface LineItem$2 {
|
|
|
13078
13328
|
* Learn more about [permission scopes](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
13079
13329
|
*/
|
|
13080
13330
|
catalogOverrideFields?: CatalogOverrideFields$2;
|
|
13331
|
+
/**
|
|
13332
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
13333
|
+
* @readonly
|
|
13334
|
+
*/
|
|
13335
|
+
priceUndetermined?: boolean;
|
|
13336
|
+
/**
|
|
13337
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
13338
|
+
* @readonly
|
|
13339
|
+
*/
|
|
13340
|
+
fixedQuantity?: boolean;
|
|
13081
13341
|
/**
|
|
13082
13342
|
* Whether to save the payment method on the order.
|
|
13083
13343
|
*
|
|
@@ -13340,6 +13600,12 @@ interface CatalogOverrideFields$2 {
|
|
|
13340
13600
|
physicalProperties?: PhysicalProperties$8;
|
|
13341
13601
|
/** Item image. */
|
|
13342
13602
|
image?: string;
|
|
13603
|
+
/**
|
|
13604
|
+
* Whether to save the payment method on the order.
|
|
13605
|
+
*
|
|
13606
|
+
* Default: `false`
|
|
13607
|
+
*/
|
|
13608
|
+
savePaymentMethod?: boolean | null;
|
|
13343
13609
|
}
|
|
13344
13610
|
declare enum TaxableAddressType$6 {
|
|
13345
13611
|
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
@@ -14215,6 +14481,30 @@ interface CustomLineItem$4 {
|
|
|
14215
14481
|
depositAmount?: string | null;
|
|
14216
14482
|
/** 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. */
|
|
14217
14483
|
catalogReference?: CatalogReference$8;
|
|
14484
|
+
/**
|
|
14485
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
14486
|
+
*
|
|
14487
|
+
* Default: `false`
|
|
14488
|
+
*/
|
|
14489
|
+
priceUndetermined?: boolean;
|
|
14490
|
+
/**
|
|
14491
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
14492
|
+
*
|
|
14493
|
+
* Default: `false`
|
|
14494
|
+
*/
|
|
14495
|
+
fixedQuantity?: boolean;
|
|
14496
|
+
/**
|
|
14497
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
14498
|
+
* @readonly
|
|
14499
|
+
*/
|
|
14500
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
14501
|
+
/**
|
|
14502
|
+
* Whether to save the payment method on the order.
|
|
14503
|
+
*
|
|
14504
|
+
* Default: `false`
|
|
14505
|
+
* @readonly
|
|
14506
|
+
*/
|
|
14507
|
+
savePaymentMethod?: boolean;
|
|
14218
14508
|
}
|
|
14219
14509
|
interface CreateCheckoutResponse {
|
|
14220
14510
|
/** Newly created checkout. */
|
|
@@ -14325,6 +14615,8 @@ interface RemoveLineItemsResponse {
|
|
|
14325
14615
|
interface CreateOrderRequest$2 {
|
|
14326
14616
|
/** Checkout ID. */
|
|
14327
14617
|
_id: string;
|
|
14618
|
+
/** Indicates the payment method should be saved on the order */
|
|
14619
|
+
savePaymentMethod?: boolean;
|
|
14328
14620
|
/** Indicates whether to authorize the payment and delay the capture */
|
|
14329
14621
|
delayCapture?: boolean;
|
|
14330
14622
|
}
|
|
@@ -15512,6 +15804,12 @@ interface CatalogOverrideFields$1 {
|
|
|
15512
15804
|
physicalProperties?: PhysicalProperties$7;
|
|
15513
15805
|
/** Item image. */
|
|
15514
15806
|
image?: Image$3;
|
|
15807
|
+
/**
|
|
15808
|
+
* Whether to save the payment method on the order.
|
|
15809
|
+
*
|
|
15810
|
+
* Default: `false`
|
|
15811
|
+
*/
|
|
15812
|
+
savePaymentMethod?: boolean | null;
|
|
15515
15813
|
}
|
|
15516
15814
|
interface ProductName$5 {
|
|
15517
15815
|
/**
|
|
@@ -15679,6 +15977,30 @@ interface CustomLineItem$3 {
|
|
|
15679
15977
|
depositAmount?: string | null;
|
|
15680
15978
|
/** 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. */
|
|
15681
15979
|
catalogReference?: CatalogReference$7;
|
|
15980
|
+
/**
|
|
15981
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
15982
|
+
*
|
|
15983
|
+
* Default: `false`
|
|
15984
|
+
*/
|
|
15985
|
+
priceUndetermined?: boolean;
|
|
15986
|
+
/**
|
|
15987
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
15988
|
+
*
|
|
15989
|
+
* Default: `false`
|
|
15990
|
+
*/
|
|
15991
|
+
fixedQuantity?: boolean;
|
|
15992
|
+
/**
|
|
15993
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
15994
|
+
* @readonly
|
|
15995
|
+
*/
|
|
15996
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
15997
|
+
/**
|
|
15998
|
+
* Whether to save the payment method on the order.
|
|
15999
|
+
*
|
|
16000
|
+
* Default: `false`
|
|
16001
|
+
* @readonly
|
|
16002
|
+
*/
|
|
16003
|
+
savePaymentMethod?: boolean;
|
|
15682
16004
|
}
|
|
15683
16005
|
interface PriceDescription$5 {
|
|
15684
16006
|
/** __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). */
|
|
@@ -16175,6 +16497,12 @@ interface CatalogOverrideFields {
|
|
|
16175
16497
|
physicalProperties?: PhysicalProperties$6;
|
|
16176
16498
|
/** Item image. */
|
|
16177
16499
|
image?: string;
|
|
16500
|
+
/**
|
|
16501
|
+
* Whether to save the payment method on the order.
|
|
16502
|
+
*
|
|
16503
|
+
* Default: `false`
|
|
16504
|
+
*/
|
|
16505
|
+
savePaymentMethod?: boolean | null;
|
|
16178
16506
|
}
|
|
16179
16507
|
interface ProductName$4 {
|
|
16180
16508
|
/**
|
|
@@ -16330,6 +16658,30 @@ interface CustomLineItem$2 {
|
|
|
16330
16658
|
depositAmount?: string | null;
|
|
16331
16659
|
/** 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. */
|
|
16332
16660
|
catalogReference?: CatalogReference$6;
|
|
16661
|
+
/**
|
|
16662
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
16663
|
+
*
|
|
16664
|
+
* Default: `false`
|
|
16665
|
+
*/
|
|
16666
|
+
priceUndetermined?: boolean;
|
|
16667
|
+
/**
|
|
16668
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
16669
|
+
*
|
|
16670
|
+
* Default: `false`
|
|
16671
|
+
*/
|
|
16672
|
+
fixedQuantity?: boolean;
|
|
16673
|
+
/**
|
|
16674
|
+
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
16675
|
+
* @readonly
|
|
16676
|
+
*/
|
|
16677
|
+
consentRequiredPaymentPolicy?: string | null;
|
|
16678
|
+
/**
|
|
16679
|
+
* Whether to save the payment method on the order.
|
|
16680
|
+
*
|
|
16681
|
+
* Default: `false`
|
|
16682
|
+
* @readonly
|
|
16683
|
+
*/
|
|
16684
|
+
savePaymentMethod?: boolean;
|
|
16333
16685
|
}
|
|
16334
16686
|
interface PriceDescription$4 {
|
|
16335
16687
|
/** __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 {
|