
Model.InlineResponse2011PaymentAccountInformationFeatures 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;
/**
* InlineResponse2011PaymentAccountInformationFeatures
*/
public class InlineResponse2011PaymentAccountInformationFeatures {
@SerializedName("accountFundingSource")
private String accountFundingSource = null;
@SerializedName("accountFundingSourceSubType")
private String accountFundingSourceSubType = null;
@SerializedName("cardProduct")
private String cardProduct = null;
@SerializedName("messageType")
private String messageType = null;
@SerializedName("acceptanceLevel")
private String acceptanceLevel = null;
@SerializedName("cardPlatform")
private String cardPlatform = null;
@SerializedName("comboCard")
private String comboCard = null;
@SerializedName("corporatePurchase")
private Boolean corporatePurchase = null;
@SerializedName("healthCard")
private Boolean healthCard = null;
public InlineResponse2011PaymentAccountInformationFeatures accountFundingSource(String accountFundingSource) {
this.accountFundingSource = accountFundingSource;
return this;
}
/**
* This field contains the account funding source. Possible values: - `CREDIT` - `DEBIT` - `PREPAID` - `DEFERRED DEBIT` - `CHARGE`
* @return accountFundingSource
**/
@ApiModelProperty(value = "This field contains the account funding source. Possible values: - `CREDIT` - `DEBIT` - `PREPAID` - `DEFERRED DEBIT` - `CHARGE` ")
public String getAccountFundingSource() {
return accountFundingSource;
}
public void setAccountFundingSource(String accountFundingSource) {
this.accountFundingSource = accountFundingSource;
}
public InlineResponse2011PaymentAccountInformationFeatures accountFundingSourceSubType(String accountFundingSourceSubType) {
this.accountFundingSourceSubType = accountFundingSourceSubType;
return this;
}
/**
* This field contains the type of prepaid card. Possible values: - `Reloadable` - `Non-reloadable`
* @return accountFundingSourceSubType
**/
@ApiModelProperty(value = "This field contains the type of prepaid card. Possible values: - `Reloadable` - `Non-reloadable` ")
public String getAccountFundingSourceSubType() {
return accountFundingSourceSubType;
}
public void setAccountFundingSourceSubType(String accountFundingSourceSubType) {
this.accountFundingSourceSubType = accountFundingSourceSubType;
}
public InlineResponse2011PaymentAccountInformationFeatures cardProduct(String cardProduct) {
this.cardProduct = cardProduct;
return this;
}
/**
* This field contains the type of issuer product. Example values: - Visa Classic - Visa Signature - Visa Infinite
* @return cardProduct
**/
@ApiModelProperty(value = "This field contains the type of issuer product. Example values: - Visa Classic - Visa Signature - Visa Infinite ")
public String getCardProduct() {
return cardProduct;
}
public void setCardProduct(String cardProduct) {
this.cardProduct = cardProduct;
}
public InlineResponse2011PaymentAccountInformationFeatures messageType(String messageType) {
this.messageType = messageType;
return this;
}
/**
* This field contains the type of BIN based authentication. Possible values: - `S`: Single Message - `D`: Dual Message
* @return messageType
**/
@ApiModelProperty(value = "This field contains the type of BIN based authentication. Possible values: - `S`: Single Message - `D`: Dual Message ")
public String getMessageType() {
return messageType;
}
public void setMessageType(String messageType) {
this.messageType = messageType;
}
public InlineResponse2011PaymentAccountInformationFeatures acceptanceLevel(String acceptanceLevel) {
this.acceptanceLevel = acceptanceLevel;
return this;
}
/**
* This field contains the acceptance level of the PAN. Possible values: - `0` : Normal - `1` : Monitor - `2` : Refuse - `3` : Not Allowed - `4` : Private - `5` : Test
* @return acceptanceLevel
**/
@ApiModelProperty(value = "This field contains the acceptance level of the PAN. Possible values: - `0` : Normal - `1` : Monitor - `2` : Refuse - `3` : Not Allowed - `4` : Private - `5` : Test ")
public String getAcceptanceLevel() {
return acceptanceLevel;
}
public void setAcceptanceLevel(String acceptanceLevel) {
this.acceptanceLevel = acceptanceLevel;
}
public InlineResponse2011PaymentAccountInformationFeatures cardPlatform(String cardPlatform) {
this.cardPlatform = cardPlatform;
return this;
}
/**
* This field contains the type of card platform. Possible values: - `BUSINESS` - `CONSUMER` - `COMMERCIAL` - `GOVERNMENT`
* @return cardPlatform
**/
@ApiModelProperty(value = "This field contains the type of card platform. Possible values: - `BUSINESS` - `CONSUMER` - `COMMERCIAL` - `GOVERNMENT` ")
public String getCardPlatform() {
return cardPlatform;
}
public void setCardPlatform(String cardPlatform) {
this.cardPlatform = cardPlatform;
}
public InlineResponse2011PaymentAccountInformationFeatures comboCard(String comboCard) {
this.comboCard = comboCard;
return this;
}
/**
* This field indicates the type of combo card. Possible values: - 0 (Not a combo card) - 1 (Credit and Prepaid Combo card) - 2 (Credit and Debit Combo card)
* @return comboCard
**/
@ApiModelProperty(value = "This field indicates the type of combo card. Possible values: - 0 (Not a combo card) - 1 (Credit and Prepaid Combo card) - 2 (Credit and Debit Combo card) ")
public String getComboCard() {
return comboCard;
}
public void setComboCard(String comboCard) {
this.comboCard = comboCard;
}
public InlineResponse2011PaymentAccountInformationFeatures corporatePurchase(Boolean corporatePurchase) {
this.corporatePurchase = corporatePurchase;
return this;
}
/**
* This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards. Possible values: - `true` - `false`
* @return corporatePurchase
**/
@ApiModelProperty(value = "This field indicates whether the card can be used for corporate purchasing. This field is only applicable for American Express cards. Possible values: - `true` - `false` ")
public Boolean isCorporatePurchase() {
return corporatePurchase;
}
public void setCorporatePurchase(Boolean corporatePurchase) {
this.corporatePurchase = corporatePurchase;
}
public InlineResponse2011PaymentAccountInformationFeatures healthCard(Boolean healthCard) {
this.healthCard = healthCard;
return this;
}
/**
* This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs. Possible values: - `true` - `false`
* @return healthCard
**/
@ApiModelProperty(value = "This field indicates if the entered card is a healthcare BIN. Currently, this field is only supported for Visa BINs. Possible values: - `true` - `false` ")
public Boolean isHealthCard() {
return healthCard;
}
public void setHealthCard(Boolean healthCard) {
this.healthCard = healthCard;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InlineResponse2011PaymentAccountInformationFeatures inlineResponse2011PaymentAccountInformationFeatures = (InlineResponse2011PaymentAccountInformationFeatures) o;
return Objects.equals(this.accountFundingSource, inlineResponse2011PaymentAccountInformationFeatures.accountFundingSource) &&
Objects.equals(this.accountFundingSourceSubType, inlineResponse2011PaymentAccountInformationFeatures.accountFundingSourceSubType) &&
Objects.equals(this.cardProduct, inlineResponse2011PaymentAccountInformationFeatures.cardProduct) &&
Objects.equals(this.messageType, inlineResponse2011PaymentAccountInformationFeatures.messageType) &&
Objects.equals(this.acceptanceLevel, inlineResponse2011PaymentAccountInformationFeatures.acceptanceLevel) &&
Objects.equals(this.cardPlatform, inlineResponse2011PaymentAccountInformationFeatures.cardPlatform) &&
Objects.equals(this.comboCard, inlineResponse2011PaymentAccountInformationFeatures.comboCard) &&
Objects.equals(this.corporatePurchase, inlineResponse2011PaymentAccountInformationFeatures.corporatePurchase) &&
Objects.equals(this.healthCard, inlineResponse2011PaymentAccountInformationFeatures.healthCard);
}
@Override
public int hashCode() {
return Objects.hash(accountFundingSource, accountFundingSourceSubType, cardProduct, messageType, acceptanceLevel, cardPlatform, comboCard, corporatePurchase, healthCard);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InlineResponse2011PaymentAccountInformationFeatures {\n");
sb.append(" accountFundingSource: ").append(toIndentedString(accountFundingSource)).append("\n");
sb.append(" accountFundingSourceSubType: ").append(toIndentedString(accountFundingSourceSubType)).append("\n");
sb.append(" cardProduct: ").append(toIndentedString(cardProduct)).append("\n");
sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n");
sb.append(" acceptanceLevel: ").append(toIndentedString(acceptanceLevel)).append("\n");
sb.append(" cardPlatform: ").append(toIndentedString(cardPlatform)).append("\n");
sb.append(" comboCard: ").append(toIndentedString(comboCard)).append("\n");
sb.append(" corporatePurchase: ").append(toIndentedString(corporatePurchase)).append("\n");
sb.append(" healthCard: ").append(toIndentedString(healthCard)).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