Package com.adyen.model.tapi
Class StoredValueAccountStatus
- java.lang.Object
-
- com.adyen.model.tapi.StoredValueAccountStatus
-
public class StoredValueAccountStatus extends Object
StoredValueAccountStatus
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURRENT_BALANCEstatic StringJSON_PROPERTY_STORED_VALUE_ACCOUNT_I_D
-
Constructor Summary
Constructors Constructor Description StoredValueAccountStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StoredValueAccountStatuscurrentBalance(BigDecimal currentBalance)If relevant and known.booleanequals(Object o)Return true if this StoredValueAccountStatus object is equal to o.static StoredValueAccountStatusfromJson(String jsonString)Create an instance of StoredValueAccountStatus given an JSON stringBigDecimalgetCurrentBalance()If relevant and known. minimum: 0.0 maximum: 99999999.999999Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StoredValueAccountIDgetStoredValueAccountID()Get storedValueAccountIDinthashCode()StoredValueAccountStatusincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetCurrentBalance(BigDecimal currentBalance)If relevant and known.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetStoredValueAccountID(StoredValueAccountID storedValueAccountID)storedValueAccountIDStoredValueAccountStatusstoredValueAccountID(StoredValueAccountID storedValueAccountID)storedValueAccountIDStringtoJson()Convert an instance of StoredValueAccountStatus to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_STORED_VALUE_ACCOUNT_I_D
public static final String JSON_PROPERTY_STORED_VALUE_ACCOUNT_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENT_BALANCE
public static final String JSON_PROPERTY_CURRENT_BALANCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
storedValueAccountID
public StoredValueAccountStatus storedValueAccountID(StoredValueAccountID storedValueAccountID)
storedValueAccountID- Parameters:
storedValueAccountID-- Returns:
- the current
StoredValueAccountStatusinstance, allowing for method chaining
-
getStoredValueAccountID
public StoredValueAccountID getStoredValueAccountID()
Get storedValueAccountID- Returns:
- storedValueAccountID
-
setStoredValueAccountID
public void setStoredValueAccountID(StoredValueAccountID storedValueAccountID)
storedValueAccountID- Parameters:
storedValueAccountID-
-
currentBalance
public StoredValueAccountStatus currentBalance(BigDecimal currentBalance)
If relevant and known.- Parameters:
currentBalance- If relevant and known.- Returns:
- the current
StoredValueAccountStatusinstance, allowing for method chaining
-
getCurrentBalance
public BigDecimal getCurrentBalance()
If relevant and known. minimum: 0.0 maximum: 99999999.999999- Returns:
- currentBalance If relevant and known.
-
setCurrentBalance
public void setCurrentBalance(BigDecimal currentBalance)
If relevant and known.- Parameters:
currentBalance- If relevant and known.
-
includeNullValues
public StoredValueAccountStatus includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this StoredValueAccountStatus object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static StoredValueAccountStatus fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of StoredValueAccountStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoredValueAccountStatus
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to StoredValueAccountStatus
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of StoredValueAccountStatus to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-