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

Model.Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication 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 Model.Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation;
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;

/**
 * Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication
 */

public class Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication {
  @SerializedName("issuerInformation")
  private Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation issuerInformation = null;

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

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

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

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

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

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

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

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication issuerInformation(Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation issuerInformation) {
    this.issuerInformation = issuerInformation;
    return this;
  }

   /**
   * Get issuerInformation
   * @return issuerInformation
  **/
  @ApiModelProperty(value = "")
  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation getIssuerInformation() {
    return issuerInformation;
  }

  public void setIssuerInformation(Ptsv2paymentsConsumerAuthenticationInformationStrongAuthenticationIssuerInformation issuerInformation) {
    this.issuerInformation = issuerInformation;
  }

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication lowValueExemptionIndicator(String lowValueExemptionIndicator) {
    this.lowValueExemptionIndicator = lowValueExemptionIndicator;
    return this;
  }

   /**
   * This field will contain the low value exemption indicator with one of the following values: Possible values: - `0`  ( low value exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as the merchant/acquirer has determined it to be a low value payment) 
   * @return lowValueExemptionIndicator
  **/
  @ApiModelProperty(value = "This field will contain the low value exemption indicator with one of the following values: Possible values: - `0`  ( low value exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as the merchant/acquirer has determined it to be a low value payment) ")
  public String getLowValueExemptionIndicator() {
    return lowValueExemptionIndicator;
  }

  public void setLowValueExemptionIndicator(String lowValueExemptionIndicator) {
    this.lowValueExemptionIndicator = lowValueExemptionIndicator;
  }

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication riskAnalysisExemptionIndicator(String riskAnalysisExemptionIndicator) {
    this.riskAnalysisExemptionIndicator = riskAnalysisExemptionIndicator;
    return this;
  }

   /**
   * This field will contain the transaction risk analysis exemption indicator with one of the following values: Possible values: - `0`  (TRA exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as the merchant/acquirer has determined it to be low risk in accordance with the criteria defined by PSD2/RTS) 
   * @return riskAnalysisExemptionIndicator
  **/
  @ApiModelProperty(value = "This field will contain the transaction risk analysis exemption indicator with one of the following values: Possible values: - `0`  (TRA exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as the merchant/acquirer has determined it to be low risk in accordance with the criteria defined by PSD2/RTS) ")
  public String getRiskAnalysisExemptionIndicator() {
    return riskAnalysisExemptionIndicator;
  }

  public void setRiskAnalysisExemptionIndicator(String riskAnalysisExemptionIndicator) {
    this.riskAnalysisExemptionIndicator = riskAnalysisExemptionIndicator;
  }

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication trustedMerchantExemptionIndicator(String trustedMerchantExemptionIndicator) {
    this.trustedMerchantExemptionIndicator = trustedMerchantExemptionIndicator;
    return this;
  }

   /**
   * Possible values: - `0`  (Trusted merchant exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as it originated at a merchant trusted by the cardholder) 
   * @return trustedMerchantExemptionIndicator
  **/
  @ApiModelProperty(value = "Possible values: - `0`  (Trusted merchant exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as it originated at a merchant trusted by the cardholder) ")
  public String getTrustedMerchantExemptionIndicator() {
    return trustedMerchantExemptionIndicator;
  }

  public void setTrustedMerchantExemptionIndicator(String trustedMerchantExemptionIndicator) {
    this.trustedMerchantExemptionIndicator = trustedMerchantExemptionIndicator;
  }

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication secureCorporatePaymentIndicator(String secureCorporatePaymentIndicator) {
    this.secureCorporatePaymentIndicator = secureCorporatePaymentIndicator;
    return this;
  }

   /**
   * This field will contain the secure corporate payment exemption indicator with one of the following values: Possible values: - `0`  (SCA exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as the merchant/acquirer has determined it as a secure corporate payment) 
   * @return secureCorporatePaymentIndicator
  **/
  @ApiModelProperty(value = "This field will contain the secure corporate payment exemption indicator with one of the following values: Possible values: - `0`  (SCA exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as the merchant/acquirer has determined it as a secure corporate payment) ")
  public String getSecureCorporatePaymentIndicator() {
    return secureCorporatePaymentIndicator;
  }

  public void setSecureCorporatePaymentIndicator(String secureCorporatePaymentIndicator) {
    this.secureCorporatePaymentIndicator = secureCorporatePaymentIndicator;
  }

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication delegatedAuthenticationExemptionIndicator(String delegatedAuthenticationExemptionIndicator) {
    this.delegatedAuthenticationExemptionIndicator = delegatedAuthenticationExemptionIndicator;
    return this;
  }

   /**
   * This field will contain the delegated authentication exemption indicator with one of the following values: Possible values: - `0`  (delegated Authentication exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as authentication has been delegated to other provider (PSP,Acquirer)) 
   * @return delegatedAuthenticationExemptionIndicator
  **/
  @ApiModelProperty(value = "This field will contain the delegated authentication exemption indicator with one of the following values: Possible values: - `0`  (delegated Authentication exemption does not apply to the transaction) - `1` (Transaction exempt from SCA as authentication has been delegated to other provider (PSP,Acquirer)) ")
  public String getDelegatedAuthenticationExemptionIndicator() {
    return delegatedAuthenticationExemptionIndicator;
  }

  public void setDelegatedAuthenticationExemptionIndicator(String delegatedAuthenticationExemptionIndicator) {
    this.delegatedAuthenticationExemptionIndicator = delegatedAuthenticationExemptionIndicator;
  }

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication outageExemptionIndicator(String outageExemptionIndicator) {
    this.outageExemptionIndicator = outageExemptionIndicator;
    return this;
  }

   /**
   * This field will contain the outage exemption indicator with one of the following values: Possible values: - `0`  (Outage Authentication exemption does not apply to the transaction) - `1` (Outage exempt from SCA as authentication could not be done due to outage) 
   * @return outageExemptionIndicator
  **/
  @ApiModelProperty(value = "This field will contain the outage exemption indicator with one of the following values: Possible values: - `0`  (Outage Authentication exemption does not apply to the transaction) - `1` (Outage exempt from SCA as authentication could not be done due to outage) ")
  public String getOutageExemptionIndicator() {
    return outageExemptionIndicator;
  }

  public void setOutageExemptionIndicator(String outageExemptionIndicator) {
    this.outageExemptionIndicator = outageExemptionIndicator;
  }

  public Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication authenticationIndicator(String authenticationIndicator) {
    this.authenticationIndicator = authenticationIndicator;
    return this;
  }

   /**
   * Indicates the type of Authentication request  01 - Payment transaction  02 - Recurring transaction  03 - Installment transaction  04 - Add card  05 - Maintain card  06 - Cardholder verification as part of EMV token ID and V 
   * @return authenticationIndicator
  **/
  @ApiModelProperty(value = "Indicates the type of Authentication request  01 - Payment transaction  02 - Recurring transaction  03 - Installment transaction  04 - Add card  05 - Maintain card  06 - Cardholder verification as part of EMV token ID and V ")
  public String getAuthenticationIndicator() {
    return authenticationIndicator;
  }

  public void setAuthenticationIndicator(String authenticationIndicator) {
    this.authenticationIndicator = authenticationIndicator;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication = (Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication) o;
    return Objects.equals(this.issuerInformation, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.issuerInformation) &&
        Objects.equals(this.lowValueExemptionIndicator, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.lowValueExemptionIndicator) &&
        Objects.equals(this.riskAnalysisExemptionIndicator, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.riskAnalysisExemptionIndicator) &&
        Objects.equals(this.trustedMerchantExemptionIndicator, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.trustedMerchantExemptionIndicator) &&
        Objects.equals(this.secureCorporatePaymentIndicator, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.secureCorporatePaymentIndicator) &&
        Objects.equals(this.delegatedAuthenticationExemptionIndicator, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.delegatedAuthenticationExemptionIndicator) &&
        Objects.equals(this.outageExemptionIndicator, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.outageExemptionIndicator) &&
        Objects.equals(this.authenticationIndicator, ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication.authenticationIndicator);
  }

  @Override
  public int hashCode() {
    return Objects.hash(issuerInformation, lowValueExemptionIndicator, riskAnalysisExemptionIndicator, trustedMerchantExemptionIndicator, secureCorporatePaymentIndicator, delegatedAuthenticationExemptionIndicator, outageExemptionIndicator, authenticationIndicator);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication {\n");
    
    sb.append("    issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n");
    sb.append("    lowValueExemptionIndicator: ").append(toIndentedString(lowValueExemptionIndicator)).append("\n");
    sb.append("    riskAnalysisExemptionIndicator: ").append(toIndentedString(riskAnalysisExemptionIndicator)).append("\n");
    sb.append("    trustedMerchantExemptionIndicator: ").append(toIndentedString(trustedMerchantExemptionIndicator)).append("\n");
    sb.append("    secureCorporatePaymentIndicator: ").append(toIndentedString(secureCorporatePaymentIndicator)).append("\n");
    sb.append("    delegatedAuthenticationExemptionIndicator: ").append(toIndentedString(delegatedAuthenticationExemptionIndicator)).append("\n");
    sb.append("    outageExemptionIndicator: ").append(toIndentedString(outageExemptionIndicator)).append("\n");
    sb.append("    authenticationIndicator: ").append(toIndentedString(authenticationIndicator)).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