Class GetAccountAllOfPlan

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

public class GetAccountAllOfPlan extends Object
GetAccountAllOfPlan
  • Field Details

  • Constructor Details

    • GetAccountAllOfPlan

      public GetAccountAllOfPlan()
  • Method Details

    • type

    • getType

      @Nonnull public GetAccountAllOfPlan.TypeEnum getType()
      Displays the plan type of the user
      Returns:
      type
    • setType

      public void setType(@Nonnull GetAccountAllOfPlan.TypeEnum type)
    • creditsType

      public GetAccountAllOfPlan creditsType(@Nonnull GetAccountAllOfPlan.CreditsTypeEnum creditsType)
    • getCreditsType

      @Nonnull public GetAccountAllOfPlan.CreditsTypeEnum getCreditsType()
      This is the type of the credit, \"Send Limit\" is one of the possible types of credit of a user. \"Send Limit\" implies the total number of emails you can send to the subscribers in your account.
      Returns:
      creditsType
    • setCreditsType

      public void setCreditsType(@Nonnull GetAccountAllOfPlan.CreditsTypeEnum creditsType)
    • credits

      public GetAccountAllOfPlan credits(@Nonnull Float credits)
    • getCredits

      @Nonnull public Float getCredits()
      Remaining credits of the user
      Returns:
      credits
    • setCredits

      public void setCredits(@Nonnull Float credits)
    • startDate

      public GetAccountAllOfPlan startDate(@Nullable LocalDate startDate)
    • getStartDate

      @Nullable public LocalDate getStartDate()
      Date of the period from which the plan will start (only available for \"subscription\" plan type)
      Returns:
      startDate
    • setStartDate

      public void setStartDate(@Nullable LocalDate startDate)
    • endDate

      public GetAccountAllOfPlan endDate(@Nullable LocalDate endDate)
    • getEndDate

      @Nullable public LocalDate getEndDate()
      Date of the period from which the plan will end (only available for \"subscription\" plan type)
      Returns:
      endDate
    • setEndDate

      public void setEndDate(@Nullable LocalDate endDate)
    • 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