Class PaymentToken


  • public class PaymentToken
    extends Object
    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>
     
    • Field Detail

      • tokenRequestedType

        protected TokenRequestedType tokenRequestedType
        The Token requested.
      • tokenValue

        protected String tokenValue
        The Token value.
    • Constructor Detail

      • PaymentToken

        public PaymentToken()
    • Method Detail

      • setTokenRequestedType

        public void setTokenRequestedType​(TokenRequestedType value)
        Sets the value of the tokenRequestedType property.
        Parameters:
        value - allowed object is TokenRequestedType
      • getTokenValue

        public String getTokenValue()
        Gets the value of the tokenValue property.
        Returns:
        possible object is String
      • setTokenValue

        public void setTokenValue​(String value)
        Sets the value of the tokenValue property.
        Parameters:
        value - allowed object is String