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

com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.DecryptedPaymentData Maven / Gradle / Ivy

/*
 * 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 authMethod = null;

	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;

	/**
	 * The type of payment credential which the customer used.
	 * 
    *
  • For Google Pay, maps to the paymentMethodDetails.authMethod property in the encrypted payment data. *
. * * @deprecated Use decryptedPaymentData.paymentMethod instead */ @Deprecated public String getAuthMethod() { return authMethod; } /** * The type of payment credential which the customer used. *
    *
  • For Google Pay, maps to the paymentMethodDetails.authMethod property in the encrypted payment data. *
. * * @deprecated Use decryptedPaymentData.paymentMethod instead */ @Deprecated public void setAuthMethod(String value) { this.authMethod = value; } /** * 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.cryptogram property in the encrypted payment data. *
* Not allowed for Google Pay if the authMethod in the response of Google is PAN_ONLY. */ 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.cryptogram property in the encrypted payment data. *
* Not allowed for Google Pay if the authMethod in the response of Google is PAN_ONLY. */ 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 authMethod in the response of Google is PAN_ONLY. */ 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 authMethod in the response of Google is PAN_ONLY. */ public void setDpan(String value) { this.dpan = value; } /** * The eci is Electronic Commerce Indicator. *
    *
  • For Apple Pay, maps to the paymentData.eciIndicator property in the encrypted payment data. *
  • For Google Pay, maps to the paymentMethodDetails.eciIndicator property in the encrypted payment data. *
*/ public Integer getEci() { return eci; } /** * The eci is Electronic Commerce Indicator. *
    *
  • For Apple Pay, maps to the paymentData.eciIndicator property in the encrypted payment data. *
  • For Google Pay, maps to the paymentMethodDetails.eciIndicator property in the encrypted payment data. *
*/ 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 authMethod in the response of Google is CRYPTOGRAM_3DS. */ 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 authMethod in the response of Google is CRYPTOGRAM_3DS. */ public void setPan(String value) { this.pan = value; } /** *
    *
  • In case Google provides in the response as authMethod: CRYPTOGRAM_3DS send in as value of this property TOKENIZED_CARD. *
  • In case Google provides in the response as authMethod: PAN_ONLY send in as value of this property CARD. *
For Apple Pay this is not available in the encrypted payment data, and must be omitted. */ public String getPaymentMethod() { return paymentMethod; } /** *
    *
  • In case Google provides in the response as authMethod: CRYPTOGRAM_3DS send in as value of this property TOKENIZED_CARD. *
  • In case Google provides in the response as authMethod: PAN_ONLY send in as value of this property CARD. *
For Apple Pay this is not available in the encrypted payment data, and must be omitted. */ public void setPaymentMethod(String value) { this.paymentMethod = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy