Package software.xdev.brevo.model
Class MainModelContactRewardsResp
java.lang.Object
software.xdev.brevo.model.MainModelContactRewardsResp
MainModelContactRewardsResp
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContactRewardsItem(MainModelContactReward contactRewardsItem) contactRewards(List<MainModelContactReward> contactRewards) booleanContact id associated with the current rewardList of all the rewards for current contactgetCount()Count of the rewards associated with the current contactLoyalty Program Id for the contactLoyalty Subscription Id for the contactinthashCode()loyaltyProgramId(String loyaltyProgramId) loyaltySubscriptionId(String loyaltySubscriptionId) voidsetContactId(Long contactId) voidsetContactRewards(List<MainModelContactReward> contactRewards) voidvoidsetLoyaltyProgramId(String loyaltyProgramId) voidsetLoyaltySubscriptionId(String loyaltySubscriptionId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_CONTACT_REWARDS
- See Also:
-
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_SUBSCRIPTION_ID
- See Also:
-
-
Constructor Details
-
MainModelContactRewardsResp
public MainModelContactRewardsResp()
-
-
Method Details
-
contactId
-
getContactId
Contact id associated with the current reward- Returns:
- contactId
-
setContactId
-
contactRewards
public MainModelContactRewardsResp contactRewards(@Nullable List<MainModelContactReward> contactRewards) -
addContactRewardsItem
-
getContactRewards
List of all the rewards for current contact- Returns:
- contactRewards
-
setContactRewards
-
count
-
getCount
Count of the rewards associated with the current contact- Returns:
- count
-
setCount
-
loyaltyProgramId
-
getLoyaltyProgramId
Loyalty Program Id for the contact- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
loyaltySubscriptionId
-
getLoyaltySubscriptionId
Loyalty Subscription Id for the contact- Returns:
- loyaltySubscriptionId
-
setLoyaltySubscriptionId
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-