public class XPFShoppingItemValidationContext extends XPFEntity
Constructor and Description |
---|
XPFShoppingItemValidationContext(XPFShoppingItem parentShoppingItem,
@NonNull XPFShoppingItem shoppingItem,
boolean inStoreCatalog,
@NonNull XPFShoppingCart shoppingCart,
XPFPrice promotedPrice,
@NonNull XPFOperationEnum operation,
@NonNull List<XPFShoppingItemValidationContext> children) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull List<XPFShoppingItemValidationContext> |
getChildren()
The children of the current shopping item.
|
@NonNull XPFOperationEnum |
getOperation()
The operation that is being executed on this shopping cart line item.
|
XPFShoppingItem |
getParentShoppingItem()
The parent shopping item.
|
XPFPrice |
getPromotedPrice()
The unit price of the shopping item including catalog promotions but excluding shopping cart promotions.
|
@NonNull XPFShoppingCart |
getShoppingCart()
The shopping cart.
|
@NonNull XPFShoppingItem |
getShoppingItem()
The shopping item.
|
int |
hashCode() |
boolean |
isInStoreCatalog()
Indicates if the product sku is in shopping cart store's catalog.
|
String |
toString() |
getCustomData
public XPFShoppingItemValidationContext(XPFShoppingItem parentShoppingItem, @NonNull @NonNull XPFShoppingItem shoppingItem, boolean inStoreCatalog, @NonNull @NonNull XPFShoppingCart shoppingCart, XPFPrice promotedPrice, @NonNull @NonNull XPFOperationEnum operation, @NonNull @NonNull List<XPFShoppingItemValidationContext> children)
public XPFShoppingItem getParentShoppingItem()
@NonNull public @NonNull XPFShoppingItem getShoppingItem()
public boolean isInStoreCatalog()
@NonNull public @NonNull XPFShoppingCart getShoppingCart()
public XPFPrice getPromotedPrice()
@NonNull public @NonNull XPFOperationEnum getOperation()
@NonNull public @NonNull List<XPFShoppingItemValidationContext> getChildren()
Copyright © 2024. All rights reserved.