com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.DecryptedPaymentData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
package com.ingenico.connect.gateway.sdk.java.domain.payment.definitions;
public class DecryptedPaymentData {
private String cardholderName = null;
private String cryptogram = null;
private String dpan = null;
private Integer eci = null;
private String expiryDate = null;
private String pan = null;
private String paymentMethod = null;
/**
* Card holder's name on the card.
*
* - For Apple Pay, maps to the cardholderName property in the encrypted payment data.
*
- For Google Pay this is not available in the encrypted payment data, and can be omitted.
*
*/
public String getCardholderName() {
return cardholderName;
}
/**
* Card holder's name on the card.
*
* - For Apple Pay, maps to the cardholderName property in the encrypted payment data.
*
- For Google Pay this is not available in the encrypted payment data, and can be omitted.
*
*/
public void setCardholderName(String value) {
this.cardholderName = value;
}
/**
* The 3D secure online payment cryptogram.
*
* - For Apple Pay, maps to the paymentData.onlinePaymentCryptogram property in the encrypted payment data.
*
- For Google Pay, maps to the paymentMethodDetails.3dsCryptogram property in the encrypted payment data.
*
* Not allowed for Google Pay if the paymentMethod is CARD.
*/
public String getCryptogram() {
return cryptogram;
}
/**
* The 3D secure online payment cryptogram.
*
* - For Apple Pay, maps to the paymentData.onlinePaymentCryptogram property in the encrypted payment data.
*
- For Google Pay, maps to the paymentMethodDetails.3dsCryptogram property in the encrypted payment data.
*
* Not allowed for Google Pay if the paymentMethod is CARD.
*/
public void setCryptogram(String value) {
this.cryptogram = value;
}
/**
* The device specific PAN.
*
* - For Apple Pay, maps to the applicationPrimaryAccountNumber property in the encrypted payment data.
*
- For Google Pay, maps to the paymentMethodDetails.dpan property in the encrypted payment data.
*
* Not allowed for Google Pay if the paymentMethod is CARD.
*/
public String getDpan() {
return dpan;
}
/**
* The device specific PAN.
*
* - For Apple Pay, maps to the applicationPrimaryAccountNumber property in the encrypted payment data.
*
- For Google Pay, maps to the paymentMethodDetails.dpan property in the encrypted payment data.
*
* Not allowed for Google Pay if the paymentMethod is CARD.
*/
public void setDpan(String value) {
this.dpan = value;
}
/**
* Electronic Commerce Indicator.
*
* - For Apple Pay, maps to the paymentData.eciIndicator property in the encrypted payment data.
*
- For Google Pay, maps to the paymentMethodDetails.3dsEciIndicator property in the encryted payment data.
*
* Not allowed for Google Pay if the paymentMethod is CARD.
*/
public Integer getEci() {
return eci;
}
/**
* Electronic Commerce Indicator.
*
* - For Apple Pay, maps to the paymentData.eciIndicator property in the encrypted payment data.
*
- For Google Pay, maps to the paymentMethodDetails.3dsEciIndicator property in the encryted payment data.
*
* Not allowed for Google Pay if the paymentMethod is CARD.
*/
public void setEci(Integer value) {
this.eci = value;
}
/**
* Expiry date of the card
* Format: MMYY.
*
* - For Apple Pay, maps to the applicationExpirationDate property in the encrypted payment data. This property is formatted as YYMMDD, so this needs to be converted to get a correctly formatted expiry date.
*
- For Google Pay, maps to the paymentMethodDetails.expirationMonth and paymentMethodDetails.expirationYear properties in the encrypted payment data. These need to be combined to get a correctly formatted expiry date.
*
*/
public String getExpiryDate() {
return expiryDate;
}
/**
* Expiry date of the card
* Format: MMYY.
*
* - For Apple Pay, maps to the applicationExpirationDate property in the encrypted payment data. This property is formatted as YYMMDD, so this needs to be converted to get a correctly formatted expiry date.
*
- For Google Pay, maps to the paymentMethodDetails.expirationMonth and paymentMethodDetails.expirationYear properties in the encrypted payment data. These need to be combined to get a correctly formatted expiry date.
*
*/
public void setExpiryDate(String value) {
this.expiryDate = value;
}
/**
* The non-device specific complete credit/debit card number (also know as the PAN).
*
* - For Apple Pay this is not available in the encrypted payment data, and must be omitted.
*
- For Google Pay, maps to the paymentMethodDetails.pan property in the encrypted payment data.
*
* Not allowed for Google Pay if the paymentMethod is TOKENIZED_CARD.
*/
public String getPan() {
return pan;
}
/**
* The non-device specific complete credit/debit card number (also know as the PAN).
*
* - For Apple Pay this is not available in the encrypted payment data, and must be omitted.
*
- For Google Pay, maps to the paymentMethodDetails.pan property in the encrypted payment data.
*
* Not allowed for Google Pay if the paymentMethod is TOKENIZED_CARD.
*/
public void setPan(String value) {
this.pan = value;
}
/**
* The type of the payment credential: either CARD or TOKENIZED_CARD.
*
* - For Apple Pay this is not available in the encrypted payment data, and must be omitted.
*
- For Google Pay, maps to the paymentMethod property in the encrypted payment data.
*
*/
public String getPaymentMethod() {
return paymentMethod;
}
/**
* The type of the payment credential: either CARD or TOKENIZED_CARD.
*
* - For Apple Pay this is not available in the encrypted payment data, and must be omitted.
*
- For Google Pay, maps to the paymentMethod property in the encrypted payment data.
*
*/
public void setPaymentMethod(String value) {
this.paymentMethod = value;
}
}