Class TransactionItem
- java.lang.Object
-
- com.inteliqua.rest.transaction.payload.TransactionItem
-
public class TransactionItem extends Object
Represents an individual item within a transaction, containing detailed information about the product, pricing, quantities, and discounts applied.- See Also:
TransactionBasePayload,The class contains the following attributes: description - Optional description of the transaction item quantity - The amount of product units in this transaction line discountAmount - The fixed discount amount applied to this item discountPercentage - The percentage discount applied to this item lineAmount - The total amount for this line including all discounts vatAmount - The VAT (Value Added Tax) amount for this item unitPrice - The price per unit of the product (defaults to zero) productItem - The associated product information All monetary values are represented using BigDecimal for precise calculations. The class supports both percentage-based and fixed-amount discounts that can be applied to the transaction item.,BigDecimal,Valid
-
-
Constructor Summary
Constructors Constructor Description TransactionItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(EntityAttribute entityAttribute)StringtoString()
-
-
-
Method Detail
-
addAttribute
public void addAttribute(EntityAttribute entityAttribute)
-
-