chore(oas): update order OAS schema to include new fields (#5436)
This commit is contained in:
1 parent
0ffa48b07f
commit
8bc902fb0f
4 files changed
+39
-1
No files matched your search
@@ -202,7 +202,11 @@ export interface Order {
|
|||||||
/**
|
/**
|
||||||
* The total of shipping
|
* The total of shipping
|
||||||
*/
|
*/
|
||||||
shipping_total?: number
|
shipping_total?: number | null
|
||||||
|
/**
|
||||||
|
* The tax total applied on shipping
|
||||||
|
*/
|
||||||
|
shipping_tax_total?: number
|
||||||
/**
|
/**
|
||||||
* The total of discount
|
* The total of discount
|
||||||
*/
|
*/
|
||||||
@@ -215,6 +219,10 @@ export interface Order {
|
|||||||
* The total of tax
|
* The total of tax
|
||||||
*/
|
*/
|
||||||
tax_total?: number
|
tax_total?: number
|
||||||
|
/**
|
||||||
|
* The tax total applied on items
|
||||||
|
*/
|
||||||
|
item_tax_total?: number | null
|
||||||
/**
|
/**
|
||||||
* The total amount refunded if the order is returned.
|
* The total amount refunded if the order is returned.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -529,6 +529,11 @@ export class Order extends BaseEntity {
|
|||||||
* type: integer
|
* type: integer
|
||||||
* description: The total of shipping
|
* description: The total of shipping
|
||||||
* example: 1000
|
* example: 1000
|
||||||
|
* nullable: true
|
||||||
|
* shipping_tax_total:
|
||||||
|
* type: integer
|
||||||
|
* description: The tax total applied on shipping
|
||||||
|
* example: 1000
|
||||||
* raw_discount_total:
|
* raw_discount_total:
|
||||||
* description: The total of discount
|
* description: The total of discount
|
||||||
* type: integer
|
* type: integer
|
||||||
@@ -541,6 +546,11 @@ export class Order extends BaseEntity {
|
|||||||
* description: The total of tax
|
* description: The total of tax
|
||||||
* type: integer
|
* type: integer
|
||||||
* example: 0
|
* example: 0
|
||||||
|
* item_tax_total:
|
||||||
|
* description: The tax total applied on items
|
||||||
|
* type: integer
|
||||||
|
* example: 0
|
||||||
|
* nullable: true
|
||||||
* refunded_total:
|
* refunded_total:
|
||||||
* description: The total amount refunded if the order is returned.
|
* description: The total amount refunded if the order is returned.
|
||||||
* type: integer
|
* type: integer
|
||||||
|
|||||||
@@ -263,6 +263,11 @@ properties:
|
|||||||
type: integer
|
type: integer
|
||||||
description: The total of shipping
|
description: The total of shipping
|
||||||
example: 1000
|
example: 1000
|
||||||
|
nullable: true
|
||||||
|
shipping_tax_total:
|
||||||
|
type: integer
|
||||||
|
description: The tax total applied on shipping
|
||||||
|
example: 1000
|
||||||
raw_discount_total:
|
raw_discount_total:
|
||||||
description: The total of discount
|
description: The total of discount
|
||||||
type: integer
|
type: integer
|
||||||
@@ -275,6 +280,11 @@ properties:
|
|||||||
description: The total of tax
|
description: The total of tax
|
||||||
type: integer
|
type: integer
|
||||||
example: 0
|
example: 0
|
||||||
|
item_tax_total:
|
||||||
|
description: The tax total applied on items
|
||||||
|
type: integer
|
||||||
|
example: 0
|
||||||
|
nullable: true
|
||||||
refunded_total:
|
refunded_total:
|
||||||
description: The total amount refunded if the order is returned.
|
description: The total amount refunded if the order is returned.
|
||||||
type: integer
|
type: integer
|
||||||
|
|||||||
@@ -263,6 +263,11 @@ properties:
|
|||||||
type: integer
|
type: integer
|
||||||
description: The total of shipping
|
description: The total of shipping
|
||||||
example: 1000
|
example: 1000
|
||||||
|
nullable: true
|
||||||
|
shipping_tax_total:
|
||||||
|
type: integer
|
||||||
|
description: The tax total applied on shipping
|
||||||
|
example: 1000
|
||||||
raw_discount_total:
|
raw_discount_total:
|
||||||
description: The total of discount
|
description: The total of discount
|
||||||
type: integer
|
type: integer
|
||||||
@@ -275,6 +280,11 @@ properties:
|
|||||||
description: The total of tax
|
description: The total of tax
|
||||||
type: integer
|
type: integer
|
||||||
example: 0
|
example: 0
|
||||||
|
item_tax_total:
|
||||||
|
description: The tax total applied on items
|
||||||
|
type: integer
|
||||||
|
example: 0
|
||||||
|
nullable: true
|
||||||
refunded_total:
|
refunded_total:
|
||||||
description: The total amount refunded if the order is returned.
|
description: The total amount refunded if the order is returned.
|
||||||
type: integer
|
type: integer
|
||||||
|
|||||||
Reference in new issue
Block a user