Package io.voucherify.client.model
Class VouchersTransactionsListResponseBody
java.lang.Object
io.voucherify.client.model.VouchersTransactionsListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VouchersTransactionsListResponseBody
extends Object
Response body schema for **GET** `v1/vouchers/{code}/transactions`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of transaction objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(VoucherTransaction dataItem) data(List<VoucherTransaction> data) booleanCreate an instance of VouchersTransactionsListResponseBody given an JSON stringgetData()A dictionary that contains an array of transactions.Identifies the name of the attribute that contains the array of transaction objects.As query results are always limited (by the limit parameter), the `has_more` flag indicates if there are more records for given filter parameters.Returns an ID that can be used to return another page of results.The type of the object represented by JSON.inthashCode()moreStartingAfter(String moreStartingAfter) voidsetData(List<VoucherTransaction> data) voidvoidsetHasMore(Boolean hasMore) voidsetMoreStartingAfter(String moreStartingAfter) voidtoJson()Convert an instance of VouchersTransactionsListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_HAS_MORE
- See Also:
-
SERIALIZED_NAME_MORE_STARTING_AFTER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VouchersTransactionsListResponseBody
public VouchersTransactionsListResponseBody()
-
-
Method Details
-
_object
public VouchersTransactionsListResponseBody _object(VouchersTransactionsListResponseBody.ObjectEnum _object) -
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
dataRef
public VouchersTransactionsListResponseBody dataRef(VouchersTransactionsListResponseBody.DataRefEnum dataRef) -
getDataRef
Identifies the name of the attribute that contains the array of transaction objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
A dictionary that contains an array of transactions. Each entry in the array is a separate transaction object.- Returns:
- data
-
setData
-
hasMore
-
getHasMore
As query results are always limited (by the limit parameter), the `has_more` flag indicates if there are more records for given filter parameters. This lets you know if you can run another request (with a different paging or a different start date filter) to get more records returned in the results.- Returns:
- hasMore
-
setHasMore
-
moreStartingAfter
-
getMoreStartingAfter
Returns an ID that can be used to return another page of results. Use the transaction ID in the `starting_after_id` query parameter to display another page of the results starting after the transaction with that ID.- Returns:
- moreStartingAfter
-
setMoreStartingAfter
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of VouchersTransactionsListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VouchersTransactionsListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to VouchersTransactionsListResponseBody
-
toJson
Convert an instance of VouchersTransactionsListResponseBody to an JSON string- Returns:
- JSON string
-