public class AccountCaptureChangePolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AccountCapturePolicy |
newValue |
protected AccountCapturePolicy |
previousValue |
Constructor and Description |
---|
AccountCaptureChangePolicyDetails(AccountCapturePolicy newValue)
Changed account capture setting on team domain.
|
AccountCaptureChangePolicyDetails(AccountCapturePolicy newValue,
AccountCapturePolicy previousValue)
Changed account capture setting on team domain.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AccountCapturePolicy |
getNewValue()
New account capture policy.
|
AccountCapturePolicy |
getPreviousValue()
Previous account capture policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final AccountCapturePolicy newValue
protected final AccountCapturePolicy previousValue
public AccountCaptureChangePolicyDetails(AccountCapturePolicy newValue, AccountCapturePolicy previousValue)
newValue
- New account capture policy. Must not be null
.previousValue
- Previous account capture policy. Might be missing
due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public AccountCaptureChangePolicyDetails(AccountCapturePolicy newValue)
The default values for unset fields will be used.
newValue
- New account capture policy. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public AccountCapturePolicy getNewValue()
null
.public AccountCapturePolicy getPreviousValue()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.