com.prowidesoftware.swift.model.mx.dic.Transaction79 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;
/**
* Fraud reporting transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transaction79", propOrder = {
"frdTxId",
"rptdFrd",
"frdlntTxData",
"cardNotRcvdDtls",
"crdhldrCardNm",
"addtlFees",
"addtlInf",
"addtlData"
})
public class Transaction79 {
@XmlElement(name = "FrdTxId", required = true)
protected String frdTxId;
@XmlElement(name = "RptdFrd", required = true)
protected ReportedFraud1 rptdFrd;
@XmlElement(name = "FrdlntTxData", required = true)
protected FraudulentTransactionData1 frdlntTxData;
@XmlElement(name = "CardNotRcvdDtls")
protected CardNotReceivedDetails1 cardNotRcvdDtls;
@XmlElement(name = "CrdhldrCardNm")
protected CardholderName1 crdhldrCardNm;
@XmlElement(name = "AddtlFees")
protected List addtlFees;
@XmlElement(name = "AddtlInf")
protected List addtlInf;
@XmlElement(name = "AddtlData")
protected List addtlData;
/**
* Gets the value of the frdTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrdTxId() {
return frdTxId;
}
/**
* Sets the value of the frdTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction79 setFrdTxId(String value) {
this.frdTxId = value;
return this;
}
/**
* Gets the value of the rptdFrd property.
*
* @return
* possible object is
* {@link ReportedFraud1 }
*
*/
public ReportedFraud1 getRptdFrd() {
return rptdFrd;
}
/**
* Sets the value of the rptdFrd property.
*
* @param value
* allowed object is
* {@link ReportedFraud1 }
*
*/
public Transaction79 setRptdFrd(ReportedFraud1 value) {
this.rptdFrd = value;
return this;
}
/**
* Gets the value of the frdlntTxData property.
*
* @return
* possible object is
* {@link FraudulentTransactionData1 }
*
*/
public FraudulentTransactionData1 getFrdlntTxData() {
return frdlntTxData;
}
/**
* Sets the value of the frdlntTxData property.
*
* @param value
* allowed object is
* {@link FraudulentTransactionData1 }
*
*/
public Transaction79 setFrdlntTxData(FraudulentTransactionData1 value) {
this.frdlntTxData = value;
return this;
}
/**
* Gets the value of the cardNotRcvdDtls property.
*
* @return
* possible object is
* {@link CardNotReceivedDetails1 }
*
*/
public CardNotReceivedDetails1 getCardNotRcvdDtls() {
return cardNotRcvdDtls;
}
/**
* Sets the value of the cardNotRcvdDtls property.
*
* @param value
* allowed object is
* {@link CardNotReceivedDetails1 }
*
*/
public Transaction79 setCardNotRcvdDtls(CardNotReceivedDetails1 value) {
this.cardNotRcvdDtls = value;
return this;
}
/**
* Gets the value of the crdhldrCardNm property.
*
* @return
* possible object is
* {@link CardholderName1 }
*
*/
public CardholderName1 getCrdhldrCardNm() {
return crdhldrCardNm;
}
/**
* Sets the value of the crdhldrCardNm property.
*
* @param value
* allowed object is
* {@link CardholderName1 }
*
*/
public Transaction79 setCrdhldrCardNm(CardholderName1 value) {
this.crdhldrCardNm = value;
return this;
}
/**
* Gets the value of the addtlFees 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 addtlFees property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlFees().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalFee1 }
*
*
* @return
* The value of the addtlFees property.
*/
public List getAddtlFees() {
if (addtlFees == null) {
addtlFees = new ArrayList<>();
}
return this.addtlFees;
}
/**
* 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 AdditionalInformation22 }
*
*
* @return
* The value of the addtlInf property.
*/
public List getAddtlInf() {
if (addtlInf == null) {
addtlInf = new ArrayList<>();
}
return this.addtlInf;
}
/**
* Gets the value of the addtlData 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 addtlData property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalData1 }
*
*
* @return
* The value of the addtlData property.
*/
public List getAddtlData() {
if (addtlData == null) {
addtlData = new ArrayList<>();
}
return this.addtlData;
}
@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 addtlFees list.
* @see #getAddtlFees()
*
*/
public Transaction79 addAddtlFees(AdditionalFee1 addtlFees) {
getAddtlFees().add(addtlFees);
return this;
}
/**
* Adds a new item to the addtlInf list.
* @see #getAddtlInf()
*
*/
public Transaction79 addAddtlInf(AdditionalInformation22 addtlInf) {
getAddtlInf().add(addtlInf);
return this;
}
/**
* Adds a new item to the addtlData list.
* @see #getAddtlData()
*
*/
public Transaction79 addAddtlData(AdditionalData1 addtlData) {
getAddtlData().add(addtlData);
return this;
}
}