@silexpert/core 0.4.43 → 0.4.46
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/es/api/resources/dashboard.d.ts +6 -3
- package/es/api/resources/dashboard.d.ts.map +1 -1
- package/es/api/resources/dashboard.js +12 -2
- package/es/api/resources/dashboard.js.map +1 -1
- package/es/types/Enum/ShopifyFinancialStatus.d.ts +2 -0
- package/es/types/Enum/ShopifyFinancialStatus.d.ts.map +1 -0
- package/es/types/Enum/ShopifyFinancialStatus.js +2 -0
- package/es/types/Enum/ShopifyFinancialStatus.js.map +1 -0
- package/es/types/Enum/StockType.js +1 -1
- package/es/types/Enum/StockType.js.map +1 -1
- package/es/types/Enum/TransactionKind.d.ts +2 -0
- package/es/types/Enum/TransactionKind.d.ts.map +1 -0
- package/es/types/Enum/TransactionKind.js +2 -0
- package/es/types/Enum/TransactionKind.js.map +1 -0
- package/es/types/Enum/TransactionStatus.d.ts +2 -0
- package/es/types/Enum/TransactionStatus.d.ts.map +1 -0
- package/es/types/Enum/TransactionStatus.js +2 -0
- package/es/types/Enum/TransactionStatus.js.map +1 -0
- package/es/types/Interface/api/crisp/GetCrisp.d.ts +42 -0
- package/es/types/Interface/api/crisp/GetCrisp.d.ts.map +1 -0
- package/es/types/Interface/api/crisp/GetCrisp.js +2 -0
- package/es/types/Interface/api/crisp/GetCrisp.js.map +1 -0
- package/es/types/Interface/api/dashboard/QueryTopBuys.d.ts +5 -0
- package/es/types/Interface/api/dashboard/QueryTopBuys.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/QueryTopBuys.js +21 -0
- package/es/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -0
- package/es/types/Interface/api/dashboard/QueryTopProviders.d.ts +5 -0
- package/es/types/Interface/api/dashboard/QueryTopProviders.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/QueryTopProviders.js +21 -0
- package/es/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -0
- package/es/types/Interface/api/dashboard/QueryVat.d.ts +5 -0
- package/es/types/Interface/api/dashboard/QueryVat.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/QueryVat.js +21 -0
- package/es/types/Interface/api/dashboard/QueryVat.js.map +1 -0
- package/es/types/Interface/api/dashboard/{ResultBalanceBankAccount.d.ts → ReadBalanceBankAccount.d.ts} +2 -2
- package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.js +5 -0
- package/es/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -0
- package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts +6 -0
- package/es/types/Interface/api/dashboard/ReadTopBuys.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/ReadTopBuys.js +3 -0
- package/es/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -0
- package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts +6 -0
- package/es/types/Interface/api/dashboard/ReadTopProviders.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/ReadTopProviders.js +3 -0
- package/es/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -0
- package/es/types/Interface/api/dashboard/{ResultTurnOverProfitAndLoss.d.ts → ReadTurnOverProfitAndLoss.d.ts} +2 -2
- package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js +7 -0
- package/es/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +1 -0
- package/es/types/Interface/api/dashboard/ReadVat.d.ts +11 -0
- package/es/types/Interface/api/dashboard/ReadVat.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/ReadVat.js +5 -0
- package/es/types/Interface/api/dashboard/ReadVat.js.map +1 -0
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts +22 -20
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts.map +1 -1
- package/es/types/Interface/api/pdf/BillingDocumentData.js.map +1 -1
- package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts +5 -0
- package/es/types/Interface/api/shopify/ImportInvoicesShopify.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/ImportInvoicesShopify.js +21 -0
- package/es/types/Interface/api/shopify/ImportInvoicesShopify.js.map +1 -0
- package/es/types/Interface/api/shopify/ShopifyOrder.d.ts +366 -0
- package/es/types/Interface/api/shopify/ShopifyOrder.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/ShopifyOrder.js +2 -0
- package/es/types/Interface/api/shopify/ShopifyOrder.js.map +1 -0
- package/es/types/Interface/api/shopify/address.d.ts +72 -0
- package/es/types/Interface/api/shopify/address.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/address.js +2 -0
- package/es/types/Interface/api/shopify/address.js.map +1 -0
- package/es/types/Interface/api/shopify/base.d.ts +11 -0
- package/es/types/Interface/api/shopify/base.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/base.js +2 -0
- package/es/types/Interface/api/shopify/base.js.map +1 -0
- package/es/types/Interface/api/shopify/client_details.d.ts +28 -0
- package/es/types/Interface/api/shopify/client_details.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/client_details.js +2 -0
- package/es/types/Interface/api/shopify/client_details.js.map +1 -0
- package/es/types/Interface/api/shopify/customer.d.ts +99 -0
- package/es/types/Interface/api/shopify/customer.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/customer.js +2 -0
- package/es/types/Interface/api/shopify/customer.js.map +1 -0
- package/es/types/Interface/api/shopify/discount_allocation.d.ts +17 -0
- package/es/types/Interface/api/shopify/discount_allocation.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/discount_allocation.js +2 -0
- package/es/types/Interface/api/shopify/discount_allocation.js.map +1 -0
- package/es/types/Interface/api/shopify/discount_application.d.ts +74 -0
- package/es/types/Interface/api/shopify/discount_application.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/discount_application.js +2 -0
- package/es/types/Interface/api/shopify/discount_application.js.map +1 -0
- package/es/types/Interface/api/shopify/discount_code.d.ts +16 -0
- package/es/types/Interface/api/shopify/discount_code.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/discount_code.js +2 -0
- package/es/types/Interface/api/shopify/discount_code.js.map +1 -0
- package/es/types/Interface/api/shopify/fulfillment.d.ts +93 -0
- package/es/types/Interface/api/shopify/fulfillment.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/fulfillment.js +2 -0
- package/es/types/Interface/api/shopify/fulfillment.js.map +1 -0
- package/es/types/Interface/api/shopify/line_item.d.ts +126 -0
- package/es/types/Interface/api/shopify/line_item.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/line_item.js +2 -0
- package/es/types/Interface/api/shopify/line_item.js.map +1 -0
- package/es/types/Interface/api/shopify/line_item_property.d.ts +12 -0
- package/es/types/Interface/api/shopify/line_item_property.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/line_item_property.js +2 -0
- package/es/types/Interface/api/shopify/line_item_property.js.map +1 -0
- package/es/types/Interface/api/shopify/location.d.ts +57 -0
- package/es/types/Interface/api/shopify/location.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/location.js +2 -0
- package/es/types/Interface/api/shopify/location.js.map +1 -0
- package/es/types/Interface/api/shopify/note_attribute.d.ts +11 -0
- package/es/types/Interface/api/shopify/note_attribute.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/note_attribute.js +2 -0
- package/es/types/Interface/api/shopify/note_attribute.js.map +1 -0
- package/es/types/Interface/api/shopify/payment_details.d.ts +9 -0
- package/es/types/Interface/api/shopify/payment_details.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/payment_details.js +2 -0
- package/es/types/Interface/api/shopify/payment_details.js.map +1 -0
- package/es/types/Interface/api/shopify/price_set.d.ts +11 -0
- package/es/types/Interface/api/shopify/price_set.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/price_set.js +2 -0
- package/es/types/Interface/api/shopify/price_set.js.map +1 -0
- package/es/types/Interface/api/shopify/refund.d.ts +140 -0
- package/es/types/Interface/api/shopify/refund.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/refund.js +2 -0
- package/es/types/Interface/api/shopify/refund.js.map +1 -0
- package/es/types/Interface/api/shopify/shipping_line.d.ts +59 -0
- package/es/types/Interface/api/shopify/shipping_line.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/shipping_line.js +2 -0
- package/es/types/Interface/api/shopify/shipping_line.js.map +1 -0
- package/es/types/Interface/api/shopify/tax_line.d.ts +22 -0
- package/es/types/Interface/api/shopify/tax_line.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/tax_line.js +2 -0
- package/es/types/Interface/api/shopify/tax_line.js.map +1 -0
- package/es/types/Interface/api/shopify/transaction.d.ts +103 -0
- package/es/types/Interface/api/shopify/transaction.d.ts.map +1 -0
- package/es/types/Interface/api/shopify/transaction.js +2 -0
- package/es/types/Interface/api/shopify/transaction.js.map +1 -0
- package/es/types/Interface/models/IAccountingFile.d.ts +1 -1
- package/es/types/Interface/models/IAccountingFile.js.map +1 -1
- package/es/types/Interface/models/IEngagementAccountingFile.d.ts +1 -1
- package/es/types/Interface/models/IEngagementAccountingFile.js.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.d.ts +29 -29
- package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/es/types/index.d.ts +12 -2
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +12 -2
- package/es/types/index.js.map +1 -1
- package/js/api/resources/dashboard.js +22 -2
- package/js/api/resources/dashboard.js.map +1 -1
- package/js/types/Enum/ShopifyFinancialStatus.js +6 -0
- package/js/types/Enum/ShopifyFinancialStatus.js.map +1 -0
- package/js/types/Enum/StockType.js +1 -1
- package/js/types/Enum/StockType.js.map +1 -1
- package/js/types/Enum/TransactionKind.js +6 -0
- package/js/types/Enum/TransactionKind.js.map +1 -0
- package/js/types/Enum/TransactionStatus.js +6 -0
- package/js/types/Enum/TransactionStatus.js.map +1 -0
- package/js/types/Interface/api/crisp/GetCrisp.js +6 -0
- package/js/types/Interface/api/crisp/GetCrisp.js.map +1 -0
- package/js/types/Interface/api/dashboard/QueryTopBuys.js +29 -0
- package/js/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -0
- package/js/types/Interface/api/dashboard/QueryTopProviders.js +29 -0
- package/js/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -0
- package/js/types/Interface/api/dashboard/QueryVat.js +29 -0
- package/js/types/Interface/api/dashboard/QueryVat.js.map +1 -0
- package/js/types/Interface/api/dashboard/ReadBalanceBankAccount.js +14 -0
- package/js/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -0
- package/js/types/Interface/api/dashboard/ReadTopBuys.js +10 -0
- package/js/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -0
- package/js/types/Interface/api/dashboard/ReadTopProviders.js +10 -0
- package/js/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -0
- package/js/types/Interface/api/dashboard/{ResultTurnOverProfitAndLoss.js → ReadTurnOverProfitAndLoss.js} +3 -3
- package/js/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +1 -0
- package/js/types/Interface/api/dashboard/ReadVat.js +14 -0
- package/js/types/Interface/api/dashboard/ReadVat.js.map +1 -0
- package/js/types/Interface/api/shopify/ImportInvoicesShopify.js +29 -0
- package/js/types/Interface/api/shopify/ImportInvoicesShopify.js.map +1 -0
- package/js/types/Interface/api/shopify/ShopifyOrder.js +6 -0
- package/js/types/Interface/api/shopify/ShopifyOrder.js.map +1 -0
- package/js/types/Interface/api/shopify/address.js +6 -0
- package/js/types/Interface/api/shopify/address.js.map +1 -0
- package/js/types/Interface/api/shopify/base.js +6 -0
- package/js/types/Interface/api/shopify/base.js.map +1 -0
- package/js/types/Interface/api/shopify/client_details.js +6 -0
- package/js/types/Interface/api/shopify/client_details.js.map +1 -0
- package/js/types/Interface/api/shopify/customer.js +6 -0
- package/js/types/Interface/api/shopify/customer.js.map +1 -0
- package/js/types/Interface/api/shopify/discount_allocation.js +6 -0
- package/js/types/Interface/api/shopify/discount_allocation.js.map +1 -0
- package/js/types/Interface/api/shopify/discount_application.js +6 -0
- package/js/types/Interface/api/shopify/discount_application.js.map +1 -0
- package/js/types/Interface/api/shopify/discount_code.js +6 -0
- package/js/types/Interface/api/shopify/discount_code.js.map +1 -0
- package/js/types/Interface/api/shopify/fulfillment.js +6 -0
- package/js/types/Interface/api/shopify/fulfillment.js.map +1 -0
- package/js/types/Interface/api/shopify/line_item.js +6 -0
- package/js/types/Interface/api/shopify/line_item.js.map +1 -0
- package/js/types/Interface/api/shopify/line_item_property.js +6 -0
- package/js/types/Interface/api/shopify/line_item_property.js.map +1 -0
- package/js/types/Interface/api/shopify/location.js +6 -0
- package/js/types/Interface/api/shopify/location.js.map +1 -0
- package/js/types/Interface/api/shopify/note_attribute.js +6 -0
- package/js/types/Interface/api/shopify/note_attribute.js.map +1 -0
- package/js/types/Interface/api/shopify/payment_details.js +6 -0
- package/js/types/Interface/api/shopify/payment_details.js.map +1 -0
- package/js/types/Interface/api/shopify/price_set.js +6 -0
- package/js/types/Interface/api/shopify/price_set.js.map +1 -0
- package/js/types/Interface/api/shopify/refund.js +6 -0
- package/js/types/Interface/api/shopify/refund.js.map +1 -0
- package/js/types/Interface/api/shopify/shipping_line.js +6 -0
- package/js/types/Interface/api/shopify/shipping_line.js.map +1 -0
- package/js/types/Interface/api/shopify/tax_line.js +6 -0
- package/js/types/Interface/api/shopify/tax_line.js.map +1 -0
- package/js/types/Interface/api/shopify/transaction.js +6 -0
- package/js/types/Interface/api/shopify/transaction.js.map +1 -0
- package/js/types/index.js +126 -6
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/dashboard.ts +32 -6
- package/ts/types/Enum/ShopifyFinancialStatus.ts +11 -0
- package/ts/types/Enum/StockType.ts +1 -1
- package/ts/types/Enum/TransactionKind.ts +7 -0
- package/ts/types/Enum/TransactionStatus.ts +6 -0
- package/ts/types/Interface/api/crisp/GetCrisp.ts +46 -0
- package/ts/types/Interface/api/dashboard/QueryTopBuys.ts +9 -0
- package/ts/types/Interface/api/dashboard/QueryTopProviders.ts +9 -0
- package/ts/types/Interface/api/dashboard/QueryVat.ts +9 -0
- package/ts/types/Interface/api/dashboard/{ResultBalanceBankAccount.ts → ReadBalanceBankAccount.ts} +1 -1
- package/ts/types/Interface/api/dashboard/ReadTopBuys.ts +5 -0
- package/ts/types/Interface/api/dashboard/ReadTopProviders.ts +5 -0
- package/ts/types/Interface/api/dashboard/{ResultTurnOverProfitAndLoss.ts → ReadTurnOverProfitAndLoss.ts} +1 -1
- package/ts/types/Interface/api/dashboard/ReadVat.ts +11 -0
- package/ts/types/Interface/api/pdf/BillingDocumentData.ts +22 -20
- package/ts/types/Interface/api/shopify/ImportInvoicesShopify.ts +8 -0
- package/ts/types/Interface/api/shopify/ShopifyOrder.ts +436 -0
- package/ts/types/Interface/api/shopify/address.ts +88 -0
- package/ts/types/Interface/api/shopify/base.ts +10 -0
- package/ts/types/Interface/api/shopify/client_details.ts +33 -0
- package/ts/types/Interface/api/shopify/customer.ts +125 -0
- package/ts/types/Interface/api/shopify/discount_allocation.ts +19 -0
- package/ts/types/Interface/api/shopify/discount_application.ts +83 -0
- package/ts/types/Interface/api/shopify/discount_code.ts +18 -0
- package/ts/types/Interface/api/shopify/fulfillment.ts +110 -0
- package/ts/types/Interface/api/shopify/line_item.ts +153 -0
- package/ts/types/Interface/api/shopify/line_item_property.ts +13 -0
- package/ts/types/Interface/api/shopify/location.ts +69 -0
- package/ts/types/Interface/api/shopify/note_attribute.ts +11 -0
- package/ts/types/Interface/api/shopify/payment_details.ts +13 -0
- package/ts/types/Interface/api/shopify/price_set.ts +10 -0
- package/ts/types/Interface/api/shopify/refund.ts +142 -0
- package/ts/types/Interface/api/shopify/shipping_line.ts +71 -0
- package/ts/types/Interface/api/shopify/tax_line.ts +25 -0
- package/ts/types/Interface/api/shopify/transaction.ts +123 -0
- package/ts/types/Interface/models/IAccountingFile.ts +1 -1
- package/ts/types/Interface/models/IEngagementAccountingFile.ts +1 -1
- package/ts/types/Interface/models/ISocietyGescom.ts +29 -29
- package/ts/types/index.ts +12 -2
- package/es/types/Interface/api/dashboard/ResultBalanceBankAccount.d.ts.map +0 -1
- package/es/types/Interface/api/dashboard/ResultBalanceBankAccount.js +0 -5
- package/es/types/Interface/api/dashboard/ResultBalanceBankAccount.js.map +0 -1
- package/es/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.d.ts.map +0 -1
- package/es/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.js +0 -7
- package/es/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.js.map +0 -1
- package/js/types/Interface/api/dashboard/ResultBalanceBankAccount.js +0 -14
- package/js/types/Interface/api/dashboard/ResultBalanceBankAccount.js.map +0 -1
- package/js/types/Interface/api/dashboard/ResultTurnOverProfitAndLoss.js.map +0 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export interface DiscountApplication {
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The method by which the discount application value has been allocated to entitled lines.
|
|
5
|
+
*
|
|
6
|
+
* Valid values:
|
|
7
|
+
* * across: The value is spread across all entitled lines.
|
|
8
|
+
* * each: The value is applied onto every entitled line.
|
|
9
|
+
* * one: The value is applied onto a single line.
|
|
10
|
+
*/
|
|
11
|
+
allocation_method: 'across' | 'each' | 'one';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The discount code that was used to apply the discount.
|
|
15
|
+
*
|
|
16
|
+
* Available only for discount code applications.
|
|
17
|
+
*
|
|
18
|
+
* (only exists if type === "discount_code")
|
|
19
|
+
*/
|
|
20
|
+
code?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The description of the discount application, as defined by the merchant or the Shopify Script.
|
|
24
|
+
* (can be null)
|
|
25
|
+
*
|
|
26
|
+
* Available only for manual and script discount applications.
|
|
27
|
+
*
|
|
28
|
+
* (only exists if type === "manual" || type === "script")
|
|
29
|
+
*/
|
|
30
|
+
description?: string | null;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* The lines on the order, of the type defined by target_type, that the discount is allocated over.
|
|
34
|
+
*
|
|
35
|
+
* Valid values:
|
|
36
|
+
* * all: The discount is allocated onto all lines.
|
|
37
|
+
* * entitled: The discount is allocated only onto lines it is entitled for.
|
|
38
|
+
* * explicit: The discount is allocated only onto explicitly selected lines.
|
|
39
|
+
*/
|
|
40
|
+
target_selection: 'all' | 'entitled' | 'explicit';
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The type of line on the order that the discount is applicable on.
|
|
44
|
+
*
|
|
45
|
+
* Valid values:
|
|
46
|
+
* * line_item: The discount applies to line items.
|
|
47
|
+
* * shipping_line: The discount applies to shipping lines.
|
|
48
|
+
*/
|
|
49
|
+
target_type: 'line_item' | 'shipping_line';
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The title of the discount application, as defined by the merchant.
|
|
53
|
+
*
|
|
54
|
+
* Available only for manual discount applications.
|
|
55
|
+
*
|
|
56
|
+
* (only exists if type === "manual")
|
|
57
|
+
*/
|
|
58
|
+
title?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The discount_applications property includes 3 types: discount_code, manual, and script.
|
|
62
|
+
*
|
|
63
|
+
* All 3 types share a common structure and have some type specific attributes.
|
|
64
|
+
*/
|
|
65
|
+
type: 'discount_code' | 'manual' | 'script';
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The value of the discount application as a decimal.
|
|
69
|
+
*
|
|
70
|
+
* This represents the intention of the discount application.
|
|
71
|
+
* For example, if the intent was to apply a 20% discount, then the value will be "20.0". If the intent was to apply a $15 discount, then the value will be "15.0"
|
|
72
|
+
*/
|
|
73
|
+
value: string;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The type of the value. Valid values:
|
|
77
|
+
*
|
|
78
|
+
* * fixed_amount: A fixed amount discount value in the currency of the order.
|
|
79
|
+
* * percentage: A percentage discount value.
|
|
80
|
+
*/
|
|
81
|
+
value_type: 'fixed_amount' | 'percentage';
|
|
82
|
+
|
|
83
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ShopifyObject } from './base';
|
|
2
|
+
|
|
3
|
+
export interface DiscountCode extends ShopifyObject {
|
|
4
|
+
/**
|
|
5
|
+
* The amount of the discount.
|
|
6
|
+
*/
|
|
7
|
+
amount?: string;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The discount code.
|
|
11
|
+
*/
|
|
12
|
+
code?: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The type of discount. Known values are 'percentage', 'shipping', 'fixed_amount' and 'none'.
|
|
16
|
+
*/
|
|
17
|
+
type?: 'percentage' | 'shipping' | 'fixed_amount' | string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { ShopifyObject } from './base';
|
|
2
|
+
import { LineItem } from './line_item';
|
|
3
|
+
|
|
4
|
+
export interface Fulfillment extends ShopifyObject {
|
|
5
|
+
/**
|
|
6
|
+
* The ID for the fulfillment
|
|
7
|
+
*/
|
|
8
|
+
id: number;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The date and time when the fulfillment was created.
|
|
12
|
+
*/
|
|
13
|
+
created_at: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A historical record of each item in the fulfillment.
|
|
17
|
+
*/
|
|
18
|
+
line_items: LineItem[];
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The unique identifier of the location that the fulfillment should be processed for. In order to find the ID of the location, use the Location API.
|
|
22
|
+
*/
|
|
23
|
+
location_id: number;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The uniquely identifying fulfillment name, consisting of two parts separated by a '.'. The first part represents the order name and the second part represents the fulfillment number. The fulfillment number automatically increments depending on how many fulfillments are in an order (e.g. #1001.1, #1001.2).
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Whether the customer should be notified. If set to true, then an email will be sent when the fulfillment is created or updated. For orders that were initially created using the API, the default value is false. For all other orders, the default value is true.
|
|
32
|
+
*
|
|
33
|
+
* (does not exist on any order of a production store that I tested; might be a parameter that is only passed to POST method but is not retrieved on GET)
|
|
34
|
+
*/
|
|
35
|
+
notify_customer?: boolean;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The unique numeric identifier for the order.
|
|
39
|
+
*/
|
|
40
|
+
order_id: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* An arbitrary object without defined interface (the Shopify documentation is wrong)
|
|
44
|
+
*/
|
|
45
|
+
receipt: any;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The type of service used.
|
|
49
|
+
*/
|
|
50
|
+
service: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The current shipment status for the order. Valid values:
|
|
54
|
+
* * null
|
|
55
|
+
* * "confirmed"
|
|
56
|
+
* * "in_transit"
|
|
57
|
+
* * "out_of_delivery"
|
|
58
|
+
* * "delivered"
|
|
59
|
+
* * "failure"
|
|
60
|
+
*
|
|
61
|
+
* (can be null)
|
|
62
|
+
*/
|
|
63
|
+
shipment_status: null | 'confirmed' | 'in_transit' | 'out_of_delivery' | 'delivered' | 'failure';
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The status of the fulfillment. Valid values:
|
|
67
|
+
*/
|
|
68
|
+
status: 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The name of the tracking company.
|
|
72
|
+
*
|
|
73
|
+
* (can be null)
|
|
74
|
+
*/
|
|
75
|
+
tracking_company: null | string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The shipping number, provided by the shipping company. If multiple tracking numbers
|
|
79
|
+
* exist, returns the first number. If none, null.
|
|
80
|
+
*/
|
|
81
|
+
tracking_number: string | null;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* A list of shipping numbers, provided by the shipping company. May be empty.
|
|
85
|
+
*/
|
|
86
|
+
tracking_numbers: string[];
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The tracking url, provided by the shipping company. May be null. If multiple tracking URLs
|
|
90
|
+
* exist, returns the first URL.
|
|
91
|
+
*/
|
|
92
|
+
tracking_url: string | null;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* An array of one or more tracking urls, provided by the shipping company. May be null.
|
|
96
|
+
*/
|
|
97
|
+
tracking_urls: string[];
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The date and time when the fulfillment was last modified.
|
|
101
|
+
*/
|
|
102
|
+
updated_at: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The name of the inventory management service.
|
|
106
|
+
*
|
|
107
|
+
* (can be undefined)
|
|
108
|
+
*/
|
|
109
|
+
variant_inventory_management?: string;
|
|
110
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { TaxLine } from './tax_line';
|
|
2
|
+
import { ShopifyObject } from './base';
|
|
3
|
+
import { LineItemProperty } from './line_item_property';
|
|
4
|
+
import { DiscountAllocation } from './discount_allocation';
|
|
5
|
+
import { Location } from './location';
|
|
6
|
+
import { PriceSet } from './price_set';
|
|
7
|
+
|
|
8
|
+
export interface LineItem extends ShopifyObject {
|
|
9
|
+
/**
|
|
10
|
+
* does not always exist
|
|
11
|
+
*/
|
|
12
|
+
destination_location?: Location;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* An ordered list of amounts allocated by discount applications. Each discount allocation is associated to a particular discount application.
|
|
16
|
+
*/
|
|
17
|
+
discount_allocations: DiscountAllocation[];
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The amount available to fulfill. This is the quantity - max(refunded_quantity, fulfilled_quantity) - pending_fulfilled_quantity.
|
|
21
|
+
*/
|
|
22
|
+
fulfillable_quantity: number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Service provider who is doing the fulfillment. Valid values are either "manual" or the name of the provider. eg: "amazon", "shipwire", etc.
|
|
26
|
+
*/
|
|
27
|
+
fulfillment_service: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The fulfillment status of this line item. Known values are 'fulfilled', 'null' and 'partial'.
|
|
31
|
+
*/
|
|
32
|
+
fulfillment_status: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* States whether the order used a gift card.
|
|
36
|
+
*/
|
|
37
|
+
gift_card: boolean;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The weight of the item in grams.
|
|
41
|
+
*/
|
|
42
|
+
grams: number;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The name of the product variant.
|
|
46
|
+
*/
|
|
47
|
+
name: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* does not always exist
|
|
51
|
+
*/
|
|
52
|
+
origin_location?: Location;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The price of the item before taxes have been applied.
|
|
56
|
+
*/
|
|
57
|
+
pre_tax_price: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The pre-tax price of the item in shop and presentment currencies.
|
|
61
|
+
* (BETA)
|
|
62
|
+
*/
|
|
63
|
+
pre_tax_price_set: PriceSet;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The price of the item before discounts have been applied.
|
|
67
|
+
*/
|
|
68
|
+
price: string | number;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* TODO: what does this mean?
|
|
72
|
+
*/
|
|
73
|
+
product_exists: boolean;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The price of the item in shop and presentment currencies.
|
|
77
|
+
* (BETA)
|
|
78
|
+
*/
|
|
79
|
+
price_set: PriceSet;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The unique numeric identifier for the product in the fulfillment. Can be null if the original product associated with the order is deleted at a later date
|
|
83
|
+
*/
|
|
84
|
+
product_id: number;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* An array of custom information for an item that has been added to the cart.
|
|
88
|
+
* Often used to provide product customization options.
|
|
89
|
+
* An array of <see cref="ShopifyTaxLine"/> objects, each of which details the taxes applicable to this <see cref="ShopifyLineItem"/>.
|
|
90
|
+
*/
|
|
91
|
+
properties: LineItemProperty[];
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The number of products that were purchased.
|
|
95
|
+
*/
|
|
96
|
+
quantity: number;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* States whether or not the fulfillment requires shipping.
|
|
100
|
+
*/
|
|
101
|
+
requires_shipping: boolean;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* A unique identifier of the item in the fulfillment.
|
|
105
|
+
*/
|
|
106
|
+
sku: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* States whether or not the product was taxable.
|
|
110
|
+
*/
|
|
111
|
+
taxable: boolean;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* An array of <see cref="ShopifyTaxLine"/> objects, each of which details the taxes applicable to this <see cref="ShopifyLineItem"/>.
|
|
115
|
+
*/
|
|
116
|
+
tax_lines: TaxLine[];
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The title of the product.
|
|
120
|
+
*/
|
|
121
|
+
title: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The total discount amount applied to this line item. This value is not subtracted in the line item price.
|
|
125
|
+
*/
|
|
126
|
+
total_discount: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The total discount amount applied to this line item in shop and presentment currencies.
|
|
130
|
+
* (BETA)
|
|
131
|
+
*/
|
|
132
|
+
total_discount_set: PriceSet;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The id of the product variant. Can be null if the product purchased is not a variant.
|
|
136
|
+
*/
|
|
137
|
+
variant_id: number;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* TODO: What is this? (known values: "shopify", null)
|
|
141
|
+
*/
|
|
142
|
+
variant_inventory_management: null | string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The title of the product variant. Can be null if the product purchased is not a variant.
|
|
146
|
+
*/
|
|
147
|
+
variant_title: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The name of the supplier of the item.
|
|
151
|
+
*/
|
|
152
|
+
vendor: string;
|
|
153
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ShopifyObject } from './base';
|
|
2
|
+
|
|
3
|
+
export interface Location extends ShopifyObject {
|
|
4
|
+
/**
|
|
5
|
+
* The first line of the address.
|
|
6
|
+
*/
|
|
7
|
+
address1?: string;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The second line of the address.
|
|
11
|
+
*/
|
|
12
|
+
address2?: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The city the location is in.
|
|
16
|
+
*/
|
|
17
|
+
city?: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The country the location is in.
|
|
21
|
+
*/
|
|
22
|
+
country?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The two-letter code (ISO 3166-1 alpha-2 format) corresponding to country the location is in.
|
|
26
|
+
*/
|
|
27
|
+
country_code?: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The date and time (ISO 8601 format) when the location was created.
|
|
31
|
+
*/
|
|
32
|
+
created_at?: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Whether this is a fulfillment service location. If true, then the location is a fulfillment service location.
|
|
36
|
+
* If false, then the location was created by the merchant and isn't tied to a fulfillment service.
|
|
37
|
+
*/
|
|
38
|
+
legacy?: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The name of the location.
|
|
42
|
+
*/
|
|
43
|
+
name?: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The phone number of the location. This value can contain special characters like - and +.
|
|
47
|
+
*/
|
|
48
|
+
phone?: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The province the location is in.
|
|
52
|
+
*/
|
|
53
|
+
province?: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The two-letter code corresponding to province or state the location is in.
|
|
57
|
+
*/
|
|
58
|
+
province_code?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The date and time (ISO 8601 format) when the location was last updated.
|
|
62
|
+
*/
|
|
63
|
+
updated_at?: string
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The zip or postal code.
|
|
67
|
+
*/
|
|
68
|
+
zip?: string
|
|
69
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ShopifyObject } from './base';
|
|
2
|
+
|
|
3
|
+
export interface PaymentDetails extends ShopifyObject {
|
|
4
|
+
avs_result_code?: string;
|
|
5
|
+
|
|
6
|
+
credit_card_bin?: string;
|
|
7
|
+
|
|
8
|
+
cvv_result_code?: string;
|
|
9
|
+
|
|
10
|
+
credit_card_number?: string;
|
|
11
|
+
|
|
12
|
+
credit_card_company?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { ShopifyObject } from './base';
|
|
2
|
+
import { Transaction } from './transaction';
|
|
3
|
+
import { LineItem } from './line_item';
|
|
4
|
+
import { PriceSet } from './price_set';
|
|
5
|
+
|
|
6
|
+
export interface Refund extends ShopifyObject {
|
|
7
|
+
admin_graphql_api_id: string;
|
|
8
|
+
/**
|
|
9
|
+
* The date and time (ISO 8601 format) when the refund was created.
|
|
10
|
+
*/
|
|
11
|
+
created_at: string;
|
|
12
|
+
/**
|
|
13
|
+
* The unique identifier for the refund.
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* An optional note attached to a refund.
|
|
18
|
+
*/
|
|
19
|
+
note: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* A list of order adjustments attached to the refund.
|
|
22
|
+
*/
|
|
23
|
+
order_adjustments: OrderAdjustment[];
|
|
24
|
+
/**
|
|
25
|
+
* The unique identifier for the order the refund belongs to.
|
|
26
|
+
*/
|
|
27
|
+
order_id: number;
|
|
28
|
+
/**
|
|
29
|
+
* The date and time (ISO 8601 format) when the refund was imported. This value can be set to a date in the past when importing from other systems. If no value is provided, then it will be auto-generated as the current time in Shopify.
|
|
30
|
+
*/
|
|
31
|
+
processed_at: string;
|
|
32
|
+
/**
|
|
33
|
+
* A list of refunded line items.
|
|
34
|
+
*/
|
|
35
|
+
refund_line_items: RefundLineItem[];
|
|
36
|
+
/**
|
|
37
|
+
* Whether to add the line items back to the store's inventory.
|
|
38
|
+
* DEPRECATED: Provide a restock_type (on individual `refund_line_item` objects) to influence how this refund affects inventory instead.
|
|
39
|
+
*/
|
|
40
|
+
restock: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* A list of transactions involved in the refund. For more information, see the Transaction resource.
|
|
43
|
+
*/
|
|
44
|
+
transactions: Transaction[];
|
|
45
|
+
/**
|
|
46
|
+
* The unique identifier of the user who performed the refund.
|
|
47
|
+
*/
|
|
48
|
+
user_id: number | null;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface RefundLineItem {
|
|
52
|
+
/**
|
|
53
|
+
* The unique identifier of the line item in the refund.
|
|
54
|
+
*/
|
|
55
|
+
id: number;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the related line item in the order.
|
|
58
|
+
*/
|
|
59
|
+
line_item_id: number;
|
|
60
|
+
/**
|
|
61
|
+
* The related line item in the order (exactly identical)
|
|
62
|
+
*/
|
|
63
|
+
line_item: LineItem;
|
|
64
|
+
/**
|
|
65
|
+
* The unique identifier of the location where the items will be restocked.
|
|
66
|
+
* Required when restock_type has the value return or cancel.
|
|
67
|
+
*/
|
|
68
|
+
location_id: number;
|
|
69
|
+
/**
|
|
70
|
+
* The quantity of the associated line item that was returned.
|
|
71
|
+
*/
|
|
72
|
+
quantity: number;
|
|
73
|
+
/**
|
|
74
|
+
* How this refund line item affects inventory levels. Valid values:
|
|
75
|
+
* * no_restock: Refunding these items won't affect inventory. The number of fulfillable units for this line item will remain unchanged. For example, a refund payment can be issued but no items will be returned or made available for sale again.
|
|
76
|
+
* * cancel: The items have not yet been fulfilled. The canceled quantity will be added back to the available count. The number of fulfillable units for this line item will decrease.
|
|
77
|
+
* * return: The items were already delivered, and will be returned to the merchant. The returned quantity will be added back to the available count. The number of fulfillable units for this line item will remain unchanged.
|
|
78
|
+
* * legacy_restock: The deprecated restock property was used for this refund. These items were made available for sale again. This value is not accepted when creating new refunds.
|
|
79
|
+
*/
|
|
80
|
+
restock_type: string;
|
|
81
|
+
/**
|
|
82
|
+
* The subtotal of the refund line item
|
|
83
|
+
* Attention: This field has type 'number', whereas most other money values have type 'string'
|
|
84
|
+
*/
|
|
85
|
+
subtotal: number;
|
|
86
|
+
/**
|
|
87
|
+
* The subtotal of the refund line item, in shop and presentment currencies
|
|
88
|
+
* (BETA)
|
|
89
|
+
*/
|
|
90
|
+
subtotal_set: PriceSet;
|
|
91
|
+
/**
|
|
92
|
+
* The total tax on the refund line item.
|
|
93
|
+
*/
|
|
94
|
+
total_tax: number;
|
|
95
|
+
/**
|
|
96
|
+
* The total tax on the refund line item, in shop and presentment currencies
|
|
97
|
+
* (BETA)
|
|
98
|
+
*/
|
|
99
|
+
total_tax_set: PriceSet;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface OrderAdjustment extends ShopifyObject {
|
|
103
|
+
/**
|
|
104
|
+
* The value of the discrepancy between the calculated refund and the actual refund.
|
|
105
|
+
* If the kind property's value is shipping_refund, then amount returns the value of shipping charges refunded to the customer.
|
|
106
|
+
*/
|
|
107
|
+
amount: string;
|
|
108
|
+
/**
|
|
109
|
+
* The amount of the order adjustment in shop and presentment currencies.
|
|
110
|
+
* (BETA)
|
|
111
|
+
*/
|
|
112
|
+
amount_set: PriceSet;
|
|
113
|
+
/**
|
|
114
|
+
* The unique identifier for the order adjustment.
|
|
115
|
+
*/
|
|
116
|
+
id: number;
|
|
117
|
+
/**
|
|
118
|
+
* The order adjustment type. Valid values: shipping_refund and refund_discrepancy
|
|
119
|
+
*/
|
|
120
|
+
kind: string;
|
|
121
|
+
/**
|
|
122
|
+
* The unique identifier for the order that the order adjustment is associated with.
|
|
123
|
+
*/
|
|
124
|
+
order_id: number;
|
|
125
|
+
/**
|
|
126
|
+
* The reason for the order adjustment. To set this value, include `discrepancy_reason` when you create a refund.
|
|
127
|
+
*/
|
|
128
|
+
reason: string;
|
|
129
|
+
/**
|
|
130
|
+
* The unique identifier for the refund that the order adjustment is associated with.
|
|
131
|
+
*/
|
|
132
|
+
refund_id: number;
|
|
133
|
+
/**
|
|
134
|
+
* The taxes that are added to amount, such as applicable shipping taxes added to a shipping refund.
|
|
135
|
+
*/
|
|
136
|
+
tax_amount: string;
|
|
137
|
+
/**
|
|
138
|
+
* The tax amount of the order adjustment in shop and presentment currencies.
|
|
139
|
+
* (BETA)
|
|
140
|
+
*/
|
|
141
|
+
tax_amount_set: PriceSet;
|
|
142
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { DiscountAllocation } from './discount_allocation';
|
|
2
|
+
import { PriceSet } from './price_set';
|
|
3
|
+
import { TaxLine } from './tax_line';
|
|
4
|
+
import { ShopifyObject } from './base';
|
|
5
|
+
|
|
6
|
+
export interface ShippingLine extends ShopifyObject {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* TODO: What is this?
|
|
10
|
+
*/
|
|
11
|
+
carrier_identifier: string | null;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* A reference to the shipping method.
|
|
15
|
+
*/
|
|
16
|
+
code: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* not documented
|
|
20
|
+
*/
|
|
21
|
+
delivery_category: null | any;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* not documented
|
|
25
|
+
*/
|
|
26
|
+
discount_allocations: DiscountAllocation[],
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* not documented
|
|
30
|
+
*/
|
|
31
|
+
discounted_price: string,
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The price of the shipping method after discounts in shop and presentment currencies.
|
|
35
|
+
*/
|
|
36
|
+
discounted_price_set: PriceSet,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* not documented
|
|
40
|
+
*/
|
|
41
|
+
phone: string | null,
|
|
42
|
+
/**
|
|
43
|
+
* The price of this shipping method.
|
|
44
|
+
*/
|
|
45
|
+
price: string,
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The price of the shipping method in shop and presentment currencies.
|
|
49
|
+
*/
|
|
50
|
+
price_set: PriceSet,
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* undocumented (always null in available test data)
|
|
54
|
+
*/
|
|
55
|
+
requested_fulfillment_service_id: null | any;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* The source of the shipping method.
|
|
59
|
+
*/
|
|
60
|
+
source: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The title of the shipping method.
|
|
64
|
+
*/
|
|
65
|
+
title: string;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* A list of <see cref="ShopifyTaxLine"/> objects, each of which details the taxes applicable to this <see cref="ShopifyShippingLine"/>.
|
|
69
|
+
*/
|
|
70
|
+
tax_lines: TaxLine[];
|
|
71
|
+
}
|