Class MainBillingPayload

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

public class MainBillingPayload extends Object
MainBillingPayload
  • Field Details

  • Constructor Details

    • MainBillingPayload

      public MainBillingPayload()
  • Method Details

    • address

      public MainBillingPayload address(@Nullable String address)
    • getAddress

      @Nullable public String getAddress()
      Address of the user
      Returns:
      address
    • setAddress

      public void setAddress(@Nullable String address)
    • city

      public MainBillingPayload city(@Nullable String city)
    • getCity

      @Nullable public String getCity()
      City of the user
      Returns:
      city
    • setCity

      public void setCity(@Nullable String city)
    • countryCode

      public MainBillingPayload countryCode(@Nullable String countryCode)
    • getCountryCode

      @Nullable public String getCountryCode()
      Country code of the user
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(@Nullable String countryCode)
    • paymentMethod

      public MainBillingPayload paymentMethod(@Nullable String paymentMethod)
    • getPaymentMethod

      @Nullable public String getPaymentMethod()
      Payment method opted by the user
      Returns:
      paymentMethod
    • setPaymentMethod

      public void setPaymentMethod(@Nullable String paymentMethod)
    • phone

      public MainBillingPayload phone(@Nullable Long phone)
    • getPhone

      @Nullable public Long getPhone()
      Phone number of the user
      Returns:
      phone
    • setPhone

      public void setPhone(@Nullable Long phone)
    • postCode

      public MainBillingPayload postCode(@Nullable Long postCode)
    • getPostCode

      @Nullable public Long getPostCode()
      Postal Code of user's location
      Returns:
      postCode
    • setPostCode

      public void setPostCode(@Nullable Long postCode)
    • region

      public MainBillingPayload region(@Nullable String region)
    • getRegion

      @Nullable public String getRegion()
      Region where user resides
      Returns:
      region
    • setRegion

      public void setRegion(@Nullable String region)
    • 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