Class Token2

java.lang.Object
org.coderic.iso20022.messages.cain.Token2

public class Token2 extends Object

Java class for Token2 complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Token2">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="PmtTkn" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}Max19NumericText" minOccurs="0"/>
         <element name="TknXpryDt" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}ISOYearMonth" minOccurs="0"/>
         <element name="TknRqstrId" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}Max11NumericText" minOccurs="0"/>
         <element name="TknAssrncData" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}Max140Text" minOccurs="0"/>
         <element name="TknAssrncMtd" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}Max2NumericText" minOccurs="0"/>
         <element name="TknInittdInd" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}TrueFalseIndicator" minOccurs="0"/>
         <element name="StorgLctn" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}StorageLocation1Code" minOccurs="0"/>
         <element name="OthrStorgLctn" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}Max35Text" minOccurs="0"/>
         <element name="PrtcnMtd" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}ProtectionMethod1Code" minOccurs="0"/>
         <element name="OthrPrtcnMtd" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}Max35Text" minOccurs="0"/>
         <element name="AddtlData" type="{urn:iso:std:iso:20022:tech:xsd:cain.028.001.02}AdditionalData1" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • Token2

      public Token2()
  • Method Details

    • getPmtTkn

      public String getPmtTkn()
      Gets the value of the pmtTkn property.
      Returns:
      possible object is String
    • setPmtTkn

      public void setPmtTkn(String value)
      Sets the value of the pmtTkn property.
      Parameters:
      value - allowed object is String
    • getTknXpryDt

      public XMLGregorianCalendar getTknXpryDt()
      Gets the value of the tknXpryDt property.
      Returns:
      possible object is XMLGregorianCalendar
    • setTknXpryDt

      public void setTknXpryDt(XMLGregorianCalendar value)
      Sets the value of the tknXpryDt property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getTknRqstrId

      public String getTknRqstrId()
      Gets the value of the tknRqstrId property.
      Returns:
      possible object is String
    • setTknRqstrId

      public void setTknRqstrId(String value)
      Sets the value of the tknRqstrId property.
      Parameters:
      value - allowed object is String
    • getTknAssrncData

      public String getTknAssrncData()
      Gets the value of the tknAssrncData property.
      Returns:
      possible object is String
    • setTknAssrncData

      public void setTknAssrncData(String value)
      Sets the value of the tknAssrncData property.
      Parameters:
      value - allowed object is String
    • getTknAssrncMtd

      public String getTknAssrncMtd()
      Gets the value of the tknAssrncMtd property.
      Returns:
      possible object is String
    • setTknAssrncMtd

      public void setTknAssrncMtd(String value)
      Sets the value of the tknAssrncMtd property.
      Parameters:
      value - allowed object is String
    • isTknInittdInd

      public Boolean isTknInittdInd()
      Gets the value of the tknInittdInd property.
      Returns:
      possible object is Boolean
    • setTknInittdInd

      public void setTknInittdInd(Boolean value)
      Sets the value of the tknInittdInd property.
      Parameters:
      value - allowed object is Boolean
    • getStorgLctn

      public StorageLocation1Code getStorgLctn()
      Gets the value of the storgLctn property.
      Returns:
      possible object is StorageLocation1Code
    • setStorgLctn

      public void setStorgLctn(StorageLocation1Code value)
      Sets the value of the storgLctn property.
      Parameters:
      value - allowed object is StorageLocation1Code
    • getOthrStorgLctn

      public String getOthrStorgLctn()
      Gets the value of the othrStorgLctn property.
      Returns:
      possible object is String
    • setOthrStorgLctn

      public void setOthrStorgLctn(String value)
      Sets the value of the othrStorgLctn property.
      Parameters:
      value - allowed object is String
    • getPrtcnMtd

      public ProtectionMethod1Code getPrtcnMtd()
      Gets the value of the prtcnMtd property.
      Returns:
      possible object is ProtectionMethod1Code
    • setPrtcnMtd

      public void setPrtcnMtd(ProtectionMethod1Code value)
      Sets the value of the prtcnMtd property.
      Parameters:
      value - allowed object is ProtectionMethod1Code
    • getOthrPrtcnMtd

      public String getOthrPrtcnMtd()
      Gets the value of the othrPrtcnMtd property.
      Returns:
      possible object is String
    • setOthrPrtcnMtd

      public void setOthrPrtcnMtd(String value)
      Sets the value of the othrPrtcnMtd property.
      Parameters:
      value - allowed object is String
    • getAddtlData

      public List<AdditionalData1> getAddtlData()
      Gets the value of the addtlData property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the addtlData property.

      For example, to add a new item, do as follows:

          getAddtlData().add(newItem);
       

      Objects of the following type(s) are allowed in the list AdditionalData1