This object contains discount information like discount amount, signature ...
Name | Type | Description |
---|---|---|
invoiceItemID | UUID | The invoice item id. |
discountCode | Object | Contains the information from discountCode such as discount code type and etc. |
totalPrice | Float | Total price without discount. |
totalPriceAfterDiscount | Float | Total price after the discount is applied. |
discountedAmount | Float | Discount amount of total price. |
onchainDiscountInfo | Object | if a discount is applicable for on-chain purchases it will return the discount information onchainDiscountInfo such as signature signer and etc. |