Package com.adyen.model.balanceplatform
Class PaginatedGetCardOrderResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.PaginatedGetCardOrderResponse
-
public class PaginatedGetCardOrderResponse extends Object
PaginatedGetCardOrderResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CARD_ORDERSstatic StringJSON_PROPERTY_HAS_NEXTstatic StringJSON_PROPERTY_HAS_PREVIOUS
-
Constructor Summary
Constructors Constructor Description PaginatedGetCardOrderResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedGetCardOrderResponseaddCardOrdersItem(CardOrder cardOrdersItem)PaginatedGetCardOrderResponsecardOrders(List<CardOrder> cardOrders)booleanequals(Object o)Return true if this PaginatedGetCardOrderResponse object is equal to o.static PaginatedGetCardOrderResponsefromJson(String jsonString)Create an instance of PaginatedGetCardOrderResponse given an JSON stringList<CardOrder>getCardOrders()Contains objects with information about card orders.BooleangetHasNext()Indicates whether there are more items on the next page.BooleangetHasPrevious()Indicates whether there are more items on the previous page.inthashCode()PaginatedGetCardOrderResponsehasNext(Boolean hasNext)PaginatedGetCardOrderResponsehasPrevious(Boolean hasPrevious)voidsetCardOrders(List<CardOrder> cardOrders)Contains objects with information about card orders.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.StringtoJson()Convert an instance of PaginatedGetCardOrderResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CARD_ORDERS
public static final String JSON_PROPERTY_CARD_ORDERS
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
cardOrders
public PaginatedGetCardOrderResponse cardOrders(List<CardOrder> cardOrders)
-
addCardOrdersItem
public PaginatedGetCardOrderResponse addCardOrdersItem(CardOrder cardOrdersItem)
-
getCardOrders
public List<CardOrder> getCardOrders()
Contains objects with information about card orders.- Returns:
- cardOrders
-
setCardOrders
public void setCardOrders(List<CardOrder> cardOrders)
Contains objects with information about card orders.- Parameters:
cardOrders-
-
hasNext
public PaginatedGetCardOrderResponse 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)
Indicates whether there are more items on the next page.- Parameters:
hasNext-
-
hasPrevious
public PaginatedGetCardOrderResponse 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)
Indicates whether there are more items on the previous page.- Parameters:
hasPrevious-
-
equals
public boolean equals(Object o)
Return true if this PaginatedGetCardOrderResponse object is equal to o.
-
fromJson
public static PaginatedGetCardOrderResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaginatedGetCardOrderResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaginatedGetCardOrderResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaginatedGetCardOrderResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaginatedGetCardOrderResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-