public class OverridePriceRequest extends CartItemModifyingRequest implements Serializable
| Constructor and Description |
|---|
OverridePriceRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getComment()
The optional, long-form comment explaining any extra context for the override.
|
javax.money.MonetaryAmount |
getOverridePrice()
The new price value.
|
String |
getReason()
The reason the override was performed, for example, "Price Match".
|
int |
hashCode() |
void |
setComment(String comment)
The optional, long-form comment explaining any extra context for the override.
|
void |
setOverridePrice(javax.money.MonetaryAmount overridePrice)
The new price value.
|
void |
setReason(String reason)
The reason the override was performed, for example, "Price Match".
|
String |
toString() |
getCartVersion, setCartVersionpublic javax.money.MonetaryAmount getOverridePrice()
public String getReason()
public String getComment()
public void setOverridePrice(javax.money.MonetaryAmount overridePrice)
overridePrice - the price value.public void setReason(String reason)
reason - The reason the override was performed.public void setComment(String comment)
comment - The optional, long-form comment explaining any extra context for the override.public boolean equals(Object o)
equals in class CartItemModifyingRequestprotected boolean canEqual(Object other)
canEqual in class CartItemModifyingRequestpublic int hashCode()
hashCode in class CartItemModifyingRequestpublic String toString()
toString in class CartItemModifyingRequestCopyright © 2021. All rights reserved.