Package com.adyen.model.balanceplatform
Class BalanceSweepConfigurationsResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.BalanceSweepConfigurationsResponse
-
public class BalanceSweepConfigurationsResponse extends Object
BalanceSweepConfigurationsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBalanceSweepConfigurationsResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_HAS_NEXTstatic StringSERIALIZED_NAME_HAS_PREVIOUSstatic StringSERIALIZED_NAME_SWEEPS
-
Constructor Summary
Constructors Constructor Description BalanceSweepConfigurationsResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BalanceSweepConfigurationsResponseaddSweepsItem(SweepConfigurationV2 sweepsItem)booleanequals(Object o)static BalanceSweepConfigurationsResponsefromJson(String jsonString)Create an instance of BalanceSweepConfigurationsResponse given an JSON stringBooleangetHasNext()Indicates whether there are more items on the next page.BooleangetHasPrevious()Indicates whether there are more items on the previous page.List<SweepConfigurationV2>getSweeps()List of sweeps associated with the balance account.inthashCode()BalanceSweepConfigurationsResponsehasNext(Boolean hasNext)BalanceSweepConfigurationsResponsehasPrevious(Boolean hasPrevious)voidsetHasNext(Boolean hasNext)voidsetHasPrevious(Boolean hasPrevious)voidsetSweeps(List<SweepConfigurationV2> sweeps)BalanceSweepConfigurationsResponsesweeps(List<SweepConfigurationV2> sweeps)StringtoJson()Convert an instance of BalanceSweepConfigurationsResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_HAS_NEXT
public static final String SERIALIZED_NAME_HAS_NEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HAS_PREVIOUS
public static final String SERIALIZED_NAME_HAS_PREVIOUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SWEEPS
public static final String SERIALIZED_NAME_SWEEPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasNext
public BalanceSweepConfigurationsResponse hasNext(Boolean hasNext)
-
getHasNext
public Boolean getHasNext()
Indicates whether there are more items on the next page.- Returns:
- hasNext
-
setHasNext
public void setHasNext(Boolean hasNext)
-
hasPrevious
public BalanceSweepConfigurationsResponse hasPrevious(Boolean hasPrevious)
-
getHasPrevious
public Boolean getHasPrevious()
Indicates whether there are more items on the previous page.- Returns:
- hasPrevious
-
setHasPrevious
public void setHasPrevious(Boolean hasPrevious)
-
sweeps
public BalanceSweepConfigurationsResponse sweeps(List<SweepConfigurationV2> sweeps)
-
addSweepsItem
public BalanceSweepConfigurationsResponse addSweepsItem(SweepConfigurationV2 sweepsItem)
-
getSweeps
public List<SweepConfigurationV2> getSweeps()
List of sweeps associated with the balance account.- Returns:
- sweeps
-
setSweeps
public void setSweeps(List<SweepConfigurationV2> sweeps)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to BalanceSweepConfigurationsResponse
-
fromJson
public static BalanceSweepConfigurationsResponse fromJson(String jsonString) throws IOException
Create an instance of BalanceSweepConfigurationsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BalanceSweepConfigurationsResponse
- Throws:
IOException- if the JSON string is invalid with respect to BalanceSweepConfigurationsResponse
-
toJson
public String toJson()
Convert an instance of BalanceSweepConfigurationsResponse to an JSON string- Returns:
- JSON string
-
-