Package software.xdev.brevo.model
Class Subscription
java.lang.Object
software.xdev.brevo.model.Subscription
Subscription
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanUnique identifier of the contact.Timestamp when the subscription was created.Unique identifier of the loyalty program.Unique identifier of the subscription.Unique identifier of the organization.Timestamp when the subscription was last updated.Version number of the subscription.inthashCode()loyaltyProgramId(String loyaltyProgramId) loyaltySubscriptionId(String loyaltySubscriptionId) organizationId(Integer organizationId) voidsetContactId(Integer contactId) voidsetCreatedAt(String createdAt) voidsetLoyaltyProgramId(String loyaltyProgramId) voidsetLoyaltySubscriptionId(String loyaltySubscriptionId) voidsetOrganizationId(Integer organizationId) voidsetUpdatedAt(String updatedAt) voidsetVersionId(Integer versionId) 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_CREATED_AT
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_SUBSCRIPTION_ID
- See Also:
-
JSON_PROPERTY_ORGANIZATION_ID
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_VERSION_ID
- See Also:
-
-
Constructor Details
-
Subscription
public Subscription()
-
-
Method Details
-
contactId
-
getContactId
Unique identifier of the contact.- Returns:
- contactId
-
setContactId
-
createdAt
-
getCreatedAt
Timestamp when the subscription was created.- Returns:
- createdAt
-
setCreatedAt
-
loyaltyProgramId
-
getLoyaltyProgramId
Unique identifier of the loyalty program.- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
loyaltySubscriptionId
-
getLoyaltySubscriptionId
Unique identifier of the subscription.- Returns:
- loyaltySubscriptionId
-
setLoyaltySubscriptionId
-
organizationId
-
getOrganizationId
Unique identifier of the organization.- Returns:
- organizationId
-
setOrganizationId
-
updatedAt
-
getUpdatedAt
Timestamp when the subscription was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
versionId
-
getVersionId
Version number of the subscription.- Returns:
- versionId
-
setVersionId
-
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
-