Class AccountProcessingState
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.AccountProcessingState
-
public class AccountProcessingState extends Object
AccountProcessingState
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISABLE_REASONstatic StringJSON_PROPERTY_DISABLEDstatic StringJSON_PROPERTY_PROCESSED_FROMstatic StringJSON_PROPERTY_PROCESSED_TOstatic StringJSON_PROPERTY_TIER_NUMBER
-
Constructor Summary
Constructors Constructor Description AccountProcessingState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountProcessingStatedisabled(Boolean disabled)AccountProcessingStatedisableReason(String disableReason)booleanequals(Object o)Return true if this AccountProcessingState object is equal to o.static AccountProcessingStatefromJson(String jsonString)Create an instance of AccountProcessingState given an JSON stringBooleangetDisabled()Indicates whether the processing of payments is allowed.StringgetDisableReason()The reason why processing has been disabled.AmountgetProcessedFrom()Get processedFromAmountgetProcessedTo()Get processedToIntegergetTierNumber()The processing tier that the account holder occupies.inthashCode()AccountProcessingStateprocessedFrom(Amount processedFrom)AccountProcessingStateprocessedTo(Amount processedTo)voidsetDisabled(Boolean disabled)voidsetDisableReason(String disableReason)voidsetProcessedFrom(Amount processedFrom)voidsetProcessedTo(Amount processedTo)voidsetTierNumber(Integer tierNumber)AccountProcessingStatetierNumber(Integer tierNumber)StringtoJson()Convert an instance of AccountProcessingState to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DISABLE_REASON
public static final String JSON_PROPERTY_DISABLE_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISABLED
public static final String JSON_PROPERTY_DISABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESSED_FROM
public static final String JSON_PROPERTY_PROCESSED_FROM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESSED_TO
public static final String JSON_PROPERTY_PROCESSED_TO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIER_NUMBER
public static final String JSON_PROPERTY_TIER_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
disableReason
public AccountProcessingState disableReason(String disableReason)
-
getDisableReason
public String getDisableReason()
The reason why processing has been disabled.- Returns:
- disableReason
-
setDisableReason
public void setDisableReason(String disableReason)
-
disabled
public AccountProcessingState disabled(Boolean disabled)
-
getDisabled
public Boolean getDisabled()
Indicates whether the processing of payments is allowed.- Returns:
- disabled
-
setDisabled
public void setDisabled(Boolean disabled)
-
processedFrom
public AccountProcessingState processedFrom(Amount processedFrom)
-
getProcessedFrom
public Amount getProcessedFrom()
Get processedFrom- Returns:
- processedFrom
-
setProcessedFrom
public void setProcessedFrom(Amount processedFrom)
-
processedTo
public AccountProcessingState processedTo(Amount processedTo)
-
getProcessedTo
public Amount getProcessedTo()
Get processedTo- Returns:
- processedTo
-
setProcessedTo
public void setProcessedTo(Amount processedTo)
-
tierNumber
public AccountProcessingState tierNumber(Integer tierNumber)
-
getTierNumber
public Integer getTierNumber()
The processing tier that the account holder occupies.- Returns:
- tierNumber
-
setTierNumber
public void setTierNumber(Integer tierNumber)
-
equals
public boolean equals(Object o)
Return true if this AccountProcessingState object is equal to o.
-
fromJson
public static AccountProcessingState fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountProcessingState given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountProcessingState
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountProcessingState
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountProcessingState to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-