public class XPFOrderItem extends XPFEntity
Constructor and Description |
---|
XPFOrderItem(@NonNull String guid,
@NonNull XPFProductSku productSku,
int quantity,
BigDecimal listUnitPrice,
BigDecimal saleUnitPrice,
BigDecimal promoUnitPrice,
BigDecimal unitPrice,
BigDecimal discountAmount,
BigDecimal taxAmount,
BigDecimal amount,
String displayName,
@NonNull Map<String,String> modifierFields,
@NonNull List<XPFOrderItem> children,
@NonNull XPFEntitySupplier<List<XPFTaxLine>> taxLines) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
BigDecimal |
getAmount()
The amount.
|
@NonNull List<XPFOrderItem> |
getChildren()
The children.
|
BigDecimal |
getDiscountAmount()
The discount amount.
|
String |
getDisplayName()
The display name.
|
@NonNull String |
getGuid()
The guid.
|
BigDecimal |
getListUnitPrice()
The list unit price.
|
@NonNull Map<String,String> |
getModifierFields()
The modifier fields.
|
@NonNull XPFProductSku |
getProductSku()
The product sku.
|
BigDecimal |
getPromoUnitPrice()
The promo unit price.
|
int |
getQuantity()
The quantity.
|
BigDecimal |
getSaleUnitPrice()
The sale unit price.
|
BigDecimal |
getTaxAmount()
The tax amount.
|
List<XPFTaxLine> |
getTaxLines()
Get the Tax Lines.
|
BigDecimal |
getUnitPrice()
The unit price.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFOrderItem(@NonNull @NonNull String guid, @NonNull @NonNull XPFProductSku productSku, int quantity, BigDecimal listUnitPrice, BigDecimal saleUnitPrice, BigDecimal promoUnitPrice, BigDecimal unitPrice, BigDecimal discountAmount, BigDecimal taxAmount, BigDecimal amount, String displayName, @NonNull @NonNull Map<String,String> modifierFields, @NonNull @NonNull List<XPFOrderItem> children, @NonNull @NonNull XPFEntitySupplier<List<XPFTaxLine>> taxLines)
@LazyLoaded public List<XPFTaxLine> getTaxLines()
@NonNull public @NonNull String getGuid()
@NonNull public @NonNull XPFProductSku getProductSku()
public int getQuantity()
public BigDecimal getListUnitPrice()
public BigDecimal getSaleUnitPrice()
public BigDecimal getPromoUnitPrice()
public BigDecimal getUnitPrice()
public BigDecimal getDiscountAmount()
public BigDecimal getTaxAmount()
public BigDecimal getAmount()
public String getDisplayName()
@NonNull public @NonNull Map<String,String> getModifierFields()
@NonNull public @NonNull List<XPFOrderItem> getChildren()
Copyright © 2024. All rights reserved.