Package software.xdev.brevo.model
Class CreateCouponCollectionRequest
java.lang.Object
software.xdev.brevo.model.CreateCouponCollectionRequest
CreateCouponCollectionRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultCoupon(String defaultCoupon) booleanA default coupon to be used in case there are no coupons leftgetName()Name of the collection with no white spaces between wordsinthashCode()voidsetDefaultCoupon(String defaultCoupon) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DEFAULT_COUPON
- See Also:
-
-
Constructor Details
-
CreateCouponCollectionRequest
public CreateCouponCollectionRequest()
-
-
Method Details
-
name
-
getName
Name of the collection with no white spaces between words- Returns:
- name
-
setName
-
defaultCoupon
-
getDefaultCoupon
A default coupon to be used in case there are no coupons left- Returns:
- defaultCoupon
-
setDefaultCoupon
-
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
-