Package io.voucherify.client.model
Class CustomerLoyaltyCampaignsEntry
java.lang.Object
io.voucherify.client.model.CustomerLoyaltyCampaignsEntry
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomerLoyaltyCampaignsEntry
extends Object
Contains details about the point balances left on loyalty cards and the number of referred customers in each campaign.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CustomerLoyaltyCampaignsEntry given an JSON stringCustomer's loyalty tier within the campaign.Remaining point balance in campaign.Number of customers referred by the customer in campaign.inthashCode()loyaltyTier(String loyaltyTier) referredCustomers(Integer referredCustomers) voidsetLoyaltyTier(String loyaltyTier) voidvoidsetReferredCustomers(Integer referredCustomers) toJson()Convert an instance of CustomerLoyaltyCampaignsEntry to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_POINTS
- See Also:
-
SERIALIZED_NAME_LOYALTY_TIER
- See Also:
-
SERIALIZED_NAME_REFERRED_CUSTOMERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomerLoyaltyCampaignsEntry
public CustomerLoyaltyCampaignsEntry()
-
-
Method Details
-
points
-
getPoints
Remaining point balance in campaign.- Returns:
- points
-
setPoints
-
loyaltyTier
-
getLoyaltyTier
Customer's loyalty tier within the campaign.- Returns:
- loyaltyTier
-
setLoyaltyTier
-
referredCustomers
-
getReferredCustomers
Number of customers referred by the customer in campaign.- Returns:
- referredCustomers
-
setReferredCustomers
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CustomerLoyaltyCampaignsEntry given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomerLoyaltyCampaignsEntry
- Throws:
IOException- if the JSON string is invalid with respect to CustomerLoyaltyCampaignsEntry
-
toJson
Convert an instance of CustomerLoyaltyCampaignsEntry to an JSON string- Returns:
- JSON string
-