All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.authorize.data.echeck.ECheck Maven / Gradle / Ivy

Go to download

Authorize.Net SDK includes standard payments, recurring billing, and customer profiles.

There is a newer version: 3.0.0
Show newest version
package net.authorize.data.echeck;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement
/**
 * Container used to hold ECheck related information.
 *
 */
public class ECheck implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	public static final int MAX_ROUTING_NUMBER_LENGTH = 9;
	public static final int MAX_ACCOUNT_NUMBER_LENGTH = 20;
	public static final int MAX_BANK_NAME_LENGTH = 50;
	public static final int MAX_BANK_ACCOUNT_LENGTH = 50;
	public static final int MAX_BANK_CHECK_NUMBER_LENGTH = 15;

	protected String routingNumber;
	protected String bankAccountNumber;
	protected BankAccountType bankAccountType;
	protected String bankName;
	protected String bankAccountName;
	protected ECheckType eCheckType;
	protected String bankCheckNumber;

	protected ECheck() { }

	public static ECheck createECheck() {
		return new ECheck();
	}

	/**
	 * @return the routingNumber
	 */
	public String getRoutingNumber() {
		return routingNumber;
	}
	/**
	 * @param routingNumber the routingNumber to set
	 */
	public void setRoutingNumber(String routingNumber) {
		this.routingNumber = routingNumber;
	}
	/**
	 * @return the bankAccountNumber
	 */
	public String getBankAccountNumber() {
		return bankAccountNumber;
	}
	/**
	 * @param bankAccountNumber the bankAccountNumber to set
	 */
	public void setBankAccountNumber(String bankAccountNumber) {
		this.bankAccountNumber = bankAccountNumber;
	}
	/**
	 * @return the bankAccountType
	 */
	public BankAccountType getBankAccountType() {
		return bankAccountType;
	}
	/**
	 * @param bankAccountType the bankAccountType to set
	 */
	public void setBankAccountType(BankAccountType bankAccountType) {
		this.bankAccountType = bankAccountType;
	}
	/**
	 * @return the bankName
	 */
	public String getBankName() {
		return bankName;
	}
	/**
	 * @param bankName the bankName to set
	 */
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	/**
	 * @return the bankAccountName
	 */
	public String getBankAccountName() {
		return bankAccountName;
	}
	/**
	 * @param bankAccountName the bankAccountName to set
	 */
	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}
	/**
	 * @return the eCheckType
	 */
	public ECheckType getECheckType() {
		return eCheckType;
	}
	/**
	 * @param eCheckType the eCheckType to set
	 */
	public void setECheckType(ECheckType eCheckType) {
		this.eCheckType = eCheckType;
	}
	/**
	 * @return the bankCheckNumber
	 */
	public String getBankCheckNumber() {
		return bankCheckNumber;
	}
	/**
	 * @param bankCheckNumber the bankCheckNumber to set
	 */
	public void setBankCheckNumber(String bankCheckNumber) {
		this.bankCheckNumber = bankCheckNumber;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy