Package io.voucherify.client.model
Class RedemptionEntryCustomer
java.lang.Object
io.voucherify.client.model.RedemptionEntryCustomer
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionEntryCustomer
extends Object
RedemptionEntryCustomer
-
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 TypeMethodDescriptionbooleanstatic RedemptionEntryCustomerCreate an instance of RedemptionEntryCustomer 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 RedemptionEntryCustomer 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
-
RedemptionEntryCustomer
public RedemptionEntryCustomer()
-
-
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
Create an instance of RedemptionEntryCustomer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionEntryCustomer
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionEntryCustomer
-
toJson
Convert an instance of RedemptionEntryCustomer to an JSON string- Returns:
- JSON string
-