com.prowidesoftware.swift.model.mx.dic.AcceptorConfigurationContent1 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;
/**
* Content of the acceptor configuration.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AcceptorConfigurationContent1", propOrder = {
"acqrrPrtcolParams",
"mrchntParams",
"applParams",
"hstComParams"
})
public class AcceptorConfigurationContent1 {
@XmlElement(name = "AcqrrPrtcolParams")
protected List acqrrPrtcolParams;
@XmlElement(name = "MrchntParams")
protected List mrchntParams;
@XmlElement(name = "ApplParams")
protected List applParams;
@XmlElement(name = "HstComParams")
protected List hstComParams;
/**
* Gets the value of the acqrrPrtcolParams 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 acqrrPrtcolParams property.
*
*
* For example, to add a new item, do as follows:
*
* getAcqrrPrtcolParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AcquirerProtocolParameters1 }
*
*
* @return
* The value of the acqrrPrtcolParams property.
*/
public List getAcqrrPrtcolParams() {
if (acqrrPrtcolParams == null) {
acqrrPrtcolParams = new ArrayList<>();
}
return this.acqrrPrtcolParams;
}
/**
* Gets the value of the mrchntParams 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 mrchntParams property.
*
*
* For example, to add a new item, do as follows:
*
* getMrchntParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* byte[]
*
* @return
* The value of the mrchntParams property.
*/
public List getMrchntParams() {
if (mrchntParams == null) {
mrchntParams = new ArrayList<>();
}
return this.mrchntParams;
}
/**
* Gets the value of the applParams 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 applParams property.
*
*
* For example, to add a new item, do as follows:
*
* getApplParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ApplicationParameters1 }
*
*
* @return
* The value of the applParams property.
*/
public List getApplParams() {
if (applParams == null) {
applParams = new ArrayList<>();
}
return this.applParams;
}
/**
* Gets the value of the hstComParams 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 hstComParams property.
*
*
* For example, to add a new item, do as follows:
*
* getHstComParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostCommunicationParameter1 }
*
*
* @return
* The value of the hstComParams property.
*/
public List getHstComParams() {
if (hstComParams == null) {
hstComParams = new ArrayList<>();
}
return this.hstComParams;
}
@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 acqrrPrtcolParams list.
* @see #getAcqrrPrtcolParams()
*
*/
public AcceptorConfigurationContent1 addAcqrrPrtcolParams(AcquirerProtocolParameters1 acqrrPrtcolParams) {
getAcqrrPrtcolParams().add(acqrrPrtcolParams);
return this;
}
/**
* Adds a new item to the mrchntParams list.
* @see #getMrchntParams()
*
*/
public AcceptorConfigurationContent1 addMrchntParams(byte[] mrchntParams) {
getMrchntParams().add(mrchntParams);
return this;
}
/**
* Adds a new item to the applParams list.
* @see #getApplParams()
*
*/
public AcceptorConfigurationContent1 addApplParams(ApplicationParameters1 applParams) {
getApplParams().add(applParams);
return this;
}
/**
* Adds a new item to the hstComParams list.
* @see #getHstComParams()
*
*/
public AcceptorConfigurationContent1 addHstComParams(HostCommunicationParameter1 hstComParams) {
getHstComParams().add(hstComParams);
return this;
}
}