
com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction52 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.XmlSchemaType;
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;
/**
* Identification of the original transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction52", propOrder = {
"saleRefId",
"txId",
"poiId",
"initrTxId",
"rcptTxId",
"txTp",
"addtlSvc",
"svcAttr",
"cardDataNtryMd",
"txRslt"
})
public class CardPaymentTransaction52 {
@XmlElement(name = "SaleRefId")
protected String saleRefId;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "POIId")
protected GenericIdentification32 poiId;
@XmlElement(name = "InitrTxId")
protected String initrTxId;
@XmlElement(name = "RcptTxId")
protected String rcptTxId;
@XmlElement(name = "TxTp", required = true)
@XmlSchemaType(name = "string")
protected CardPaymentServiceType5Code txTp;
@XmlElement(name = "AddtlSvc")
@XmlSchemaType(name = "string")
protected List addtlSvc;
@XmlElement(name = "SvcAttr")
@XmlSchemaType(name = "string")
protected CardPaymentServiceType3Code svcAttr;
@XmlElement(name = "CardDataNtryMd")
@XmlSchemaType(name = "string")
protected CardDataReading5Code cardDataNtryMd;
@XmlElement(name = "TxRslt")
protected CardPaymentTransactionResult3 txRslt;
/**
* Gets the value of the saleRefId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSaleRefId() {
return saleRefId;
}
/**
* Sets the value of the saleRefId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction52 setSaleRefId(String value) {
this.saleRefId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentifier1 }
*
*/
public TransactionIdentifier1 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentifier1 }
*
*/
public CardPaymentTransaction52 setTxId(TransactionIdentifier1 value) {
this.txId = 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 CardPaymentTransaction52 setPOIId(GenericIdentification32 value) {
this.poiId = value;
return this;
}
/**
* Gets the value of the initrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInitrTxId() {
return initrTxId;
}
/**
* Sets the value of the initrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction52 setInitrTxId(String value) {
this.initrTxId = value;
return this;
}
/**
* Gets the value of the rcptTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRcptTxId() {
return rcptTxId;
}
/**
* Sets the value of the rcptTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction52 setRcptTxId(String value) {
this.rcptTxId = value;
return this;
}
/**
* Gets the value of the txTp property.
*
* @return
* possible object is
* {@link CardPaymentServiceType5Code }
*
*/
public CardPaymentServiceType5Code getTxTp() {
return txTp;
}
/**
* Sets the value of the txTp property.
*
* @param value
* allowed object is
* {@link CardPaymentServiceType5Code }
*
*/
public CardPaymentTransaction52 setTxTp(CardPaymentServiceType5Code value) {
this.txTp = value;
return this;
}
/**
* Gets the value of the addtlSvc 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 addtlSvc property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlSvc().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CardPaymentServiceType9Code }
*
*
*/
public List getAddtlSvc() {
if (addtlSvc == null) {
addtlSvc = new ArrayList();
}
return this.addtlSvc;
}
/**
* Gets the value of the svcAttr property.
*
* @return
* possible object is
* {@link CardPaymentServiceType3Code }
*
*/
public CardPaymentServiceType3Code getSvcAttr() {
return svcAttr;
}
/**
* Sets the value of the svcAttr property.
*
* @param value
* allowed object is
* {@link CardPaymentServiceType3Code }
*
*/
public CardPaymentTransaction52 setSvcAttr(CardPaymentServiceType3Code value) {
this.svcAttr = value;
return this;
}
/**
* Gets the value of the cardDataNtryMd property.
*
* @return
* possible object is
* {@link CardDataReading5Code }
*
*/
public CardDataReading5Code getCardDataNtryMd() {
return cardDataNtryMd;
}
/**
* Sets the value of the cardDataNtryMd property.
*
* @param value
* allowed object is
* {@link CardDataReading5Code }
*
*/
public CardPaymentTransaction52 setCardDataNtryMd(CardDataReading5Code value) {
this.cardDataNtryMd = value;
return this;
}
/**
* Gets the value of the txRslt property.
*
* @return
* possible object is
* {@link CardPaymentTransactionResult3 }
*
*/
public CardPaymentTransactionResult3 getTxRslt() {
return txRslt;
}
/**
* Sets the value of the txRslt property.
*
* @param value
* allowed object is
* {@link CardPaymentTransactionResult3 }
*
*/
public CardPaymentTransaction52 setTxRslt(CardPaymentTransactionResult3 value) {
this.txRslt = 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 addtlSvc list.
* @see #getAddtlSvc()
*
*/
public CardPaymentTransaction52 addAddtlSvc(CardPaymentServiceType9Code addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
}