Package io.voucherify.client.model
Class CustomerSummary
java.lang.Object
io.voucherify.client.model.CustomerSummary
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomerSummary
extends Object
CustomerSummary
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CustomerSummaryCreate an instance of CustomerSummary given an JSON stringGet ordersGet redemptionsinthashCode()orders(CustomerSummaryOrders orders) redemptions(CustomerSummaryRedemptions redemptions) voidsetOrders(CustomerSummaryOrders orders) voidsetRedemptions(CustomerSummaryRedemptions redemptions) toJson()Convert an instance of CustomerSummary to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_REDEMPTIONS
- See Also:
-
SERIALIZED_NAME_ORDERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomerSummary
public CustomerSummary()
-
-
Method Details
-
redemptions
-
getRedemptions
Get redemptions- Returns:
- redemptions
-
setRedemptions
-
orders
-
getOrders
Get orders- Returns:
- orders
-
setOrders
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CustomerSummary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomerSummary
- Throws:
IOException- if the JSON string is invalid with respect to CustomerSummary
-
toJson
Convert an instance of CustomerSummary to an JSON string- Returns:
- JSON string
-