com.prowidesoftware.swift.model.mx.dic.Environment34 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.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;
/**
* Environment of the transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Environment34", propOrder = {
"acqrr",
"orgtr",
"sndr",
"rcvr",
"accptr",
"dstn",
"pyer",
"pyee",
"termnl",
"issr",
"card",
"cstmrDvc",
"wllt",
"tkn",
"crdhldr",
"addtlData"
})
public class Environment34 {
@XmlElement(name = "Acqrr")
protected PartyIdentification263 acqrr;
@XmlElement(name = "Orgtr")
protected PartyIdentification263 orgtr;
@XmlElement(name = "Sndr")
protected PartyIdentification263 sndr;
@XmlElement(name = "Rcvr")
protected PartyIdentification263 rcvr;
@XmlElement(name = "Accptr")
protected PartyIdentification255 accptr;
@XmlElement(name = "Dstn")
protected PartyIdentification263 dstn;
@XmlElement(name = "Pyer")
protected PartyIdentification257 pyer;
@XmlElement(name = "Pyee")
protected PartyIdentification257 pyee;
@XmlElement(name = "Termnl")
protected Terminal4 termnl;
@XmlElement(name = "Issr")
protected PartyIdentification263 issr;
@XmlElement(name = "Card")
protected CardData6 card;
@XmlElement(name = "CstmrDvc")
protected CustomerDevice4 cstmrDvc;
@XmlElement(name = "Wllt")
protected Wallet2 wllt;
@XmlElement(name = "Tkn")
protected Token2 tkn;
@XmlElement(name = "Crdhldr")
protected Cardholder19 crdhldr;
@XmlElement(name = "AddtlData")
protected List addtlData;
/**
* Gets the value of the acqrr property.
*
* @return
* possible object is
* {@link PartyIdentification263 }
*
*/
public PartyIdentification263 getAcqrr() {
return acqrr;
}
/**
* Sets the value of the acqrr property.
*
* @param value
* allowed object is
* {@link PartyIdentification263 }
*
*/
public Environment34 setAcqrr(PartyIdentification263 value) {
this.acqrr = value;
return this;
}
/**
* Gets the value of the orgtr property.
*
* @return
* possible object is
* {@link PartyIdentification263 }
*
*/
public PartyIdentification263 getOrgtr() {
return orgtr;
}
/**
* Sets the value of the orgtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification263 }
*
*/
public Environment34 setOrgtr(PartyIdentification263 value) {
this.orgtr = value;
return this;
}
/**
* Gets the value of the sndr property.
*
* @return
* possible object is
* {@link PartyIdentification263 }
*
*/
public PartyIdentification263 getSndr() {
return sndr;
}
/**
* Sets the value of the sndr property.
*
* @param value
* allowed object is
* {@link PartyIdentification263 }
*
*/
public Environment34 setSndr(PartyIdentification263 value) {
this.sndr = value;
return this;
}
/**
* Gets the value of the rcvr property.
*
* @return
* possible object is
* {@link PartyIdentification263 }
*
*/
public PartyIdentification263 getRcvr() {
return rcvr;
}
/**
* Sets the value of the rcvr property.
*
* @param value
* allowed object is
* {@link PartyIdentification263 }
*
*/
public Environment34 setRcvr(PartyIdentification263 value) {
this.rcvr = value;
return this;
}
/**
* Gets the value of the accptr property.
*
* @return
* possible object is
* {@link PartyIdentification255 }
*
*/
public PartyIdentification255 getAccptr() {
return accptr;
}
/**
* Sets the value of the accptr property.
*
* @param value
* allowed object is
* {@link PartyIdentification255 }
*
*/
public Environment34 setAccptr(PartyIdentification255 value) {
this.accptr = value;
return this;
}
/**
* Gets the value of the dstn property.
*
* @return
* possible object is
* {@link PartyIdentification263 }
*
*/
public PartyIdentification263 getDstn() {
return dstn;
}
/**
* Sets the value of the dstn property.
*
* @param value
* allowed object is
* {@link PartyIdentification263 }
*
*/
public Environment34 setDstn(PartyIdentification263 value) {
this.dstn = value;
return this;
}
/**
* Gets the value of the pyer property.
*
* @return
* possible object is
* {@link PartyIdentification257 }
*
*/
public PartyIdentification257 getPyer() {
return pyer;
}
/**
* Sets the value of the pyer property.
*
* @param value
* allowed object is
* {@link PartyIdentification257 }
*
*/
public Environment34 setPyer(PartyIdentification257 value) {
this.pyer = value;
return this;
}
/**
* Gets the value of the pyee property.
*
* @return
* possible object is
* {@link PartyIdentification257 }
*
*/
public PartyIdentification257 getPyee() {
return pyee;
}
/**
* Sets the value of the pyee property.
*
* @param value
* allowed object is
* {@link PartyIdentification257 }
*
*/
public Environment34 setPyee(PartyIdentification257 value) {
this.pyee = value;
return this;
}
/**
* Gets the value of the termnl property.
*
* @return
* possible object is
* {@link Terminal4 }
*
*/
public Terminal4 getTermnl() {
return termnl;
}
/**
* Sets the value of the termnl property.
*
* @param value
* allowed object is
* {@link Terminal4 }
*
*/
public Environment34 setTermnl(Terminal4 value) {
this.termnl = value;
return this;
}
/**
* Gets the value of the issr property.
*
* @return
* possible object is
* {@link PartyIdentification263 }
*
*/
public PartyIdentification263 getIssr() {
return issr;
}
/**
* Sets the value of the issr property.
*
* @param value
* allowed object is
* {@link PartyIdentification263 }
*
*/
public Environment34 setIssr(PartyIdentification263 value) {
this.issr = value;
return this;
}
/**
* Gets the value of the card property.
*
* @return
* possible object is
* {@link CardData6 }
*
*/
public CardData6 getCard() {
return card;
}
/**
* Sets the value of the card property.
*
* @param value
* allowed object is
* {@link CardData6 }
*
*/
public Environment34 setCard(CardData6 value) {
this.card = value;
return this;
}
/**
* Gets the value of the cstmrDvc property.
*
* @return
* possible object is
* {@link CustomerDevice4 }
*
*/
public CustomerDevice4 getCstmrDvc() {
return cstmrDvc;
}
/**
* Sets the value of the cstmrDvc property.
*
* @param value
* allowed object is
* {@link CustomerDevice4 }
*
*/
public Environment34 setCstmrDvc(CustomerDevice4 value) {
this.cstmrDvc = value;
return this;
}
/**
* Gets the value of the wllt property.
*
* @return
* possible object is
* {@link Wallet2 }
*
*/
public Wallet2 getWllt() {
return wllt;
}
/**
* Sets the value of the wllt property.
*
* @param value
* allowed object is
* {@link Wallet2 }
*
*/
public Environment34 setWllt(Wallet2 value) {
this.wllt = value;
return this;
}
/**
* Gets the value of the tkn property.
*
* @return
* possible object is
* {@link Token2 }
*
*/
public Token2 getTkn() {
return tkn;
}
/**
* Sets the value of the tkn property.
*
* @param value
* allowed object is
* {@link Token2 }
*
*/
public Environment34 setTkn(Token2 value) {
this.tkn = value;
return this;
}
/**
* Gets the value of the crdhldr property.
*
* @return
* possible object is
* {@link Cardholder19 }
*
*/
public Cardholder19 getCrdhldr() {
return crdhldr;
}
/**
* Sets the value of the crdhldr property.
*
* @param value
* allowed object is
* {@link Cardholder19 }
*
*/
public Environment34 setCrdhldr(Cardholder19 value) {
this.crdhldr = value;
return this;
}
/**
* 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 {@code 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
* {@link AdditionalData2 }
*
*
* @return
* The value of the addtlData property.
*/
public List getAddtlData() {
if (addtlData == null) {
addtlData = new ArrayList<>();
}
return this.addtlData;
}
@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 addtlData list.
* @see #getAddtlData()
*
*/
public Environment34 addAddtlData(AdditionalData2 addtlData) {
getAddtlData().add(addtlData);
return this;
}
}