Class TransactionPrice3Choice


  • public class TransactionPrice3Choice
    extends java.lang.Object

    Java class for TransactionPrice3Choice complex type.

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

     <complexType name="TransactionPrice3Choice">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="DealPric" type="{urn:iso:std:iso:20022:tech:xsd:camt.052.001.06}Price2"/>
             <element name="Prtry" type="{urn:iso:std:iso:20022:tech:xsd:camt.052.001.06}ProprietaryPrice2" maxOccurs="unbounded"/>
           </choice>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TransactionPrice3Choice

        public TransactionPrice3Choice()
    • Method Detail

      • getDealPric

        public Price2 getDealPric()
        Gets the value of the dealPric property.
        Returns:
        possible object is Price2
      • setDealPric

        public void setDealPric​(Price2 value)
        Sets the value of the dealPric property.
        Parameters:
        value - allowed object is Price2
      • getPrtry

        public java.util.List<ProprietaryPrice2> getPrtry()
        Gets the value of the prtry 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 JAXB object. This is why there is not a set method for the prtry property.

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

            getPrtry().add(newItem);
         

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