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

Model.TssV2TransactionsGet200ResponsePaymentInformationFeatures Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
/*
 * 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;

/**
 * TssV2TransactionsGet200ResponsePaymentInformationFeatures
 */

public class TssV2TransactionsGet200ResponsePaymentInformationFeatures {
  @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;

  public TssV2TransactionsGet200ResponsePaymentInformationFeatures 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 TssV2TransactionsGet200ResponsePaymentInformationFeatures 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 TssV2TransactionsGet200ResponsePaymentInformationFeatures 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 TssV2TransactionsGet200ResponsePaymentInformationFeatures 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 TssV2TransactionsGet200ResponsePaymentInformationFeatures 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 TssV2TransactionsGet200ResponsePaymentInformationFeatures 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 TssV2TransactionsGet200ResponsePaymentInformationFeatures 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;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    TssV2TransactionsGet200ResponsePaymentInformationFeatures tssV2TransactionsGet200ResponsePaymentInformationFeatures = (TssV2TransactionsGet200ResponsePaymentInformationFeatures) o;
    return Objects.equals(this.accountFundingSource, tssV2TransactionsGet200ResponsePaymentInformationFeatures.accountFundingSource) &&
        Objects.equals(this.accountFundingSourceSubType, tssV2TransactionsGet200ResponsePaymentInformationFeatures.accountFundingSourceSubType) &&
        Objects.equals(this.cardProduct, tssV2TransactionsGet200ResponsePaymentInformationFeatures.cardProduct) &&
        Objects.equals(this.messageType, tssV2TransactionsGet200ResponsePaymentInformationFeatures.messageType) &&
        Objects.equals(this.acceptanceLevel, tssV2TransactionsGet200ResponsePaymentInformationFeatures.acceptanceLevel) &&
        Objects.equals(this.cardPlatform, tssV2TransactionsGet200ResponsePaymentInformationFeatures.cardPlatform) &&
        Objects.equals(this.comboCard, tssV2TransactionsGet200ResponsePaymentInformationFeatures.comboCard);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accountFundingSource, accountFundingSourceSubType, cardProduct, messageType, acceptanceLevel, cardPlatform, comboCard);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class TssV2TransactionsGet200ResponsePaymentInformationFeatures {\n");
    
    if (accountFundingSource != null) sb.append("    accountFundingSource: ").append(toIndentedString(accountFundingSource)).append("\n");
    if (accountFundingSourceSubType != null) sb.append("    accountFundingSourceSubType: ").append(toIndentedString(accountFundingSourceSubType)).append("\n");
    if (cardProduct != null) sb.append("    cardProduct: ").append(toIndentedString(cardProduct)).append("\n");
    if (messageType != null) sb.append("    messageType: ").append(toIndentedString(messageType)).append("\n");
    if (acceptanceLevel != null) sb.append("    acceptanceLevel: ").append(toIndentedString(acceptanceLevel)).append("\n");
    if (cardPlatform != null) sb.append("    cardPlatform: ").append(toIndentedString(cardPlatform)).append("\n");
    if (comboCard != null) sb.append("    comboCard: ").append(toIndentedString(comboCard)).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