Package io.voucherify.client.model
Class OrdersExportCreateRequestBodyParameters
java.lang.Object
io.voucherify.client.model.OrdersExportCreateRequestBodyParameters
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class OrdersExportCreateRequestBodyParameters
extends Object
List of available fields and filters that can be exported with an order along with the sorting order of the returned data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFieldsItem(ExportOrderFields fieldsItem) booleanfields(List<ExportOrderFields> fields) Create an instance of OrdersExportCreateRequestBodyParameters given an JSON stringArray of strings containing the data in the export.Allowed additional properties must start with \"metadata.\"getOrder()Get orderinthashCode()order(ExportOrderOrder order) voidsetFields(List<ExportOrderFields> fields) voidsetFilters(Object filters) voidsetOrder(ExportOrderOrder order) toJson()Convert an instance of OrdersExportCreateRequestBodyParameters to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ORDER
- See Also:
-
SERIALIZED_NAME_FIELDS
- See Also:
-
SERIALIZED_NAME_FILTERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OrdersExportCreateRequestBodyParameters
public OrdersExportCreateRequestBodyParameters()
-
-
Method Details
-
order
-
getOrder
Get order- Returns:
- order
-
setOrder
-
fields
-
addFieldsItem
-
getFields
Array of strings containing the data in the export. These fields define the headers in the CSV file.- Returns:
- fields
-
setFields
-
filters
-
getFilters
Allowed additional properties must start with \"metadata.\"- Returns:
- filters
-
setFilters
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static OrdersExportCreateRequestBodyParameters fromJson(String jsonString) throws IOException Create an instance of OrdersExportCreateRequestBodyParameters given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OrdersExportCreateRequestBodyParameters
- Throws:
IOException- if the JSON string is invalid with respect to OrdersExportCreateRequestBodyParameters
-
toJson
Convert an instance of OrdersExportCreateRequestBodyParameters to an JSON string- Returns:
- JSON string
-