Class TradeParty1

java.lang.Object
org.coderic.iso20022.messages.tsmt.TradeParty1

public class TradeParty1 extends Object

Java class for TradeParty1 complex type.

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

 <complexType name="TradeParty1">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="PtyId" type="{urn:iso:std:iso:20022:tech:xsd:tsmt.055.001.01}PartyIdentification45"/>
         <element name="LglOrg" type="{urn:iso:std:iso:20022:tech:xsd:tsmt.055.001.01}LegalOrganisation1" minOccurs="0"/>
         <element name="TaxPty" type="{urn:iso:std:iso:20022:tech:xsd:tsmt.055.001.01}TaxParty3" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • TradeParty1

      public TradeParty1()
  • Method Details

    • getPtyId

      public PartyIdentification45 getPtyId()
      Gets the value of the ptyId property.
      Returns:
      possible object is PartyIdentification45
    • setPtyId

      public void setPtyId(PartyIdentification45 value)
      Sets the value of the ptyId property.
      Parameters:
      value - allowed object is PartyIdentification45
    • getLglOrg

      public LegalOrganisation1 getLglOrg()
      Gets the value of the lglOrg property.
      Returns:
      possible object is LegalOrganisation1
    • setLglOrg

      public void setLglOrg(LegalOrganisation1 value)
      Sets the value of the lglOrg property.
      Parameters:
      value - allowed object is LegalOrganisation1
    • getTaxPty

      public List<TaxParty3> getTaxPty()
      Gets the value of the taxPty 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 taxPty property.

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

          getTaxPty().add(newItem);
       

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