com.adyen.model.nexo.PaymentToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
package com.adyen.model.nexo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Definition: Surrogate of the PAN (Primary Account Number) of the payment card to identify the payment mean of the customer. -- Usage: It allows, for a merchant, to identify the customer.
*
* Java class for PaymentToken complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PaymentToken">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="TokenRequested" use="required" type="{}TokenRequestedType" />
* <attribute name="TokenValue" use="required" type="{}TokenValue" />
* <attribute name="ExpiryDateTime" type="{}ExpiryDateTime" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentToken")
public class PaymentToken {
/**
* The Token requested.
*/
@XmlAttribute(name = "TokenRequestedType", required = true)
protected TokenRequestedType tokenRequestedType;
/**
* The Token value.
*/
@XmlAttribute(name = "TokenValue", required = true)
protected String tokenValue;
/**
* The Expiry date time.
*/
@XmlAttribute(name = "ExpiryDateTime")
protected XMLGregorianCalendar expiryDateTime;
/**
* Gets the value of the tokenRequestedType property.
*
* @return possible object is {@link TokenRequestedType }
*/
public TokenRequestedType getTokenRequestedType() {
return tokenRequestedType;
}
/**
* Sets the value of the tokenRequestedType property.
*
* @param value allowed object is {@link TokenRequestedType }
*/
public void setTokenRequestedType(TokenRequestedType value) {
this.tokenRequestedType = value;
}
/**
* Gets the value of the tokenValue property.
*
* @return possible object is {@link String }
*/
public String getTokenValue() {
return tokenValue;
}
/**
* Sets the value of the tokenValue property.
*
* @param value allowed object is {@link String }
*/
public void setTokenValue(String value) {
this.tokenValue = value;
}
/**
* Gets the value of the expiryDateTime property.
*
* @return possible object is {@link XMLGregorianCalendar }
*/
public XMLGregorianCalendar getExpiryDateTime() {
return expiryDateTime;
}
/**
* Sets the value of the expiryDateTime property.
*
* @param value allowed object is {@link XMLGregorianCalendar }
*/
public void setExpiryDateTime(XMLGregorianCalendar value) {
this.expiryDateTime = value;
}
}