Class OrderBilling

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

public class OrderBilling extends Object
Billing details of an order.
  • Field Details

  • Constructor Details

    • OrderBilling

      public OrderBilling()
  • Method Details

    • address

      public OrderBilling address(@Nullable String address)
    • getAddress

      @Nullable public String getAddress()
      Full billing address.
      Returns:
      address
    • setAddress

      public void setAddress(@Nullable String address)
    • city

      public OrderBilling city(@Nullable String city)
    • getCity

      @Nullable public String getCity()
      Exact city of the address.
      Returns:
      city
    • setCity

      public void setCity(@Nullable String city)
    • countryCode

      public OrderBilling countryCode(@Nullable String countryCode)
    • getCountryCode

      @Nullable public String getCountryCode()
      Billing country 2-letter ISO code.
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(@Nullable String countryCode)
    • country

      public OrderBilling country(@Nullable String country)
    • getCountry

      @Nullable public String getCountry()
      Billing country name.
      Returns:
      country
    • setCountry

      public void setCountry(@Nullable String country)
    • phone

      public OrderBilling phone(@Nullable String phone)
    • getPhone

      @Nullable public String getPhone()
      Billing phone number.
      Returns:
      phone
    • setPhone

      public void setPhone(@Nullable String phone)
    • postCode

      public OrderBilling postCode(@Nullable String postCode)
    • getPostCode

      @Nullable public String getPostCode()
      Postcode for delivery and billing.
      Returns:
      postCode
    • setPostCode

      public void setPostCode(@Nullable String postCode)
    • paymentMethod

      public OrderBilling paymentMethod(@Nullable String paymentMethod)
    • getPaymentMethod

      @Nullable public String getPaymentMethod()
      How the visitor will pay for the item(s), e.g. paypal, check, etc.
      Returns:
      paymentMethod
    • setPaymentMethod

      public void setPaymentMethod(@Nullable String paymentMethod)
    • region

      public OrderBilling region(@Nullable String region)
    • getRegion

      @Nullable public String getRegion()
      Exact region (state/province) for delivery and billing.
      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