com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction67 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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;
/**
* Authorisation response from the acquirer.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction67", propOrder = {
"authstnRslt",
"txVrfctnRslt",
"allwdPdctCd",
"notAllwdPdctCd",
"addtlAvlblPdct",
"bal",
"prtctdBal",
"actn",
"ccyConvsElgblty"
})
public class CardPaymentTransaction67 {
@XmlElement(name = "AuthstnRslt", required = true)
protected AuthorisationResult10 authstnRslt;
@XmlElement(name = "TxVrfctnRslt")
protected List txVrfctnRslt;
@XmlElement(name = "AllwdPdctCd")
protected List allwdPdctCd;
@XmlElement(name = "NotAllwdPdctCd")
protected List notAllwdPdctCd;
@XmlElement(name = "AddtlAvlblPdct")
protected List addtlAvlblPdct;
@XmlElement(name = "Bal")
protected AmountAndDirection41 bal;
@XmlElement(name = "PrtctdBal")
protected ContentInformationType10 prtctdBal;
@XmlElement(name = "Actn")
protected List actn;
@XmlElement(name = "CcyConvsElgblty")
protected CurrencyConversion12 ccyConvsElgblty;
/**
* Gets the value of the authstnRslt property.
*
* @return
* possible object is
* {@link AuthorisationResult10 }
*
*/
public AuthorisationResult10 getAuthstnRslt() {
return authstnRslt;
}
/**
* Sets the value of the authstnRslt property.
*
* @param value
* allowed object is
* {@link AuthorisationResult10 }
*
*/
public CardPaymentTransaction67 setAuthstnRslt(AuthorisationResult10 value) {
this.authstnRslt = value;
return this;
}
/**
* Gets the value of the txVrfctnRslt 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 JAXB object.
* This is why there is not a set
method for the txVrfctnRslt property.
*
*
* For example, to add a new item, do as follows:
*
* getTxVrfctnRslt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransactionVerificationResult4 }
*
*
*/
public List getTxVrfctnRslt() {
if (txVrfctnRslt == null) {
txVrfctnRslt = new ArrayList();
}
return this.txVrfctnRslt;
}
/**
* Gets the value of the allwdPdctCd 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 JAXB object.
* This is why there is not a set
method for the allwdPdctCd property.
*
*
* For example, to add a new item, do as follows:
*
* getAllwdPdctCd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Product4 }
*
*
*/
public List getAllwdPdctCd() {
if (allwdPdctCd == null) {
allwdPdctCd = new ArrayList();
}
return this.allwdPdctCd;
}
/**
* Gets the value of the notAllwdPdctCd 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 JAXB object.
* This is why there is not a set
method for the notAllwdPdctCd property.
*
*
* For example, to add a new item, do as follows:
*
* getNotAllwdPdctCd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Product4 }
*
*
*/
public List getNotAllwdPdctCd() {
if (notAllwdPdctCd == null) {
notAllwdPdctCd = new ArrayList();
}
return this.notAllwdPdctCd;
}
/**
* Gets the value of the addtlAvlblPdct 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 JAXB object.
* This is why there is not a set
method for the addtlAvlblPdct property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlAvlblPdct().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Product5 }
*
*
*/
public List getAddtlAvlblPdct() {
if (addtlAvlblPdct == null) {
addtlAvlblPdct = new ArrayList();
}
return this.addtlAvlblPdct;
}
/**
* Gets the value of the bal property.
*
* @return
* possible object is
* {@link AmountAndDirection41 }
*
*/
public AmountAndDirection41 getBal() {
return bal;
}
/**
* Sets the value of the bal property.
*
* @param value
* allowed object is
* {@link AmountAndDirection41 }
*
*/
public CardPaymentTransaction67 setBal(AmountAndDirection41 value) {
this.bal = value;
return this;
}
/**
* Gets the value of the prtctdBal property.
*
* @return
* possible object is
* {@link ContentInformationType10 }
*
*/
public ContentInformationType10 getPrtctdBal() {
return prtctdBal;
}
/**
* Sets the value of the prtctdBal property.
*
* @param value
* allowed object is
* {@link ContentInformationType10 }
*
*/
public CardPaymentTransaction67 setPrtctdBal(ContentInformationType10 value) {
this.prtctdBal = value;
return this;
}
/**
* Gets the value of the actn 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 JAXB object.
* This is why there is not a set
method for the actn property.
*
*
* For example, to add a new item, do as follows:
*
* getActn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Action8 }
*
*
*/
public List getActn() {
if (actn == null) {
actn = new ArrayList();
}
return this.actn;
}
/**
* Gets the value of the ccyConvsElgblty property.
*
* @return
* possible object is
* {@link CurrencyConversion12 }
*
*/
public CurrencyConversion12 getCcyConvsElgblty() {
return ccyConvsElgblty;
}
/**
* Sets the value of the ccyConvsElgblty property.
*
* @param value
* allowed object is
* {@link CurrencyConversion12 }
*
*/
public CardPaymentTransaction67 setCcyConvsElgblty(CurrencyConversion12 value) {
this.ccyConvsElgblty = 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 txVrfctnRslt list.
* @see #getTxVrfctnRslt()
*
*/
public CardPaymentTransaction67 addTxVrfctnRslt(TransactionVerificationResult4 txVrfctnRslt) {
getTxVrfctnRslt().add(txVrfctnRslt);
return this;
}
/**
* Adds a new item to the allwdPdctCd list.
* @see #getAllwdPdctCd()
*
*/
public CardPaymentTransaction67 addAllwdPdctCd(Product4 allwdPdctCd) {
getAllwdPdctCd().add(allwdPdctCd);
return this;
}
/**
* Adds a new item to the notAllwdPdctCd list.
* @see #getNotAllwdPdctCd()
*
*/
public CardPaymentTransaction67 addNotAllwdPdctCd(Product4 notAllwdPdctCd) {
getNotAllwdPdctCd().add(notAllwdPdctCd);
return this;
}
/**
* Adds a new item to the addtlAvlblPdct list.
* @see #getAddtlAvlblPdct()
*
*/
public CardPaymentTransaction67 addAddtlAvlblPdct(Product5 addtlAvlblPdct) {
getAddtlAvlblPdct().add(addtlAvlblPdct);
return this;
}
/**
* Adds a new item to the actn list.
* @see #getActn()
*
*/
public CardPaymentTransaction67 addActn(Action8 actn) {
getActn().add(actn);
return this;
}
}