com.prowidesoftware.swift.model.mx.dic.Context13 Maven / Gradle / Ivy
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;
/**
* Context in which the card payment transaction is performed.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Context13", propOrder = {
"ptOfSvcCntxt",
"txCntxt",
"vrfctn",
"rskCntxt"
})
public class Context13 {
@XmlElement(name = "PtOfSvcCntxt")
protected PointOfServiceContext4 ptOfSvcCntxt;
@XmlElement(name = "TxCntxt")
protected TransactionContext8 txCntxt;
@XmlElement(name = "Vrfctn")
protected List vrfctn;
@XmlElement(name = "RskCntxt")
protected RiskContext2 rskCntxt;
/**
* Gets the value of the ptOfSvcCntxt property.
*
* @return
* possible object is
* {@link PointOfServiceContext4 }
*
*/
public PointOfServiceContext4 getPtOfSvcCntxt() {
return ptOfSvcCntxt;
}
/**
* Sets the value of the ptOfSvcCntxt property.
*
* @param value
* allowed object is
* {@link PointOfServiceContext4 }
*
*/
public Context13 setPtOfSvcCntxt(PointOfServiceContext4 value) {
this.ptOfSvcCntxt = value;
return this;
}
/**
* Gets the value of the txCntxt property.
*
* @return
* possible object is
* {@link TransactionContext8 }
*
*/
public TransactionContext8 getTxCntxt() {
return txCntxt;
}
/**
* Sets the value of the txCntxt property.
*
* @param value
* allowed object is
* {@link TransactionContext8 }
*
*/
public Context13 setTxCntxt(TransactionContext8 value) {
this.txCntxt = value;
return this;
}
/**
* Gets the value of the vrfctn 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 vrfctn property.
*
*
* For example, to add a new item, do as follows:
*
* getVrfctn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Verification4 }
*
*
* @return
* The value of the vrfctn property.
*/
public List getVrfctn() {
if (vrfctn == null) {
vrfctn = new ArrayList<>();
}
return this.vrfctn;
}
/**
* Gets the value of the rskCntxt property.
*
* @return
* possible object is
* {@link RiskContext2 }
*
*/
public RiskContext2 getRskCntxt() {
return rskCntxt;
}
/**
* Sets the value of the rskCntxt property.
*
* @param value
* allowed object is
* {@link RiskContext2 }
*
*/
public Context13 setRskCntxt(RiskContext2 value) {
this.rskCntxt = 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 vrfctn list.
* @see #getVrfctn()
*
*/
public Context13 addVrfctn(Verification4 vrfctn) {
getVrfctn().add(vrfctn);
return this;
}
}