Package software.xdev.brevo.model
Class MainCreateRedeemPayload
java.lang.Object
software.xdev.brevo.model.MainCreateRedeemPayload
MainCreateRedeemPayload
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributedRewardId(UUID attributedRewardId) booleanUnique identifier for the attributed rewardgetCode()Redemption code for the rewardUnique identifier for the contact minimum: 1Identifier for the loyalty subscriptiongetMeta()Additional metadata associated with the redeem requestgetOrder()Order details for the redemptionUnique identifier for the rewardgetTtl()Time to live in seconds for the redemption request minimum: 0inthashCode()loyaltySubscriptionId(String loyaltySubscriptionId) order(MainOrderPayload order) putMetaItem(String key, Object metaItem) voidsetAttributedRewardId(UUID attributedRewardId) voidvoidsetContactId(Long contactId) voidsetLoyaltySubscriptionId(String loyaltySubscriptionId) voidvoidsetOrder(MainOrderPayload order) voidsetRewardId(UUID rewardId) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ATTRIBUTED_REWARD_ID
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_SUBSCRIPTION_ID
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_ORDER
- See Also:
-
JSON_PROPERTY_REWARD_ID
- See Also:
-
JSON_PROPERTY_TTL
- See Also:
-
-
Constructor Details
-
MainCreateRedeemPayload
public MainCreateRedeemPayload()
-
-
Method Details
-
attributedRewardId
-
getAttributedRewardId
Unique identifier for the attributed reward- Returns:
- attributedRewardId
-
setAttributedRewardId
-
code
-
getCode
Redemption code for the reward- Returns:
- code
-
setCode
-
contactId
-
getContactId
Unique identifier for the contact minimum: 1- Returns:
- contactId
-
setContactId
-
loyaltySubscriptionId
-
getLoyaltySubscriptionId
Identifier for the loyalty subscription- Returns:
- loyaltySubscriptionId
-
setLoyaltySubscriptionId
-
meta
-
putMetaItem
-
getMeta
Additional metadata associated with the redeem request- Returns:
- meta
-
setMeta
-
order
-
getOrder
Order details for the redemption- Returns:
- order
-
setOrder
-
rewardId
-
getRewardId
Unique identifier for the reward- Returns:
- rewardId
-
setRewardId
-
ttl
-
getTtl
Time to live in seconds for the redemption request minimum: 0- Returns:
- ttl
-
setTtl
-
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
-