chore(oas): update order OAS schema to include new fields (#5436)
This commit is contained in:
@@ -202,7 +202,11 @@ export interface Order {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
@@ -215,6 +219,10 @@ export interface Order {
|
||||
* The total of tax
|
||||
*/
|
||||
tax_total?: number
|
||||
/**
|
||||
* The tax total applied on items
|
||||
*/
|
||||
item_tax_total?: number | null
|
||||
/**
|
||||
* The total amount refunded if the order is returned.
|
||||
*/
|
||||
|
||||
@@ -529,6 +529,11 @@ export class Order extends BaseEntity {
|
||||
* type: integer
|
||||
* description: The total of shipping
|
||||
* example: 1000
|
||||
* nullable: true
|
||||
* shipping_tax_total:
|
||||
* type: integer
|
||||
* description: The tax total applied on shipping
|
||||
* example: 1000
|
||||
* raw_discount_total:
|
||||
* description: The total of discount
|
||||
* type: integer
|
||||
@@ -541,6 +546,11 @@ export class Order extends BaseEntity {
|
||||
* description: The total of tax
|
||||
* type: integer
|
||||
* example: 0
|
||||
* item_tax_total:
|
||||
* description: The tax total applied on items
|
||||
* type: integer
|
||||
* example: 0
|
||||
* nullable: true
|
||||
* refunded_total:
|
||||
* description: The total amount refunded if the order is returned.
|
||||
* type: integer
|
||||
|
||||
@@ -263,6 +263,11 @@ properties:
|
||||
type: integer
|
||||
description: The total of shipping
|
||||
example: 1000
|
||||
nullable: true
|
||||
shipping_tax_total:
|
||||
type: integer
|
||||
description: The tax total applied on shipping
|
||||
example: 1000
|
||||
raw_discount_total:
|
||||
description: The total of discount
|
||||
type: integer
|
||||
@@ -275,6 +280,11 @@ properties:
|
||||
description: The total of tax
|
||||
type: integer
|
||||
example: 0
|
||||
item_tax_total:
|
||||
description: The tax total applied on items
|
||||
type: integer
|
||||
example: 0
|
||||
nullable: true
|
||||
refunded_total:
|
||||
description: The total amount refunded if the order is returned.
|
||||
type: integer
|
||||
|
||||
@@ -263,6 +263,11 @@ properties:
|
||||
type: integer
|
||||
description: The total of shipping
|
||||
example: 1000
|
||||
nullable: true
|
||||
shipping_tax_total:
|
||||
type: integer
|
||||
description: The tax total applied on shipping
|
||||
example: 1000
|
||||
raw_discount_total:
|
||||
description: The total of discount
|
||||
type: integer
|
||||
@@ -275,6 +280,11 @@ properties:
|
||||
description: The total of tax
|
||||
type: integer
|
||||
example: 0
|
||||
item_tax_total:
|
||||
description: The tax total applied on items
|
||||
type: integer
|
||||
example: 0
|
||||
nullable: true
|
||||
refunded_total:
|
||||
description: The total amount refunded if the order is returned.
|
||||
type: integer
|
||||
|
||||
Reference in New Issue
Block a user