
Model.PtsV2PaymentsPost201ResponseIssuerInformation 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;
/**
* PtsV2PaymentsPost201ResponseIssuerInformation
*/
public class PtsV2PaymentsPost201ResponseIssuerInformation {
@SerializedName("country")
private String country = null;
@SerializedName("discretionaryData")
private String discretionaryData = null;
@SerializedName("countrySpecificDiscretionaryData")
private String countrySpecificDiscretionaryData = null;
@SerializedName("responseCode")
private String responseCode = null;
@SerializedName("pinRequestIndicator")
private String pinRequestIndicator = null;
public PtsV2PaymentsPost201ResponseIssuerInformation country(String country) {
this.country = country;
return this;
}
/**
* Country in which the card was issued. This information enables you to determine whether the card was issued domestically or internationally. Use the two-character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf). This field is supported for Visa, Mastercard, Discover, Diners Club, JCB, and Maestro (International) on Chase Paymentech Solutions.
* @return country
**/
@ApiModelProperty(value = "Country in which the card was issued. This information enables you to determine whether the card was issued domestically or internationally. Use the two-character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf). This field is supported for Visa, Mastercard, Discover, Diners Club, JCB, and Maestro (International) on Chase Paymentech Solutions. ")
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public PtsV2PaymentsPost201ResponseIssuerInformation discretionaryData(String discretionaryData) {
this.discretionaryData = discretionaryData;
return this;
}
/**
* Data defined by the issuer. The value for this reply field will probably be the same as the value that you submitted in the authorization request, but it is possible for the processor, issuer, or acquirer to modify the value. This field is supported only for Visa transactions on **CyberSource through VisaNet**.
* @return discretionaryData
**/
@ApiModelProperty(value = "Data defined by the issuer. The value for this reply field will probably be the same as the value that you submitted in the authorization request, but it is possible for the processor, issuer, or acquirer to modify the value. This field is supported only for Visa transactions on **CyberSource through VisaNet**. ")
public String getDiscretionaryData() {
return discretionaryData;
}
public void setDiscretionaryData(String discretionaryData) {
this.discretionaryData = discretionaryData;
}
public PtsV2PaymentsPost201ResponseIssuerInformation countrySpecificDiscretionaryData(String countrySpecificDiscretionaryData) {
this.countrySpecificDiscretionaryData = countrySpecificDiscretionaryData;
return this;
}
/**
* Data defined by the issuer. This national use field contains two subfields for information unique to the processing of Visa transactions by members in Japan. This subfield contains the Katakana text to be printed on the receipt.
* @return countrySpecificDiscretionaryData
**/
@ApiModelProperty(value = "Data defined by the issuer. This national use field contains two subfields for information unique to the processing of Visa transactions by members in Japan. This subfield contains the Katakana text to be printed on the receipt. ")
public String getCountrySpecificDiscretionaryData() {
return countrySpecificDiscretionaryData;
}
public void setCountrySpecificDiscretionaryData(String countrySpecificDiscretionaryData) {
this.countrySpecificDiscretionaryData = countrySpecificDiscretionaryData;
}
public PtsV2PaymentsPost201ResponseIssuerInformation responseCode(String responseCode) {
this.responseCode = responseCode;
return this;
}
/**
* This is the raw Association/Issuer Response Codes. You can use 'issuer/association' response codes to identify when you can retry to authorize a declined transaction and increase successful transaction volumes. You'll receive an association/issuer response code for the majority of transactions. #### Processors supported: - HSBC - FDC Nashville Global - SIX Currently SIX is not receiving Association/Issuer Response Codes here it receives the additional authorization code that must be printed on the receipt when returned by the processor. #### Possible values: | Card Type | Response Code | Description | | ----------- | ------------- | ------------------------------------------------------------------------------ | | VISA | 000 | Successful approval/completion or that V.I.P. PIN verification is successful | | VISA | 001 | Refer to card issuer | | VISA | 002 | Refer to card issuer, special condition | | VISA | 003 | Invalid merchant or service provider | | VISA | 004 | Pickup card | | MasterCard | 000 | Approved or completed successfully | | MasterCard | 001 | Refer to card issuer | | MasterCard | 003 | Invalid merchant | | MasterCard | 004 | Capture card | | MasterCard | 005 | Do not honor | | AMEX | 000 | Approved | | AMEX | 001 | Approve with ID | | AMEX | 002 | Partial Approval (Prepaid Cards only) | | AMEX | 100 | Deny | | AMEX | 101 | Expired Card/Invalid Expiration Date | | Discover | 000 | Approved or completed successfully | | Discover | 001 | Reserved for future USE | | Discover | 002 | Reserved for future USE | | Discover | 003 | Invalid Merchant | | Discover | 004 | Capture Card |
* @return responseCode
**/
@ApiModelProperty(value = "This is the raw Association/Issuer Response Codes. You can use 'issuer/association' response codes to identify when you can retry to authorize a declined transaction and increase successful transaction volumes. You'll receive an association/issuer response code for the majority of transactions. #### Processors supported: - HSBC - FDC Nashville Global - SIX Currently SIX is not receiving Association/Issuer Response Codes here it receives the additional authorization code that must be printed on the receipt when returned by the processor. #### Possible values: | Card Type | Response Code | Description | | ----------- | ------------- | ------------------------------------------------------------------------------ | | VISA | 000 | Successful approval/completion or that V.I.P. PIN verification is successful | | VISA | 001 | Refer to card issuer | | VISA | 002 | Refer to card issuer, special condition | | VISA | 003 | Invalid merchant or service provider | | VISA | 004 | Pickup card | | MasterCard | 000 | Approved or completed successfully | | MasterCard | 001 | Refer to card issuer | | MasterCard | 003 | Invalid merchant | | MasterCard | 004 | Capture card | | MasterCard | 005 | Do not honor | | AMEX | 000 | Approved | | AMEX | 001 | Approve with ID | | AMEX | 002 | Partial Approval (Prepaid Cards only) | | AMEX | 100 | Deny | | AMEX | 101 | Expired Card/Invalid Expiration Date | | Discover | 000 | Approved or completed successfully | | Discover | 001 | Reserved for future USE | | Discover | 002 | Reserved for future USE | | Discover | 003 | Invalid Merchant | | Discover | 004 | Capture Card | ")
public String getResponseCode() {
return responseCode;
}
public void setResponseCode(String responseCode) {
this.responseCode = responseCode;
}
public PtsV2PaymentsPost201ResponseIssuerInformation pinRequestIndicator(String pinRequestIndicator) {
this.pinRequestIndicator = pinRequestIndicator;
return this;
}
/**
* This field contains value '1' which is sent by Issuer in the response when PIN is requested by issuer, This field is only supported for Visa Platform Connect.
* @return pinRequestIndicator
**/
@ApiModelProperty(value = "This field contains value '1' which is sent by Issuer in the response when PIN is requested by issuer, This field is only supported for Visa Platform Connect. ")
public String getPinRequestIndicator() {
return pinRequestIndicator;
}
public void setPinRequestIndicator(String pinRequestIndicator) {
this.pinRequestIndicator = pinRequestIndicator;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PtsV2PaymentsPost201ResponseIssuerInformation ptsV2PaymentsPost201ResponseIssuerInformation = (PtsV2PaymentsPost201ResponseIssuerInformation) o;
return Objects.equals(this.country, ptsV2PaymentsPost201ResponseIssuerInformation.country) &&
Objects.equals(this.discretionaryData, ptsV2PaymentsPost201ResponseIssuerInformation.discretionaryData) &&
Objects.equals(this.countrySpecificDiscretionaryData, ptsV2PaymentsPost201ResponseIssuerInformation.countrySpecificDiscretionaryData) &&
Objects.equals(this.responseCode, ptsV2PaymentsPost201ResponseIssuerInformation.responseCode) &&
Objects.equals(this.pinRequestIndicator, ptsV2PaymentsPost201ResponseIssuerInformation.pinRequestIndicator);
}
@Override
public int hashCode() {
return Objects.hash(country, discretionaryData, countrySpecificDiscretionaryData, responseCode, pinRequestIndicator);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PtsV2PaymentsPost201ResponseIssuerInformation {\n");
if (country != null) sb.append(" country: ").append(toIndentedString(country)).append("\n");
if (discretionaryData != null) sb.append(" discretionaryData: ").append(toIndentedString(discretionaryData)).append("\n");
if (countrySpecificDiscretionaryData != null) sb.append(" countrySpecificDiscretionaryData: ").append(toIndentedString(countrySpecificDiscretionaryData)).append("\n");
if (responseCode != null) sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n");
if (pinRequestIndicator != null) sb.append(" pinRequestIndicator: ").append(toIndentedString(pinRequestIndicator)).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