Package software.xdev.brevo.model
Class GetCouponCollection
java.lang.Object
software.xdev.brevo.model.GetCouponCollection
GetCouponCollection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) defaultCoupon(String defaultCoupon) booleanDatetime on which the collection was createdThe default coupon of the collectiongetId()The id of the collectiongetName()The name of the collectionNot sent coupons in the collectionTotal coupons in the collectioninthashCode()remainingCoupons(Long remainingCoupons) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDefaultCoupon(String defaultCoupon) voidvoidvoidsetRemainingCoupons(Long remainingCoupons) voidsetTotalCoupons(Long totalCoupons) toString()totalCoupons(Long totalCoupons) Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DEFAULT_COUPON
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_TOTAL_COUPONS
- See Also:
-
JSON_PROPERTY_REMAINING_COUPONS
- See Also:
-
-
Constructor Details
-
GetCouponCollection
public GetCouponCollection()
-
-
Method Details
-
id
-
getId
The id of the collection- Returns:
- id
-
setId
-
name
-
getName
The name of the collection- Returns:
- name
-
setName
-
defaultCoupon
-
getDefaultCoupon
The default coupon of the collection- Returns:
- defaultCoupon
-
setDefaultCoupon
-
createdAt
-
getCreatedAt
Datetime on which the collection was created- Returns:
- createdAt
-
setCreatedAt
-
totalCoupons
-
getTotalCoupons
Total coupons in the collection- Returns:
- totalCoupons
-
setTotalCoupons
-
remainingCoupons
-
getRemainingCoupons
Not sent coupons in the collection- Returns:
- remainingCoupons
-
setRemainingCoupons
-
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
-