Class BillingAddress

java.lang.Object
com.thalesgroup.gemalto.d1.card.BillingAddress

public class BillingAddress extends Object
Deprecated.
Please use BillingAddress.
Represents a billing address used in card enrollment or payment processing.

This class includes standard address fields such as street lines, city, state, ZIP code, and country code.

Since:
4.2.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    BillingAddress(String countryCode)
    Deprecated.
    Sets the ISO 3166-1 alpha-2 country code for the billing address.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    The city of the billing address.
    Deprecated.
    The ISO 3166-1 alpha-2 country code.
    Deprecated.
    The first line of the street address.
    Deprecated.
    The second line of the street address.
    Deprecated.
    The third line of the street address.
    Deprecated.
    The state of the billing address.
    Deprecated.
    The postal or ZIP code of the billing address.The maximum length of the zipCode allowed is 10 characters.
    void
    Deprecated.
    Sets city of the billing address.
    void
    Deprecated.
    Sets first line of the street address.
    void
    Deprecated.
    Sets second line of the street address.
    void
    Deprecated.
    Sets third line of the street address.
    void
    Deprecated.
    Sets state of the billing address.
    void
    setZipCode(String zipCode)
    Deprecated.
    Sets the postal or ZIP code of the billing address.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BillingAddress

      public BillingAddress(@NonNull String countryCode)
      Deprecated.
      Sets the ISO 3166-1 alpha-2 country code for the billing address.
  • Method Details

    • getLine1

      @Nullable public String getLine1()
      Deprecated.
      The first line of the street address. The maximum length of the first line allowed is 64 characters.
      Returns:
      first line of the street address.
    • setLine1

      public void setLine1(@Nullable String line1)
      Deprecated.
      Sets first line of the street address. The maximum length allowed is 64 characters.
    • getLine2

      @Nullable public String getLine2()
      Deprecated.
      The second line of the street address. The maximum length of the second line allowed is 64 characters.
      Returns:
      second line of the street address.
    • setLine2

      public void setLine2(@Nullable String line2)
      Deprecated.
      Sets second line of the street address. The maximum length allowed is 64 characters.
    • getLine3

      @Nullable public String getLine3()
      Deprecated.
      The third line of the street address. The maximum length of the third line allowed is 64 characters.
      Returns:
      third line of the street address.
    • setLine3

      public void setLine3(@Nullable String line3)
      Deprecated.
      Sets third line of the street address. The maximum length allowed is 64 characters.
    • getCity

      @Nullable public String getCity()
      Deprecated.
      The city of the billing address. The maximum length of the city allowed is 32 characters.
      Returns:
      city of the billing address.
    • setCity

      public void setCity(@Nullable String city)
      Deprecated.
      Sets city of the billing address.
    • getState

      @Nullable public String getState()
      Deprecated.
      The state of the billing address. The maximum length of the state allowed is 3 characters. For example - CZ
      Returns:
      state of the billing address.
    • setState

      public void setState(@Nullable String state)
      Deprecated.
      Sets state of the billing address.
    • getZipCode

      @Nullable public String getZipCode()
      Deprecated.
      The postal or ZIP code of the billing address.The maximum length of the zipCode allowed is 10 characters.
      Returns:
      postal or ZIP code of the billing address.
    • setZipCode

      public void setZipCode(@Nullable String zipCode)
      Deprecated.
      Sets the postal or ZIP code of the billing address.
    • getCountryCode

      @NonNull public String getCountryCode()
      Deprecated.
      The ISO 3166-1 alpha-2 country code.
      Returns:
      country code