com.prowidesoftware.swift.model.mx.dic.InitialBaselineSubmissionV04 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Scope
* The InitialBaselineSubmission message is sent by the initiator of a transaction to the matching application.
* This message is used to initiate a transaction.
* Usage
* The InitialBaselineSubmission message can be sent by a party to register a transaction in the matching application. The message can be submitted with either lodge or push-through instruction.
* When the push-through instruction is present, the matching application acknowledges the receipt of the message to the sender by sending an Acknowledgement message, stores the submitted information and informs the counterparty about the registration of the transaction by sending a FullPushThroughReport message. With the BaselineReSubmission message the counterparty responds with matching baseline information in order to establish the transaction (baseline).
* When the lodge instruction is present, the matching application acknowledges the receipt of the message to the sender by sending an Acknowledgement message and stores the submitted information. No matching of the submitted baseline data with other baseline information will take place. For example the submission of an InitialBaselineSubmission message containing a lodge instruction establishes the transaction (baseline) in the matching application.
* The InitialBaselineSubmission message consists of data which relates to the purchasing agreement covered by the transaction, for example line item details, shipping details.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InitialBaselineSubmissionV04", propOrder = {
"submissnId",
"submitrTxRef",
"instr",
"baseln",
"buyrCtctPrsn",
"sellrCtctPrsn",
"bkCtctPrsn",
"othrBkCtctPrsn"
})
public class InitialBaselineSubmissionV04 {
@XmlElement(name = "SubmissnId", required = true)
protected MessageIdentification1 submissnId;
@XmlElement(name = "SubmitrTxRef", required = true)
protected SimpleIdentificationInformation submitrTxRef;
@XmlElement(name = "Instr", required = true)
protected InstructionType1 instr;
@XmlElement(name = "Baseln", required = true)
protected Baseline4 baseln;
@XmlElement(name = "BuyrCtctPrsn")
protected List buyrCtctPrsn;
@XmlElement(name = "SellrCtctPrsn")
protected List sellrCtctPrsn;
@XmlElement(name = "BkCtctPrsn", required = true)
protected BankContactPerson1Choice bkCtctPrsn;
@XmlElement(name = "OthrBkCtctPrsn")
protected List othrBkCtctPrsn;
/**
* Gets the value of the submissnId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getSubmissnId() {
return submissnId;
}
/**
* Sets the value of the submissnId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public InitialBaselineSubmissionV04 setSubmissnId(MessageIdentification1 value) {
this.submissnId = value;
return this;
}
/**
* Gets the value of the submitrTxRef property.
*
* @return
* possible object is
* {@link SimpleIdentificationInformation }
*
*/
public SimpleIdentificationInformation getSubmitrTxRef() {
return submitrTxRef;
}
/**
* Sets the value of the submitrTxRef property.
*
* @param value
* allowed object is
* {@link SimpleIdentificationInformation }
*
*/
public InitialBaselineSubmissionV04 setSubmitrTxRef(SimpleIdentificationInformation value) {
this.submitrTxRef = value;
return this;
}
/**
* Gets the value of the instr property.
*
* @return
* possible object is
* {@link InstructionType1 }
*
*/
public InstructionType1 getInstr() {
return instr;
}
/**
* Sets the value of the instr property.
*
* @param value
* allowed object is
* {@link InstructionType1 }
*
*/
public InitialBaselineSubmissionV04 setInstr(InstructionType1 value) {
this.instr = value;
return this;
}
/**
* Gets the value of the baseln property.
*
* @return
* possible object is
* {@link Baseline4 }
*
*/
public Baseline4 getBaseln() {
return baseln;
}
/**
* Sets the value of the baseln property.
*
* @param value
* allowed object is
* {@link Baseline4 }
*
*/
public InitialBaselineSubmissionV04 setBaseln(Baseline4 value) {
this.baseln = value;
return this;
}
/**
* Gets the value of the buyrCtctPrsn 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 buyrCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getBuyrCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification1 }
*
*
*/
public List getBuyrCtctPrsn() {
if (buyrCtctPrsn == null) {
buyrCtctPrsn = new ArrayList();
}
return this.buyrCtctPrsn;
}
/**
* Gets the value of the sellrCtctPrsn 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 sellrCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getSellrCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification1 }
*
*
*/
public List getSellrCtctPrsn() {
if (sellrCtctPrsn == null) {
sellrCtctPrsn = new ArrayList();
}
return this.sellrCtctPrsn;
}
/**
* Gets the value of the bkCtctPrsn property.
*
* @return
* possible object is
* {@link BankContactPerson1Choice }
*
*/
public BankContactPerson1Choice getBkCtctPrsn() {
return bkCtctPrsn;
}
/**
* Sets the value of the bkCtctPrsn property.
*
* @param value
* allowed object is
* {@link BankContactPerson1Choice }
*
*/
public InitialBaselineSubmissionV04 setBkCtctPrsn(BankContactPerson1Choice value) {
this.bkCtctPrsn = value;
return this;
}
/**
* Gets the value of the othrBkCtctPrsn 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 othrBkCtctPrsn property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrBkCtctPrsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactIdentification3 }
*
*
*/
public List getOthrBkCtctPrsn() {
if (othrBkCtctPrsn == null) {
othrBkCtctPrsn = new ArrayList();
}
return this.othrBkCtctPrsn;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
/**
* Adds a new item to the buyrCtctPrsn list.
* @see #getBuyrCtctPrsn()
*
*/
public InitialBaselineSubmissionV04 addBuyrCtctPrsn(ContactIdentification1 buyrCtctPrsn) {
getBuyrCtctPrsn().add(buyrCtctPrsn);
return this;
}
/**
* Adds a new item to the sellrCtctPrsn list.
* @see #getSellrCtctPrsn()
*
*/
public InitialBaselineSubmissionV04 addSellrCtctPrsn(ContactIdentification1 sellrCtctPrsn) {
getSellrCtctPrsn().add(sellrCtctPrsn);
return this;
}
/**
* Adds a new item to the othrBkCtctPrsn list.
* @see #getOthrBkCtctPrsn()
*
*/
public InitialBaselineSubmissionV04 addOthrBkCtctPrsn(ContactIdentification3 othrBkCtctPrsn) {
getOthrBkCtctPrsn().add(othrBkCtctPrsn);
return this;
}
}