Frontend | Backend | Api

Orders\Models\Api\RefundItem

RefundItem

Property Description Returns
currency Gets the currency of the item (from its refund). Currency
unitAmountAsMoney Gets the amount for a single unit (quantity = 1) as a Money object. Represents the value per unit before tax and discount are applied. Money
unitTaxAsMoney Gets the tax for a single unit (quantity = 1) as a Money object. Represents the tax value per unit. Money
unitDiscountAsMoney Gets the discount for a single unit (quantity = 1) as a Money object. Represents the discount value per unit. Money
unitTotalAsMoney Gets the total for a single unit (quantity = 1) as a Money object. Represents the final value per unit calculated as `Unit Amount + Unit Tax - Unit Discount`. Money
amountAsMoney Gets the amount for the entire quantity as a Money object. Represents the value before applying tax and discount (`Unit Amount × Quantity`). Money
taxAsMoney Gets the tax for the entire quantity as a Money object. Represents the total tax calculated (`Unit Tax × Quantity`). Money
discountAsMoney Gets the discount for the entire quantity as a Money object. Represents the total discount applied (`Unit Discount × Quantity`). Money
totalAsMoney Gets the total for the entire quantity as a Money object. Represents the final value calculated as `Amount + Tax - Discount`. Money
type Returns the type of the refund item. string
id int
quantity The number of units purchased. Quantity of the item. Integer positive (not 0) number. int
amount Represents the value before applying tax and discount (`Unit Amount × Quantity`). string
tax Represents the total tax calculated (`Unit Tax × Quantity`). string
discount Represents the total discount applied (`Unit Discount × Quantity`). string
created Date the record was created. DateTime
invoiceItem Item
refund Refund