
Model.Ptsv2paymentsSenderInformationAccount Maven / Gradle / Ivy
/*
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package Model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Ptsv2paymentsSenderInformationAccount
*/
public class Ptsv2paymentsSenderInformationAccount {
@SerializedName("number")
private String number = null;
@SerializedName("type")
private String type = null;
@SerializedName("fundsSource")
private String fundsSource = null;
public Ptsv2paymentsSenderInformationAccount number(String number) {
this.number = number;
return this;
}
/**
* The account number of the entity funding the transaction. The value for this field can be a payment card account number or bank account number.
* @return number
**/
@ApiModelProperty(value = "The account number of the entity funding the transaction. The value for this field can be a payment card account number or bank account number. ")
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public Ptsv2paymentsSenderInformationAccount type(String type) {
this.type = type;
return this;
}
/**
* Identifies the sender's account type. This field is applicable for AFT transactions. Valid values are: - `00` for Other - `01` for Routing Transit Number (RTN) + Bank Account Number (BAN) - `02` for International Bank Account Number (IBAN) - `03` for Card Account - `04` for Email - `05` for Phone Number - `06` for Bank Account Number (BAN) + Bank Identification Code (BIC), also known as a SWIFT code - `07` for Wallet ID - `08` for Social Network ID
* @return type
**/
@ApiModelProperty(value = "Identifies the sender's account type. This field is applicable for AFT transactions. Valid values are: - `00` for Other - `01` for Routing Transit Number (RTN) + Bank Account Number (BAN) - `02` for International Bank Account Number (IBAN) - `03` for Card Account - `04` for Email - `05` for Phone Number - `06` for Bank Account Number (BAN) + Bank Identification Code (BIC), also known as a SWIFT code - `07` for Wallet ID - `08` for Social Network ID ")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Ptsv2paymentsSenderInformationAccount fundsSource(String fundsSource) {
this.fundsSource = fundsSource;
return this;
}
/**
* Source of funds. Possible Values: - `01`: Credit. - `02`: Debit. - `03`: Prepaid. - `04`: Deposit Account. - `05`: Mobile Money Account. - `06`: Cash. - `07`: Other. - `V5`: Debits / deposit access other than those linked to the cardholders' scheme. - `V6`: Credit accounts other than those linked to the cardholder's scheme.
* @return fundsSource
**/
@ApiModelProperty(value = "Source of funds. Possible Values: - `01`: Credit. - `02`: Debit. - `03`: Prepaid. - `04`: Deposit Account. - `05`: Mobile Money Account. - `06`: Cash. - `07`: Other. - `V5`: Debits / deposit access other than those linked to the cardholders' scheme. - `V6`: Credit accounts other than those linked to the cardholder's scheme. ")
public String getFundsSource() {
return fundsSource;
}
public void setFundsSource(String fundsSource) {
this.fundsSource = fundsSource;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentsSenderInformationAccount ptsv2paymentsSenderInformationAccount = (Ptsv2paymentsSenderInformationAccount) o;
return Objects.equals(this.number, ptsv2paymentsSenderInformationAccount.number) &&
Objects.equals(this.type, ptsv2paymentsSenderInformationAccount.type) &&
Objects.equals(this.fundsSource, ptsv2paymentsSenderInformationAccount.fundsSource);
}
@Override
public int hashCode() {
return Objects.hash(number, type, fundsSource);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentsSenderInformationAccount {\n");
if (number != null) sb.append(" number: ").append(toIndentedString(number)).append("\n");
if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n");
if (fundsSource != null) sb.append(" fundsSource: ").append(toIndentedString(fundsSource)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
// return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy