Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: Add discount to OrderItemd Type (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasiloghmani authored Jul 28, 2021
1 parent 80de8eb commit ab1f6f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/types/order.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@ export interface OrderItem extends Identifiable, OrderItemBase {
cart_item: Relationship<'cart_item'>
taxes: Relationship<'taxes'>[]
}
discounts?: [
{
amount: {
amount: number
currency: string
includes_tax: string
}
code: string
}
]
}

export interface ConfirmPaymentBody {
Expand Down

0 comments on commit ab1f6f5

Please sign in to comment.