- Improve OAS schemas [19/n] - docs-generator: combine `Date | string` type to just `Date`.
76 lines
1.9 KiB
TypeScript
76 lines
1.9 KiB
TypeScript
/**
|
|
* @schema OrderLineItemTaxLine
|
|
* type: object
|
|
* description: The line item tax line's details.
|
|
* x-schemaName: OrderLineItemTaxLine
|
|
* required:
|
|
* - item
|
|
* - item_id
|
|
* - total
|
|
* - subtotal
|
|
* - raw_total
|
|
* - raw_subtotal
|
|
* - id
|
|
* - code
|
|
* - rate
|
|
* - created_at
|
|
* - updated_at
|
|
* properties:
|
|
* item:
|
|
* $ref: "#/components/schemas/OrderLineItem"
|
|
* item_id:
|
|
* type: string
|
|
* title: item_id
|
|
* description: The ID of the line item that the tax line belongs to.
|
|
* total:
|
|
* type: number
|
|
* title: total
|
|
* description: The item's total including taxes and promotions.
|
|
* subtotal:
|
|
* type: number
|
|
* title: subtotal
|
|
* description: The item's total excluding taxes, including promotions.
|
|
* raw_total:
|
|
* type: object
|
|
* description: The tax line's raw total.
|
|
* raw_subtotal:
|
|
* type: object
|
|
* description: The tax line's raw subtotal.
|
|
* id:
|
|
* type: string
|
|
* title: id
|
|
* description: The tax line's ID.
|
|
* description:
|
|
* type: string
|
|
* title: description
|
|
* description: The tax line's description.
|
|
* tax_rate_id:
|
|
* type: string
|
|
* title: tax_rate_id
|
|
* description: The ID of the applied tax rate.
|
|
* code:
|
|
* type: string
|
|
* title: code
|
|
* description: The code that the tax rate is identified by.
|
|
* rate:
|
|
* type: number
|
|
* title: rate
|
|
* description: The rate to charge.
|
|
* provider_id:
|
|
* type: string
|
|
* title: provider_id
|
|
* description: The ID of the tax provider used to calculate the tax lines.
|
|
* created_at:
|
|
* type: string
|
|
* format: date-time
|
|
* title: created_at
|
|
* description: The date the tax line was created.
|
|
* updated_at:
|
|
* type: string
|
|
* format: date-time
|
|
* title: updated_at
|
|
* description: The date the tax line was updated.
|
|
*
|
|
*/
|
|
|