com.prowidesoftware.swift.model.mx.dic.AcquirerProtocolParameters6 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.XmlSchemaType;
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;
/**
* Acceptor parameters dedicated to the acquirer protocol.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AcquirerProtocolParameters6", propOrder = {
"acqrrId",
"applId",
"hst",
"onLineTx",
"offLineTx",
"rcncltnXchg",
"rcncltnByAcqrr",
"ttlsPerCcy",
"spltTtls",
"cardDataVrfctn",
"ntfyOffLineCxl",
"btchTrfCntt",
"msgItm",
"prtctCardData"
})
public class AcquirerProtocolParameters6 {
@XmlElement(name = "AcqrrId", required = true)
protected List acqrrId;
@XmlElement(name = "ApplId")
protected List applId;
@XmlElement(name = "Hst")
protected List hst;
@XmlElement(name = "OnLineTx")
protected AcquirerProtocolParameters5 onLineTx;
@XmlElement(name = "OffLineTx")
protected AcquirerProtocolParameters5 offLineTx;
@XmlElement(name = "RcncltnXchg")
protected ExchangeConfiguration4 rcncltnXchg;
@XmlElement(name = "RcncltnByAcqrr")
protected Boolean rcncltnByAcqrr;
@XmlElement(name = "TtlsPerCcy")
protected Boolean ttlsPerCcy;
@XmlElement(name = "SpltTtls")
protected Boolean spltTtls;
@XmlElement(name = "CardDataVrfctn")
protected Boolean cardDataVrfctn;
@XmlElement(name = "NtfyOffLineCxl")
protected Boolean ntfyOffLineCxl;
@XmlElement(name = "BtchTrfCntt")
@XmlSchemaType(name = "string")
protected List btchTrfCntt;
@XmlElement(name = "MsgItm")
protected List msgItm;
@XmlElement(name = "PrtctCardData")
protected boolean prtctCardData;
/**
* Gets the value of the acqrrId 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 acqrrId property.
*
*
* For example, to add a new item, do as follows:
*
* getAcqrrId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericIdentification32 }
*
*
* @return
* The value of the acqrrId property.
*/
public List getAcqrrId() {
if (acqrrId == null) {
acqrrId = new ArrayList<>();
}
return this.acqrrId;
}
/**
* Gets the value of the applId 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 applId property.
*
*
* For example, to add a new item, do as follows:
*
* getApplId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the applId property.
*/
public List getApplId() {
if (applId == null) {
applId = new ArrayList<>();
}
return this.applId;
}
/**
* Gets the value of the hst 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 hst property.
*
*
* For example, to add a new item, do as follows:
*
* getHst().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AcquirerHostConfiguration2 }
*
*
* @return
* The value of the hst property.
*/
public List getHst() {
if (hst == null) {
hst = new ArrayList<>();
}
return this.hst;
}
/**
* Gets the value of the onLineTx property.
*
* @return
* possible object is
* {@link AcquirerProtocolParameters5 }
*
*/
public AcquirerProtocolParameters5 getOnLineTx() {
return onLineTx;
}
/**
* Sets the value of the onLineTx property.
*
* @param value
* allowed object is
* {@link AcquirerProtocolParameters5 }
*
*/
public AcquirerProtocolParameters6 setOnLineTx(AcquirerProtocolParameters5 value) {
this.onLineTx = value;
return this;
}
/**
* Gets the value of the offLineTx property.
*
* @return
* possible object is
* {@link AcquirerProtocolParameters5 }
*
*/
public AcquirerProtocolParameters5 getOffLineTx() {
return offLineTx;
}
/**
* Sets the value of the offLineTx property.
*
* @param value
* allowed object is
* {@link AcquirerProtocolParameters5 }
*
*/
public AcquirerProtocolParameters6 setOffLineTx(AcquirerProtocolParameters5 value) {
this.offLineTx = value;
return this;
}
/**
* Gets the value of the rcncltnXchg property.
*
* @return
* possible object is
* {@link ExchangeConfiguration4 }
*
*/
public ExchangeConfiguration4 getRcncltnXchg() {
return rcncltnXchg;
}
/**
* Sets the value of the rcncltnXchg property.
*
* @param value
* allowed object is
* {@link ExchangeConfiguration4 }
*
*/
public AcquirerProtocolParameters6 setRcncltnXchg(ExchangeConfiguration4 value) {
this.rcncltnXchg = value;
return this;
}
/**
* Gets the value of the rcncltnByAcqrr property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRcncltnByAcqrr() {
return rcncltnByAcqrr;
}
/**
* Sets the value of the rcncltnByAcqrr property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public AcquirerProtocolParameters6 setRcncltnByAcqrr(Boolean value) {
this.rcncltnByAcqrr = value;
return this;
}
/**
* Gets the value of the ttlsPerCcy property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTtlsPerCcy() {
return ttlsPerCcy;
}
/**
* Sets the value of the ttlsPerCcy property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public AcquirerProtocolParameters6 setTtlsPerCcy(Boolean value) {
this.ttlsPerCcy = value;
return this;
}
/**
* Gets the value of the spltTtls property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isSpltTtls() {
return spltTtls;
}
/**
* Sets the value of the spltTtls property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public AcquirerProtocolParameters6 setSpltTtls(Boolean value) {
this.spltTtls = value;
return this;
}
/**
* Gets the value of the cardDataVrfctn property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCardDataVrfctn() {
return cardDataVrfctn;
}
/**
* Sets the value of the cardDataVrfctn property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public AcquirerProtocolParameters6 setCardDataVrfctn(Boolean value) {
this.cardDataVrfctn = value;
return this;
}
/**
* Gets the value of the ntfyOffLineCxl property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNtfyOffLineCxl() {
return ntfyOffLineCxl;
}
/**
* Sets the value of the ntfyOffLineCxl property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public AcquirerProtocolParameters6 setNtfyOffLineCxl(Boolean value) {
this.ntfyOffLineCxl = value;
return this;
}
/**
* Gets the value of the btchTrfCntt 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 btchTrfCntt property.
*
*
* For example, to add a new item, do as follows:
*
* getBtchTrfCntt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BatchTransactionType1Code }
*
*
* @return
* The value of the btchTrfCntt property.
*/
public List getBtchTrfCntt() {
if (btchTrfCntt == null) {
btchTrfCntt = new ArrayList<>();
}
return this.btchTrfCntt;
}
/**
* Gets the value of the msgItm 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 msgItm property.
*
*
* For example, to add a new item, do as follows:
*
* getMsgItm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MessageItemCondition1 }
*
*
* @return
* The value of the msgItm property.
*/
public List getMsgItm() {
if (msgItm == null) {
msgItm = new ArrayList<>();
}
return this.msgItm;
}
/**
* Gets the value of the prtctCardData property.
*
*/
public boolean isPrtctCardData() {
return prtctCardData;
}
/**
* Sets the value of the prtctCardData property.
*
*/
public AcquirerProtocolParameters6 setPrtctCardData(boolean value) {
this.prtctCardData = value;
return this;
}
@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 acqrrId list.
* @see #getAcqrrId()
*
*/
public AcquirerProtocolParameters6 addAcqrrId(GenericIdentification32 acqrrId) {
getAcqrrId().add(acqrrId);
return this;
}
/**
* Adds a new item to the applId list.
* @see #getApplId()
*
*/
public AcquirerProtocolParameters6 addApplId(String applId) {
getApplId().add(applId);
return this;
}
/**
* Adds a new item to the hst list.
* @see #getHst()
*
*/
public AcquirerProtocolParameters6 addHst(AcquirerHostConfiguration2 hst) {
getHst().add(hst);
return this;
}
/**
* Adds a new item to the btchTrfCntt list.
* @see #getBtchTrfCntt()
*
*/
public AcquirerProtocolParameters6 addBtchTrfCntt(BatchTransactionType1Code btchTrfCntt) {
getBtchTrfCntt().add(btchTrfCntt);
return this;
}
/**
* Adds a new item to the msgItm list.
* @see #getMsgItm()
*
*/
public AcquirerProtocolParameters6 addMsgItm(MessageItemCondition1 msgItm) {
getMsgItm().add(msgItm);
return this;
}
}