Class ShippingAddress

java.lang.Object
io.github.natanimn.telebof.types.payments.ShippingAddress
All Implemented Interfaces:
Serializable

public class ShippingAddress extends Object implements Serializable
This class represents a shipping address.
Since:
3 March 2025
Author:
Natanim
See Also:
  • Field Details

    • countryCode

      @SerializedName("country_code") private String countryCode
      Two-letter ISO 3166-1 alpha-2 country code
    • state

      private String state
      State, if applicable
    • city

      private String city
      City
    • streetLine1

      @SerializedName("street_line1") private String streetLine1
      First line for the address
    • streetLine2

      @SerializedName("street_line2") private String streetLine2
      Second line for the address
    • postCode

      @SerializedName("post_code") private String postCode
      Address of post code
  • Constructor Details

    • ShippingAddress

      public ShippingAddress()
    • ShippingAddress

      public ShippingAddress(String countryCode, String state, String city, String streetLine1, String streetLine2, String postCode)
  • Method Details

    • getCountryCode

      public String getCountryCode()
    • getState

      public String getState()
    • getCity

      public String getCity()
    • getStreetLine1

      public String getStreetLine1()
    • getStreetLine2

      public String getStreetLine2()
    • getPostCode

      public String getPostCode()