Class BillingInfo
- java.lang.Object
-
- aero.panasonic.inflight.services.paymentclient.v1.model.BillingInfo
-
public class BillingInfo extends java.lang.ObjectThis class holds the billing information that can be applied while creating aPaymentRequest. The billing information includes details such as the cardholder's title, name, address, contact information, and other relevant data.
-
-
Constructor Summary
Constructors Constructor Description BillingInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAddress1()Returns the primary address of the cardholder.java.lang.StringgetAddress2()Returns the additional address of the cardholder.java.lang.StringgetCity()Returns the city of the cardholder.java.lang.StringgetCountry()Returns the country of the cardholder.java.lang.StringgetCountryCode()Returns the country code of the cardholder.java.lang.StringgetFirstName()Returns the first name of the cardholder.java.lang.StringgetLastname()Returns the last name of the cardholder.java.lang.StringgetMiddleName()Returns the middle name of the cardholder.java.lang.StringgetPhone1()Returns the country code of the cardholder's telephone number.java.lang.StringgetPhone2()Returns the telephone number of the cardholder.java.lang.StringgetState()Returns the state of the cardholder.java.lang.StringgetTitle()Returns the title of the cardholder, such as Mr., Mrs., or Ms.java.lang.StringgetZipCode()Returns the postal code of the cardholder.voidsetAddress1(java.lang.String address1)Sets the primary address of the cardholder.voidsetAddress2(java.lang.String address2)Sets the additional address of the cardholder.voidsetCity(java.lang.String city)Sets the city of the cardholder.voidsetCountry(java.lang.String country)Sets the country of the cardholder.voidsetCountryCode(java.lang.String countryCode)Sets the country code of the cardholder.voidsetFirstName(java.lang.String firstName)Sets the first name of the cardholder.voidsetLastname(java.lang.String lastname)Sets the last name of the cardholder.voidsetMiddleName(java.lang.String middleName)Sets the middle name of the cardholder.voidsetPhone1(java.lang.String phone1)Sets the country code of the cardholder's telephone number.voidsetPhone2(java.lang.String phone2)Sets the telephone number of the cardholder.voidsetState(java.lang.String state)Sets the state of the cardholder.voidsetTitle(java.lang.String title)Sets the title of the cardholder, such as Mr., Mrs., or Ms.voidsetZipCode(java.lang.String zipCode)Sets the postal code of the cardholder.
-
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Returns the title of the cardholder, such as Mr., Mrs., or Ms.- Returns:
- the title of the cardholder
-
setTitle
public void setTitle(java.lang.String title)
Sets the title of the cardholder, such as Mr., Mrs., or Ms.- Parameters:
title- the title to set
-
getFirstName
public java.lang.String getFirstName()
Returns the first name of the cardholder.- Returns:
- the first name of the cardholder
-
setFirstName
public void setFirstName(java.lang.String firstName)
Sets the first name of the cardholder.- Parameters:
firstName- the first name to set
-
getMiddleName
public java.lang.String getMiddleName()
Returns the middle name of the cardholder.- Returns:
- the middle name of the cardholder
-
setMiddleName
public void setMiddleName(java.lang.String middleName)
Sets the middle name of the cardholder.- Parameters:
middleName- the middle name to set
-
getLastname
public java.lang.String getLastname()
Returns the last name of the cardholder.- Returns:
- the last name of the cardholder
-
setLastname
public void setLastname(java.lang.String lastname)
Sets the last name of the cardholder.- Parameters:
lastname- the last name to set
-
getAddress1
public java.lang.String getAddress1()
Returns the primary address of the cardholder.- Returns:
- the primary address of the cardholder
-
setAddress1
public void setAddress1(java.lang.String address1)
Sets the primary address of the cardholder.- Parameters:
address1- the primary address to set
-
getAddress2
public java.lang.String getAddress2()
Returns the additional address of the cardholder.- Returns:
- the additional address of the cardholder
-
setAddress2
public void setAddress2(java.lang.String address2)
Sets the additional address of the cardholder.- Parameters:
address2- the additional address to set
-
getCity
public java.lang.String getCity()
Returns the city of the cardholder.- Returns:
- the city of the cardholder
-
setCity
public void setCity(java.lang.String city)
Sets the city of the cardholder.- Parameters:
city- the city to set
-
getZipCode
public java.lang.String getZipCode()
Returns the postal code of the cardholder.- Returns:
- the postal code of the cardholder
-
setZipCode
public void setZipCode(java.lang.String zipCode)
Sets the postal code of the cardholder.- Parameters:
zipCode- the postal code to set
-
getState
public java.lang.String getState()
Returns the state of the cardholder.- Returns:
- the state of the cardholder
-
setState
public void setState(java.lang.String state)
Sets the state of the cardholder.- Parameters:
state- the state to set
-
getCountry
public java.lang.String getCountry()
Returns the country of the cardholder.- Returns:
- the country of the cardholder
-
setCountry
public void setCountry(java.lang.String country)
Sets the country of the cardholder.- Parameters:
country- the country to set
-
getCountryCode
public java.lang.String getCountryCode()
Returns the country code of the cardholder.- Returns:
- the country code of the cardholder
-
setCountryCode
public void setCountryCode(java.lang.String countryCode)
Sets the country code of the cardholder.- Parameters:
countryCode- the country code to set
-
getPhone1
public java.lang.String getPhone1()
Returns the country code of the cardholder's telephone number.- Returns:
- the country code of the cardholder's telephone number
-
setPhone1
public void setPhone1(java.lang.String phone1)
Sets the country code of the cardholder's telephone number.- Parameters:
phone1- the country code to set
-
getPhone2
public java.lang.String getPhone2()
Returns the telephone number of the cardholder.- Returns:
- the telephone number of the cardholder
-
setPhone2
public void setPhone2(java.lang.String phone2)
Sets the telephone number of the cardholder.- Parameters:
phone2- the telephone number to set
-
-