Package software.xdev.brevo.model
Class AddSubscriptionMemberPayload
java.lang.Object
software.xdev.brevo.model.AddSubscriptionMemberPayload
AddSubscriptionMemberPayload
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMemberContactIdsItem(Integer memberContactIdsItem) booleanRequired if LoyaltySubscriptionId is not provided, must be greater than 0Required if ContactId is not provided, max length 64Required, each item must be greater than or equal to 1inthashCode()loyaltySubscriptionId(String loyaltySubscriptionId) memberContactIds(List<Integer> memberContactIds) voidsetContactId(Integer contactId) voidsetLoyaltySubscriptionId(String loyaltySubscriptionId) voidsetMemberContactIds(List<Integer> memberContactIds) 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_LOYALTY_SUBSCRIPTION_ID
- See Also:
-
JSON_PROPERTY_MEMBER_CONTACT_IDS
- See Also:
-
-
Constructor Details
-
AddSubscriptionMemberPayload
public AddSubscriptionMemberPayload()
-
-
Method Details
-
contactId
-
getContactId
Required if LoyaltySubscriptionId is not provided, must be greater than 0- Returns:
- contactId
-
setContactId
-
loyaltySubscriptionId
-
getLoyaltySubscriptionId
Required if ContactId is not provided, max length 64- Returns:
- loyaltySubscriptionId
-
setLoyaltySubscriptionId
-
memberContactIds
-
addMemberContactIdsItem
-
getMemberContactIds
Required, each item must be greater than or equal to 1- Returns:
- memberContactIds
-
setMemberContactIds
-
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
-