public class OverrideDetail extends Object implements Serializable
Constructor and Description |
---|
OverrideDetail() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAuthor()
The admin user who performed the override.
|
String |
getComment()
The optional, long-form comment explaining any extra context for the override.
|
javax.money.MonetaryAmount |
getOriginalAmount()
The amount contained in the field prior to being overridden.
|
javax.money.MonetaryAmount |
getOverrideAmount()
The amount which the field has been overridden to.
|
String |
getReason()
The reason the override was performed, for example, "Price Match".
|
String |
getType()
The type of override performed, e.g.
|
String |
getUserId()
The user ID of the admin user who performed the override.
|
int |
hashCode() |
void |
setAuthor(String author)
The admin user who performed the override.
|
void |
setComment(String comment)
The optional, long-form comment explaining any extra context for the override.
|
void |
setOriginalAmount(javax.money.MonetaryAmount originalAmount)
The amount contained in the field prior to being overridden.
|
void |
setOverrideAmount(javax.money.MonetaryAmount overrideAmount)
The amount which the field has been overridden to.
|
void |
setReason(String reason)
The reason the override was performed, for example, "Price Match".
|
void |
setType(String type)
The type of override performed, e.g.
|
void |
setUserId(String userId)
The user ID of the admin user who performed the override.
|
String |
toString() |
public String getUserId()
public String getAuthor()
public String getType()
DefaultOverrideTypes
public javax.money.MonetaryAmount getOriginalAmount()
public javax.money.MonetaryAmount getOverrideAmount()
@Nullable public String getReason()
@Nullable public String getComment()
public void setUserId(String userId)
userId
- The ID of the admin user who performed the override.public void setAuthor(String author)
userId
- The admin user who performed the override.public void setType(String type)
type
- The type of override performed.DefaultOverrideTypes
public void setOriginalAmount(javax.money.MonetaryAmount originalAmount)
originalAmount
- The amount contained in the field prior to being overridden.public void setOverrideAmount(javax.money.MonetaryAmount overrideAmount)
overrideAmount
- The amount which the field has been overridden to.public void setReason(@Nullable String reason)
reason
- The reason the override was performed.public void setComment(@Nullable String comment)
comment
- The optional, long-form comment explaining any extra context for the override.protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.