com.prowidesoftware.swift.model.mx.dic.CardPaymentTransactionDetails53 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Details of the transaction in the authorisation request in a batch.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransactionDetails53", propOrder = {
"ccy",
"ttlAmt",
"cmltvAmt",
"amtQlfr",
"dtldAmt",
"reqdAmt",
"authrsdAmt",
"invcAmt",
"vldtyDt",
"onLineRsn",
"uattnddLvlCtgy",
"acctTp",
"ccyConvsRslt",
"instlmt",
"rcrng",
"aggtnTx",
"pdctCdSetId",
"saleItm",
"dlvryLctn",
"reSubmissnCntr",
"cmpltnSeqNb",
"cmpltnSeqCntr",
"ttlAuthrsdAmt",
"addtlInf",
"iccRltdData"
})
public class CardPaymentTransactionDetails53 {
@XmlElement(name = "Ccy")
protected String ccy;
@XmlElement(name = "TtlAmt", required = true)
protected BigDecimal ttlAmt;
@XmlElement(name = "CmltvAmt")
protected BigDecimal cmltvAmt;
@XmlElement(name = "AmtQlfr")
@XmlSchemaType(name = "string")
protected TypeOfAmount8Code amtQlfr;
@XmlElement(name = "DtldAmt")
protected DetailedAmount15 dtldAmt;
@XmlElement(name = "ReqdAmt")
protected BigDecimal reqdAmt;
@XmlElement(name = "AuthrsdAmt")
protected BigDecimal authrsdAmt;
@XmlElement(name = "InvcAmt")
protected BigDecimal invcAmt;
@XmlElement(name = "VldtyDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate vldtyDt;
@XmlElement(name = "OnLineRsn")
@XmlSchemaType(name = "string")
protected List onLineRsn;
@XmlElement(name = "UattnddLvlCtgy")
protected String uattnddLvlCtgy;
@XmlElement(name = "AcctTp")
@XmlSchemaType(name = "string")
protected CardAccountType3Code acctTp;
@XmlElement(name = "CcyConvsRslt")
protected CurrencyConversion30 ccyConvsRslt;
@XmlElement(name = "Instlmt")
protected List instlmt;
@XmlElement(name = "Rcrng")
protected RecurringTransaction6 rcrng;
@XmlElement(name = "AggtnTx")
protected AggregationTransaction3 aggtnTx;
@XmlElement(name = "PdctCdSetId")
protected String pdctCdSetId;
@XmlElement(name = "SaleItm")
protected List saleItm;
@XmlElement(name = "DlvryLctn")
protected String dlvryLctn;
@XmlElement(name = "ReSubmissnCntr")
protected BigDecimal reSubmissnCntr;
@XmlElement(name = "CmpltnSeqNb")
protected BigDecimal cmpltnSeqNb;
@XmlElement(name = "CmpltnSeqCntr")
protected BigDecimal cmpltnSeqCntr;
@XmlElement(name = "TtlAuthrsdAmt")
protected BigDecimal ttlAuthrsdAmt;
@XmlElement(name = "AddtlInf")
protected List addtlInf;
@XmlElement(name = "ICCRltdData")
protected byte[] iccRltdData;
/**
* Gets the value of the ccy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCcy() {
return ccy;
}
/**
* Sets the value of the ccy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransactionDetails53 setCcy(String value) {
this.ccy = value;
return this;
}
/**
* Gets the value of the ttlAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTtlAmt() {
return ttlAmt;
}
/**
* Sets the value of the ttlAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setTtlAmt(BigDecimal value) {
this.ttlAmt = value;
return this;
}
/**
* Gets the value of the cmltvAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCmltvAmt() {
return cmltvAmt;
}
/**
* Sets the value of the cmltvAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setCmltvAmt(BigDecimal value) {
this.cmltvAmt = value;
return this;
}
/**
* Gets the value of the amtQlfr property.
*
* @return
* possible object is
* {@link TypeOfAmount8Code }
*
*/
public TypeOfAmount8Code getAmtQlfr() {
return amtQlfr;
}
/**
* Sets the value of the amtQlfr property.
*
* @param value
* allowed object is
* {@link TypeOfAmount8Code }
*
*/
public CardPaymentTransactionDetails53 setAmtQlfr(TypeOfAmount8Code value) {
this.amtQlfr = value;
return this;
}
/**
* Gets the value of the dtldAmt property.
*
* @return
* possible object is
* {@link DetailedAmount15 }
*
*/
public DetailedAmount15 getDtldAmt() {
return dtldAmt;
}
/**
* Sets the value of the dtldAmt property.
*
* @param value
* allowed object is
* {@link DetailedAmount15 }
*
*/
public CardPaymentTransactionDetails53 setDtldAmt(DetailedAmount15 value) {
this.dtldAmt = value;
return this;
}
/**
* Gets the value of the reqdAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getReqdAmt() {
return reqdAmt;
}
/**
* Sets the value of the reqdAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setReqdAmt(BigDecimal value) {
this.reqdAmt = value;
return this;
}
/**
* Gets the value of the authrsdAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAuthrsdAmt() {
return authrsdAmt;
}
/**
* Sets the value of the authrsdAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setAuthrsdAmt(BigDecimal value) {
this.authrsdAmt = value;
return this;
}
/**
* Gets the value of the invcAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getInvcAmt() {
return invcAmt;
}
/**
* Sets the value of the invcAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setInvcAmt(BigDecimal value) {
this.invcAmt = value;
return this;
}
/**
* Gets the value of the vldtyDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getVldtyDt() {
return vldtyDt;
}
/**
* Sets the value of the vldtyDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransactionDetails53 setVldtyDt(LocalDate value) {
this.vldtyDt = value;
return this;
}
/**
* Gets the value of the onLineRsn 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 onLineRsn property.
*
*
* For example, to add a new item, do as follows:
*
* getOnLineRsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OnLineReason2Code }
*
*
* @return
* The value of the onLineRsn property.
*/
public List getOnLineRsn() {
if (onLineRsn == null) {
onLineRsn = new ArrayList<>();
}
return this.onLineRsn;
}
/**
* Gets the value of the uattnddLvlCtgy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUattnddLvlCtgy() {
return uattnddLvlCtgy;
}
/**
* Sets the value of the uattnddLvlCtgy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransactionDetails53 setUattnddLvlCtgy(String value) {
this.uattnddLvlCtgy = value;
return this;
}
/**
* Gets the value of the acctTp property.
*
* @return
* possible object is
* {@link CardAccountType3Code }
*
*/
public CardAccountType3Code getAcctTp() {
return acctTp;
}
/**
* Sets the value of the acctTp property.
*
* @param value
* allowed object is
* {@link CardAccountType3Code }
*
*/
public CardPaymentTransactionDetails53 setAcctTp(CardAccountType3Code value) {
this.acctTp = value;
return this;
}
/**
* Gets the value of the ccyConvsRslt property.
*
* @return
* possible object is
* {@link CurrencyConversion30 }
*
*/
public CurrencyConversion30 getCcyConvsRslt() {
return ccyConvsRslt;
}
/**
* Sets the value of the ccyConvsRslt property.
*
* @param value
* allowed object is
* {@link CurrencyConversion30 }
*
*/
public CardPaymentTransactionDetails53 setCcyConvsRslt(CurrencyConversion30 value) {
this.ccyConvsRslt = value;
return this;
}
/**
* Gets the value of the instlmt 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 instlmt property.
*
*
* For example, to add a new item, do as follows:
*
* getInstlmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Instalment5 }
*
*
* @return
* The value of the instlmt property.
*/
public List getInstlmt() {
if (instlmt == null) {
instlmt = new ArrayList<>();
}
return this.instlmt;
}
/**
* Gets the value of the rcrng property.
*
* @return
* possible object is
* {@link RecurringTransaction6 }
*
*/
public RecurringTransaction6 getRcrng() {
return rcrng;
}
/**
* Sets the value of the rcrng property.
*
* @param value
* allowed object is
* {@link RecurringTransaction6 }
*
*/
public CardPaymentTransactionDetails53 setRcrng(RecurringTransaction6 value) {
this.rcrng = value;
return this;
}
/**
* Gets the value of the aggtnTx property.
*
* @return
* possible object is
* {@link AggregationTransaction3 }
*
*/
public AggregationTransaction3 getAggtnTx() {
return aggtnTx;
}
/**
* Sets the value of the aggtnTx property.
*
* @param value
* allowed object is
* {@link AggregationTransaction3 }
*
*/
public CardPaymentTransactionDetails53 setAggtnTx(AggregationTransaction3 value) {
this.aggtnTx = value;
return this;
}
/**
* Gets the value of the pdctCdSetId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPdctCdSetId() {
return pdctCdSetId;
}
/**
* Sets the value of the pdctCdSetId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransactionDetails53 setPdctCdSetId(String value) {
this.pdctCdSetId = value;
return this;
}
/**
* Gets the value of the saleItm 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 saleItm property.
*
*
* For example, to add a new item, do as follows:
*
* getSaleItm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Product6 }
*
*
* @return
* The value of the saleItm property.
*/
public List getSaleItm() {
if (saleItm == null) {
saleItm = new ArrayList<>();
}
return this.saleItm;
}
/**
* Gets the value of the dlvryLctn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDlvryLctn() {
return dlvryLctn;
}
/**
* Sets the value of the dlvryLctn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransactionDetails53 setDlvryLctn(String value) {
this.dlvryLctn = value;
return this;
}
/**
* Gets the value of the reSubmissnCntr property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getReSubmissnCntr() {
return reSubmissnCntr;
}
/**
* Sets the value of the reSubmissnCntr property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setReSubmissnCntr(BigDecimal value) {
this.reSubmissnCntr = value;
return this;
}
/**
* Gets the value of the cmpltnSeqNb property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCmpltnSeqNb() {
return cmpltnSeqNb;
}
/**
* Sets the value of the cmpltnSeqNb property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setCmpltnSeqNb(BigDecimal value) {
this.cmpltnSeqNb = value;
return this;
}
/**
* Gets the value of the cmpltnSeqCntr property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCmpltnSeqCntr() {
return cmpltnSeqCntr;
}
/**
* Sets the value of the cmpltnSeqCntr property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setCmpltnSeqCntr(BigDecimal value) {
this.cmpltnSeqCntr = value;
return this;
}
/**
* Gets the value of the ttlAuthrsdAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTtlAuthrsdAmt() {
return ttlAuthrsdAmt;
}
/**
* Sets the value of the ttlAuthrsdAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CardPaymentTransactionDetails53 setTtlAuthrsdAmt(BigDecimal value) {
this.ttlAuthrsdAmt = value;
return this;
}
/**
* Gets the value of the addtlInf 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 addtlInf property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExternallyDefinedData5 }
*
*
* @return
* The value of the addtlInf property.
*/
public List getAddtlInf() {
if (addtlInf == null) {
addtlInf = new ArrayList<>();
}
return this.addtlInf;
}
/**
* Gets the value of the iccRltdData property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getICCRltdData() {
return iccRltdData;
}
/**
* Sets the value of the iccRltdData property.
*
* @param value
* allowed object is
* byte[]
*/
public CardPaymentTransactionDetails53 setICCRltdData(byte[] value) {
this.iccRltdData = 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 onLineRsn list.
* @see #getOnLineRsn()
*
*/
public CardPaymentTransactionDetails53 addOnLineRsn(OnLineReason2Code onLineRsn) {
getOnLineRsn().add(onLineRsn);
return this;
}
/**
* Adds a new item to the instlmt list.
* @see #getInstlmt()
*
*/
public CardPaymentTransactionDetails53 addInstlmt(Instalment5 instlmt) {
getInstlmt().add(instlmt);
return this;
}
/**
* Adds a new item to the saleItm list.
* @see #getSaleItm()
*
*/
public CardPaymentTransactionDetails53 addSaleItm(Product6 saleItm) {
getSaleItm().add(saleItm);
return this;
}
/**
* Adds a new item to the addtlInf list.
* @see #getAddtlInf()
*
*/
public CardPaymentTransactionDetails53 addAddtlInf(ExternallyDefinedData5 addtlInf) {
getAddtlInf().add(addtlInf);
return this;
}
}