Class SubAccountUpdatePlanRequestCredits

java.lang.Object
software.xdev.brevo.model.SubAccountUpdatePlanRequestCredits

public class SubAccountUpdatePlanRequestCredits extends Object
Credit details to update
  • Field Details

  • Constructor Details

    • SubAccountUpdatePlanRequestCredits

      public SubAccountUpdatePlanRequestCredits()
  • Method Details

    • email

      public SubAccountUpdatePlanRequestCredits email(@Nullable Long email)
    • getEmail

      @Nullable public Long getEmail()
      Number of email credits | Pass the value -1 for unlimited emails in ENTv2 only
      Returns:
      email
    • setEmail

      public void setEmail(@Nullable Long email)
    • sms

      public SubAccountUpdatePlanRequestCredits sms(@Nullable Float sms)
    • getSms

      @Nullable public Float getSms()
      Number of SMS credits | Pass the value -1 for unlimited SMS in ENTv2 only
      Returns:
      sms
    • setSms

      public void setSms(@Nullable Float sms)
    • wpSubscribers

      public SubAccountUpdatePlanRequestCredits wpSubscribers(@Nullable Long wpSubscribers)
    • getWpSubscribers

      @Nullable public Long getWpSubscribers()
      Number of Push credits, possible value is 0 and -1 | available in ENT-v2 only
      Returns:
      wpSubscribers
    • setWpSubscribers

      public void setWpSubscribers(@Nullable Long wpSubscribers)
    • externalFeeds

      public SubAccountUpdatePlanRequestCredits externalFeeds(@Nullable BigDecimal externalFeeds)
    • getExternalFeeds

      @Nullable public BigDecimal getExternalFeeds()
      Number of externalFeeds credits, possible values are 0 or 1 |available in ENTv2 only
      Returns:
      externalFeeds
    • setExternalFeeds

      public void setExternalFeeds(@Nullable BigDecimal externalFeeds)
    • whatsapp

      public SubAccountUpdatePlanRequestCredits whatsapp(@Nullable Float whatsapp)
    • getWhatsapp

      @Nullable public Float getWhatsapp()
      Number of whatsapp credits | Pass the value -1 for unlimited whatsapp in ENTv2 only
      Returns:
      whatsapp
    • setWhatsapp

      public void setWhatsapp(@Nullable Float whatsapp)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string