Package software.xdev.brevo.model
Class SubAccountUpdatePlanRequestCredits
java.lang.Object
software.xdev.brevo.model.SubAccountUpdatePlanRequestCredits
Credit details to update
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexternalFeeds(BigDecimal externalFeeds) getEmail()Number of email credits | Pass the value -1 for unlimited emails in ENTv2 onlyNumber of externalFeeds credits, possible values are 0 or 1 |available in ENTv2 onlygetSms()Number of SMS credits | Pass the value -1 for unlimited SMS in ENTv2 onlyNumber of whatsapp credits | Pass the value -1 for unlimited whatsapp in ENTv2 onlyNumber of Push credits, possible value is 0 and -1 | available in ENT-v2 onlyinthashCode()voidvoidsetExternalFeeds(BigDecimal externalFeeds) voidvoidsetWhatsapp(Float whatsapp) voidsetWpSubscribers(Long wpSubscribers) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.wpSubscribers(Long wpSubscribers)
-
Field Details
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_SMS
- See Also:
-
JSON_PROPERTY_WP_SUBSCRIBERS
- See Also:
-
JSON_PROPERTY_EXTERNAL_FEEDS
- See Also:
-
JSON_PROPERTY_WHATSAPP
- See Also:
-
-
Constructor Details
-
SubAccountUpdatePlanRequestCredits
public SubAccountUpdatePlanRequestCredits()
-
-
Method Details
-
email
-
getEmail
Number of email credits | Pass the value -1 for unlimited emails in ENTv2 only- Returns:
-
setEmail
-
sms
-
getSms
Number of SMS credits | Pass the value -1 for unlimited SMS in ENTv2 only- Returns:
- sms
-
setSms
-
wpSubscribers
-
getWpSubscribers
Number of Push credits, possible value is 0 and -1 | available in ENT-v2 only- Returns:
- wpSubscribers
-
setWpSubscribers
-
externalFeeds
-
getExternalFeeds
Number of externalFeeds credits, possible values are 0 or 1 |available in ENTv2 only- Returns:
- externalFeeds
-
setExternalFeeds
-
whatsapp
-
getWhatsapp
Number of whatsapp credits | Pass the value -1 for unlimited whatsapp in ENTv2 only- Returns:
-
setWhatsapp
-
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
-