Package com.adyen.model.balanceplatform
Class BalanceSweepConfigurationsResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.BalanceSweepConfigurationsResponse
-
public class BalanceSweepConfigurationsResponse extends Object
BalanceSweepConfigurationsResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HAS_NEXTstatic StringJSON_PROPERTY_HAS_PREVIOUSstatic StringJSON_PROPERTY_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)Return true if this BalanceSweepConfigurationsResponse object is equal to 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)Indicates whether there are more items on the next page.BalanceSweepConfigurationsResponsehasPrevious(Boolean hasPrevious)Indicates whether there are more items on the previous page.voidsetHasNext(Boolean hasNext)Indicates whether there are more items on the next page.voidsetHasPrevious(Boolean hasPrevious)Indicates whether there are more items on the previous page.voidsetSweeps(List<SweepConfigurationV2> sweeps)List of sweeps associated with the balance account.BalanceSweepConfigurationsResponsesweeps(List<SweepConfigurationV2> sweeps)List of sweeps associated with the balance account.StringtoJson()Convert an instance of BalanceSweepConfigurationsResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HAS_NEXT
public static final String JSON_PROPERTY_HAS_NEXT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HAS_PREVIOUS
public static final String JSON_PROPERTY_HAS_PREVIOUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SWEEPS
public static final String JSON_PROPERTY_SWEEPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasNext
public BalanceSweepConfigurationsResponse hasNext(Boolean hasNext)
Indicates whether there are more items on the next page.- Parameters:
hasNext-- Returns:
- the current
BalanceSweepConfigurationsResponseinstance, allowing for method chaining
-
getHasNext
public Boolean getHasNext()
Indicates whether there are more items on the next page.- Returns:
- hasNext
-
setHasNext
public void setHasNext(Boolean hasNext)
Indicates whether there are more items on the next page.- Parameters:
hasNext-
-
hasPrevious
public BalanceSweepConfigurationsResponse hasPrevious(Boolean hasPrevious)
Indicates whether there are more items on the previous page.- Parameters:
hasPrevious-- Returns:
- the current
BalanceSweepConfigurationsResponseinstance, allowing for method chaining
-
getHasPrevious
public Boolean getHasPrevious()
Indicates whether there are more items on the previous page.- Returns:
- hasPrevious
-
setHasPrevious
public void setHasPrevious(Boolean hasPrevious)
Indicates whether there are more items on the previous page.- Parameters:
hasPrevious-
-
sweeps
public BalanceSweepConfigurationsResponse sweeps(List<SweepConfigurationV2> sweeps)
List of sweeps associated with the balance account.- Parameters:
sweeps-- Returns:
- the current
BalanceSweepConfigurationsResponseinstance, allowing for method chaining
-
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)
List of sweeps associated with the balance account.- Parameters:
sweeps-
-
equals
public boolean equals(Object o)
Return true if this BalanceSweepConfigurationsResponse object is equal to o.
-
fromJson
public static BalanceSweepConfigurationsResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BalanceSweepConfigurationsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BalanceSweepConfigurationsResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BalanceSweepConfigurationsResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BalanceSweepConfigurationsResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-