Package io.voucherify.client.model
Class VouchersUpdateInBulkItemRequestBody
java.lang.Object
io.voucherify.client.model.VouchersUpdateInBulkItemRequestBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VouchersUpdateInBulkItemRequestBody
extends Object
VouchersUpdateInBulkItemRequestBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of VouchersUpdateInBulkItemRequestBody given an JSON stringgetCode()Unique voucher code.The metadata object stores all custom attributes assigned to the code.inthashCode()voidvoidsetMetadata(Object metadata) toJson()Convert an instance of VouchersUpdateInBulkItemRequestBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_CODE
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VouchersUpdateInBulkItemRequestBody
public VouchersUpdateInBulkItemRequestBody()
-
-
Method Details
-
code
-
getCode
Unique voucher code.- Returns:
- code
-
setCode
-
metadata
-
getMetadata
The metadata object stores all custom attributes assigned to the code. A set of key/value pairs that you can attach to a voucher object. It can be useful for storing additional information about the voucher in a structured format.- Returns:
- metadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of VouchersUpdateInBulkItemRequestBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VouchersUpdateInBulkItemRequestBody
- Throws:
IOException- if the JSON string is invalid with respect to VouchersUpdateInBulkItemRequestBody
-
toJson
Convert an instance of VouchersUpdateInBulkItemRequestBody to an JSON string- Returns:
- JSON string
-