Package io.voucherify.client.model
Class RedemptionsListResponseBodyRedemptionsItemCustomer
java.lang.Object
io.voucherify.client.model.RedemptionsListResponseBodyRedemptionsItemCustomer
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionsListResponseBodyRedemptionsItemCustomer
extends Object
RedemptionsListResponseBodyRedemptionsItemCustomer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RedemptionsListResponseBodyRedemptionsItemCustomer given an JSON stringgetEmail()Customer's email address.getId()Unique identifier of an existing customer.Get metadatagetName()Customer's first and last name.The type of the object represented by JSON.A unique identifier of the customer.inthashCode()voidvoidvoidsetMetadata(Object metadata) voidvoidvoidsetSourceId(String sourceId) toJson()Convert an instance of RedemptionsListResponseBodyRedemptionsItemCustomer to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_SOURCE_ID
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RedemptionsListResponseBodyRedemptionsItemCustomer
public RedemptionsListResponseBodyRedemptionsItemCustomer()
-
-
Method Details
-
id
-
getId
Unique identifier of an existing customer. It is assigned by Voucherify.- Returns:
- id
-
setId
-
name
-
getName
-
setName
-
email
-
getEmail
-
setEmail
-
sourceId
-
getSourceId
A unique identifier of the customer. It can be a customer ID or email from a CRM system, database, or a third-party service.- Returns:
- sourceId
-
setSourceId
-
metadata
-
getMetadata
-
setMetadata
-
_object
-
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
equals
-
hashCode
-
toString
-
fromJson
public static RedemptionsListResponseBodyRedemptionsItemCustomer fromJson(String jsonString) throws IOException Create an instance of RedemptionsListResponseBodyRedemptionsItemCustomer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionsListResponseBodyRedemptionsItemCustomer
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionsListResponseBodyRedemptionsItemCustomer
-
toJson
Convert an instance of RedemptionsListResponseBodyRedemptionsItemCustomer to an JSON string- Returns:
- JSON string
-