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

Model.CardProcessingConfigFeaturesCardPresentProcessors 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;
import java.util.ArrayList;
import java.util.List;

/**
 * CardProcessingConfigFeaturesCardPresentProcessors
 */

public class CardProcessingConfigFeaturesCardPresentProcessors {
  @SerializedName("defaultPointOfSaleTerminalId")
  private String defaultPointOfSaleTerminalId = null;

  @SerializedName("pointOfSaleTerminalIds")
  private List pointOfSaleTerminalIds = null;

  @SerializedName("disablePointOfSaleTerminalIdValidation")
  private Boolean disablePointOfSaleTerminalIdValidation = null;

  @SerializedName("pinDebitNetworkOrder")
  private String pinDebitNetworkOrder = null;

  @SerializedName("pinDebitReimbursementCode")
  private String pinDebitReimbursementCode = null;

  @SerializedName("financialInstitutionId")
  private String financialInstitutionId = null;

  @SerializedName("enablePinTranslation")
  private Boolean enablePinTranslation = null;

  public CardProcessingConfigFeaturesCardPresentProcessors defaultPointOfSaleTerminalId(String defaultPointOfSaleTerminalId) {
    this.defaultPointOfSaleTerminalId = defaultPointOfSaleTerminalId;
    return this;
  }

   /**
   * Default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors.  Validation details (for selected processors)...  <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp</td><td>Yes</td><td>4</td><td>8</td><td>^[0-9a-zA-Z]+$</td><td>1111</td></tr> </table> 
   * @return defaultPointOfSaleTerminalId
  **/
  @ApiModelProperty(value = "Default Terminal ID used for Card Present and Virtual Terminal transactions. Applicable for VPC, GPX (gpx), American Express Direct (amexdirect) and Chase Paymentech Salem (chasepaymentechsalem) processors.  Validation details (for selected processors)...  
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegexDefault Value
American Express DirectcpYes48^[0-9a-zA-Z]+$1111
") public String getDefaultPointOfSaleTerminalId() { return defaultPointOfSaleTerminalId; } public void setDefaultPointOfSaleTerminalId(String defaultPointOfSaleTerminalId) { this.defaultPointOfSaleTerminalId = defaultPointOfSaleTerminalId; } public CardProcessingConfigFeaturesCardPresentProcessors pointOfSaleTerminalIds(List pointOfSaleTerminalIds) { this.pointOfSaleTerminalIds = pointOfSaleTerminalIds; return this; } public CardProcessingConfigFeaturesCardPresentProcessors addPointOfSaleTerminalIdsItem(String pointOfSaleTerminalIdsItem) { if (this.pointOfSaleTerminalIds == null) { this.pointOfSaleTerminalIds = new ArrayList(); } this.pointOfSaleTerminalIds.add(pointOfSaleTerminalIdsItem); return this; } /** * For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors. * @return pointOfSaleTerminalIds **/ @ApiModelProperty(value = "For retail transactions, if merchant chooses to send the terminal id in the API, then that value has to be validated before being used. Holds a comma separated list of all possible terminal ids that the merchant is likely to send. Applicable for VPC processors.") public List getPointOfSaleTerminalIds() { return pointOfSaleTerminalIds; } public void setPointOfSaleTerminalIds(List pointOfSaleTerminalIds) { this.pointOfSaleTerminalIds = pointOfSaleTerminalIds; } public CardProcessingConfigFeaturesCardPresentProcessors disablePointOfSaleTerminalIdValidation(Boolean disablePointOfSaleTerminalIdValidation) { this.disablePointOfSaleTerminalIdValidation = disablePointOfSaleTerminalIdValidation; return this; } /** * Disables terminal ID validation. Applicable for VPC processors. * @return disablePointOfSaleTerminalIdValidation **/ @ApiModelProperty(value = "Disables terminal ID validation. Applicable for VPC processors.") public Boolean DisablePointOfSaleTerminalIdValidation() { return disablePointOfSaleTerminalIdValidation; } public void setDisablePointOfSaleTerminalIdValidation(Boolean disablePointOfSaleTerminalIdValidation) { this.disablePointOfSaleTerminalIdValidation = disablePointOfSaleTerminalIdValidation; } public CardProcessingConfigFeaturesCardPresentProcessors pinDebitNetworkOrder(String pinDebitNetworkOrder) { this.pinDebitNetworkOrder = pinDebitNetworkOrder; return this; } /** * Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors. * @return pinDebitNetworkOrder **/ @ApiModelProperty(value = "Order of the networks in which Visa should make routing decisions. Applicable for GPX (gpx) and VPC processors.") public String getPinDebitNetworkOrder() { return pinDebitNetworkOrder; } public void setPinDebitNetworkOrder(String pinDebitNetworkOrder) { this.pinDebitNetworkOrder = pinDebitNetworkOrder; } public CardProcessingConfigFeaturesCardPresentProcessors pinDebitReimbursementCode(String pinDebitReimbursementCode) { this.pinDebitReimbursementCode = pinDebitReimbursementCode; return this; } /** * This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors. * @return pinDebitReimbursementCode **/ @ApiModelProperty(value = "This attribute requests VIP to qualify a given PIN Debit transaction for a certain type of interchange program. Y = SMS supermarket, Z = SMS general merchant. Applicable for GPX (gpx) and VPC processors.") public String getPinDebitReimbursementCode() { return pinDebitReimbursementCode; } public void setPinDebitReimbursementCode(String pinDebitReimbursementCode) { this.pinDebitReimbursementCode = pinDebitReimbursementCode; } public CardProcessingConfigFeaturesCardPresentProcessors financialInstitutionId(String financialInstitutionId) { this.financialInstitutionId = financialInstitutionId; return this; } /** * Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors. * @return financialInstitutionId **/ @ApiModelProperty(value = "Acquirer Institution ID for the PIN Debit Transactions. Applicable for GPX (gpx) and VPC processors.") public String getFinancialInstitutionId() { return financialInstitutionId; } public void setFinancialInstitutionId(String financialInstitutionId) { this.financialInstitutionId = financialInstitutionId; } public CardProcessingConfigFeaturesCardPresentProcessors enablePinTranslation(Boolean enablePinTranslation) { this.enablePinTranslation = enablePinTranslation; return this; } /** * Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors. * @return enablePinTranslation **/ @ApiModelProperty(value = "Enables CyberSource PIN Translation for Online PIN Transactions. Please ensure you have exchanged PIN keys with CyberSource to use this feature. Applicable for VPC processors.") public Boolean EnablePinTranslation() { return enablePinTranslation; } public void setEnablePinTranslation(Boolean enablePinTranslation) { this.enablePinTranslation = enablePinTranslation; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CardProcessingConfigFeaturesCardPresentProcessors cardProcessingConfigFeaturesCardPresentProcessors = (CardProcessingConfigFeaturesCardPresentProcessors) o; return Objects.equals(this.defaultPointOfSaleTerminalId, cardProcessingConfigFeaturesCardPresentProcessors.defaultPointOfSaleTerminalId) && Objects.equals(this.pointOfSaleTerminalIds, cardProcessingConfigFeaturesCardPresentProcessors.pointOfSaleTerminalIds) && Objects.equals(this.disablePointOfSaleTerminalIdValidation, cardProcessingConfigFeaturesCardPresentProcessors.disablePointOfSaleTerminalIdValidation) && Objects.equals(this.pinDebitNetworkOrder, cardProcessingConfigFeaturesCardPresentProcessors.pinDebitNetworkOrder) && Objects.equals(this.pinDebitReimbursementCode, cardProcessingConfigFeaturesCardPresentProcessors.pinDebitReimbursementCode) && Objects.equals(this.financialInstitutionId, cardProcessingConfigFeaturesCardPresentProcessors.financialInstitutionId) && Objects.equals(this.enablePinTranslation, cardProcessingConfigFeaturesCardPresentProcessors.enablePinTranslation); } @Override public int hashCode() { return Objects.hash(defaultPointOfSaleTerminalId, pointOfSaleTerminalIds, disablePointOfSaleTerminalIdValidation, pinDebitNetworkOrder, pinDebitReimbursementCode, financialInstitutionId, enablePinTranslation); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CardProcessingConfigFeaturesCardPresentProcessors {\n"); if (defaultPointOfSaleTerminalId != null) sb.append(" defaultPointOfSaleTerminalId: ").append(toIndentedString(defaultPointOfSaleTerminalId)).append("\n"); if (pointOfSaleTerminalIds != null) sb.append(" pointOfSaleTerminalIds: ").append(toIndentedString(pointOfSaleTerminalIds)).append("\n"); if (disablePointOfSaleTerminalIdValidation != null) sb.append(" disablePointOfSaleTerminalIdValidation: ").append(toIndentedString(disablePointOfSaleTerminalIdValidation)).append("\n"); if (pinDebitNetworkOrder != null) sb.append(" pinDebitNetworkOrder: ").append(toIndentedString(pinDebitNetworkOrder)).append("\n"); if (pinDebitReimbursementCode != null) sb.append(" pinDebitReimbursementCode: ").append(toIndentedString(pinDebitReimbursementCode)).append("\n"); if (financialInstitutionId != null) sb.append(" financialInstitutionId: ").append(toIndentedString(financialInstitutionId)).append("\n"); if (enablePinTranslation != null) sb.append(" enablePinTranslation: ").append(toIndentedString(enablePinTranslation)).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