net.authorize.data.xml.Address Maven / Gradle / Ivy
package net.authorize.data.xml;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* @deprecated since version 1.9.8
* @deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
* @deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API (package: net.authorize.api.*).
* @deprecated We have also deprecated SIM as a separate option, in favor of Accept Hosted. See https://developer.authorize.net/api/reference/features/accept_hosted.html for details on Accept Hosted.
* @deprecated For details on AIM, see https://github.com/AuthorizeNet/sample-code-java/tree/master/src/main/java/net/authorize/sample/PaymentTransactions.
* @deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
*
*/
@Deprecated
@XmlRootElement
@XmlType(namespace="net.authorize.data.xml")
public class Address extends net.authorize.data.Address {
private static final long serialVersionUID = 1L;
protected String phoneNumber;
protected String faxNumber;
protected String addressId;
public static Address createAddress() {
return new Address();
}
/**
* @return the phoneNumber
*/
public String getPhoneNumber() {
return phoneNumber;
}
/**
* @param phoneNumber the phoneNumber to set
*/
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
/**
* @return the faxNumber
*/
public String getFaxNumber() {
return faxNumber;
}
/**
* @param faxNumber the faxNumber to set
*/
public void setFaxNumber(String faxNumber) {
this.faxNumber = faxNumber;
}
/**
* @return the addressId
*/
public String getAddressId() {
return addressId;
}
/**
* @param addressId the addressId to set
*/
public void setAddressId(String addressId) {
this.addressId = addressId;
}
}