com.prowidesoftware.swift.model.mx.dic.CardPaymentEnvironment55 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 diagnostic exchange.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentEnvironment55", propOrder = {
"acqrr",
"acqrrAvlbtyReqd",
"mrchntId",
"poiId",
"poiCmpnt"
})
public class CardPaymentEnvironment55 {
@XmlElement(name = "Acqrr", required = true)
protected Acquirer4 acqrr;
@XmlElement(name = "AcqrrAvlbtyReqd")
protected Boolean acqrrAvlbtyReqd;
@XmlElement(name = "MrchntId")
protected GenericIdentification53 mrchntId;
@XmlElement(name = "POIId")
protected GenericIdentification32 poiId;
@XmlElement(name = "POICmpnt")
protected List poiCmpnt;
/**
* Gets the value of the acqrr property.
*
* @return
* possible object is
* {@link Acquirer4 }
*
*/
public Acquirer4 getAcqrr() {
return acqrr;
}
/**
* Sets the value of the acqrr property.
*
* @param value
* allowed object is
* {@link Acquirer4 }
*
*/
public CardPaymentEnvironment55 setAcqrr(Acquirer4 value) {
this.acqrr = value;
return this;
}
/**
* Gets the value of the acqrrAvlbtyReqd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAcqrrAvlbtyReqd() {
return acqrrAvlbtyReqd;
}
/**
* Sets the value of the acqrrAvlbtyReqd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public CardPaymentEnvironment55 setAcqrrAvlbtyReqd(Boolean value) {
this.acqrrAvlbtyReqd = value;
return this;
}
/**
* Gets the value of the mrchntId property.
*
* @return
* possible object is
* {@link GenericIdentification53 }
*
*/
public GenericIdentification53 getMrchntId() {
return mrchntId;
}
/**
* Sets the value of the mrchntId property.
*
* @param value
* allowed object is
* {@link GenericIdentification53 }
*
*/
public CardPaymentEnvironment55 setMrchntId(GenericIdentification53 value) {
this.mrchntId = value;
return this;
}
/**
* Gets the value of the poiId property.
*
* @return
* possible object is
* {@link GenericIdentification32 }
*
*/
public GenericIdentification32 getPOIId() {
return poiId;
}
/**
* Sets the value of the poiId property.
*
* @param value
* allowed object is
* {@link GenericIdentification32 }
*
*/
public CardPaymentEnvironment55 setPOIId(GenericIdentification32 value) {
this.poiId = value;
return this;
}
/**
* Gets the value of the poiCmpnt 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 poiCmpnt property.
*
*
* For example, to add a new item, do as follows:
*
* getPOICmpnt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PointOfInteractionComponent6 }
*
*
* @return
* The value of the poiCmpnt property.
*/
public List getPOICmpnt() {
if (poiCmpnt == null) {
poiCmpnt = new ArrayList<>();
}
return this.poiCmpnt;
}
@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 pOICmpnt list.
* @see #getPOICmpnt()
*
*/
public CardPaymentEnvironment55 addPOICmpnt(PointOfInteractionComponent6 pOICmpnt) {
getPOICmpnt().add(pOICmpnt);
return this;
}
}