All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction30 Maven / Gradle / Ivy


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;


/**
 * Transaction information in the cancellation advice.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction30", propOrder = {
    "mrchntCtgyCd",
    "saleRefId",
    "txId",
    "orgnlTx",
    "txSucss",
    "rvsl",
    "failrRsn",
    "rcptTxId",
    "rcncltnId",
    "intrchngData",
    "txDtls",
    "authstnRslt",
    "addtlTxData"
})
public class CardPaymentTransaction30 {

    @XmlElement(name = "MrchntCtgyCd")
    protected String mrchntCtgyCd;
    @XmlElement(name = "SaleRefId")
    protected String saleRefId;
    @XmlElement(name = "TxId", required = true)
    protected TransactionIdentifier1 txId;
    @XmlElement(name = "OrgnlTx")
    protected CardPaymentTransaction21 orgnlTx;
    @XmlElement(name = "TxSucss")
    protected boolean txSucss;
    @XmlElement(name = "Rvsl")
    protected Boolean rvsl;
    @XmlElement(name = "FailrRsn")
    @XmlSchemaType(name = "string")
    protected List failrRsn;
    @XmlElement(name = "RcptTxId")
    protected String rcptTxId;
    @XmlElement(name = "RcncltnId")
    protected String rcncltnId;
    @XmlElement(name = "IntrchngData")
    protected String intrchngData;
    @XmlElement(name = "TxDtls", required = true)
    protected CardPaymentTransactionDetails9 txDtls;
    @XmlElement(name = "AuthstnRslt")
    protected AuthorisationResult3 authstnRslt;
    @XmlElement(name = "AddtlTxData")
    protected List addtlTxData;

    /**
     * Gets the value of the mrchntCtgyCd property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMrchntCtgyCd() {
        return mrchntCtgyCd;
    }

    /**
     * Sets the value of the mrchntCtgyCd property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public CardPaymentTransaction30 setMrchntCtgyCd(String value) {
        this.mrchntCtgyCd = value;
        return this;
    }

    /**
     * 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 CardPaymentTransaction30 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 CardPaymentTransaction30 setTxId(TransactionIdentifier1 value) {
        this.txId = value;
        return this;
    }

    /**
     * Gets the value of the orgnlTx property.
     * 
     * @return
     *     possible object is
     *     {@link CardPaymentTransaction21 }
     *     
     */
    public CardPaymentTransaction21 getOrgnlTx() {
        return orgnlTx;
    }

    /**
     * Sets the value of the orgnlTx property.
     * 
     * @param value
     *     allowed object is
     *     {@link CardPaymentTransaction21 }
     *     
     */
    public CardPaymentTransaction30 setOrgnlTx(CardPaymentTransaction21 value) {
        this.orgnlTx = value;
        return this;
    }

    /**
     * Gets the value of the txSucss property.
     * 
     */
    public boolean isTxSucss() {
        return txSucss;
    }

    /**
     * Sets the value of the txSucss property.
     * 
     */
    public CardPaymentTransaction30 setTxSucss(boolean value) {
        this.txSucss = value;
        return this;
    }

    /**
     * Gets the value of the rvsl property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isRvsl() {
        return rvsl;
    }

    /**
     * Sets the value of the rvsl property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public CardPaymentTransaction30 setRvsl(Boolean value) {
        this.rvsl = value;
        return this;
    }

    /**
     * Gets the value of the failrRsn 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 failrRsn property. * *

* For example, to add a new item, do as follows: *

     *    getFailrRsn().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FailureReason3Code } * * */ public List getFailrRsn() { if (failrRsn == null) { failrRsn = new ArrayList(); } return this.failrRsn; } /** * 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 CardPaymentTransaction30 setRcptTxId(String value) { this.rcptTxId = value; return this; } /** * Gets the value of the rcncltnId property. * * @return * possible object is * {@link String } * */ public String getRcncltnId() { return rcncltnId; } /** * Sets the value of the rcncltnId property. * * @param value * allowed object is * {@link String } * */ public CardPaymentTransaction30 setRcncltnId(String value) { this.rcncltnId = value; return this; } /** * Gets the value of the intrchngData property. * * @return * possible object is * {@link String } * */ public String getIntrchngData() { return intrchngData; } /** * Sets the value of the intrchngData property. * * @param value * allowed object is * {@link String } * */ public CardPaymentTransaction30 setIntrchngData(String value) { this.intrchngData = value; return this; } /** * Gets the value of the txDtls property. * * @return * possible object is * {@link CardPaymentTransactionDetails9 } * */ public CardPaymentTransactionDetails9 getTxDtls() { return txDtls; } /** * Sets the value of the txDtls property. * * @param value * allowed object is * {@link CardPaymentTransactionDetails9 } * */ public CardPaymentTransaction30 setTxDtls(CardPaymentTransactionDetails9 value) { this.txDtls = value; return this; } /** * Gets the value of the authstnRslt property. * * @return * possible object is * {@link AuthorisationResult3 } * */ public AuthorisationResult3 getAuthstnRslt() { return authstnRslt; } /** * Sets the value of the authstnRslt property. * * @param value * allowed object is * {@link AuthorisationResult3 } * */ public CardPaymentTransaction30 setAuthstnRslt(AuthorisationResult3 value) { this.authstnRslt = value; return this; } /** * Gets the value of the addtlTxData 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 addtlTxData property. * *

* For example, to add a new item, do as follows: *

     *    getAddtlTxData().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getAddtlTxData() { if (addtlTxData == null) { addtlTxData = new ArrayList(); } return this.addtlTxData; } @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 failrRsn list. * @see #getFailrRsn() * */ public CardPaymentTransaction30 addFailrRsn(FailureReason3Code failrRsn) { getFailrRsn().add(failrRsn); return this; } /** * Adds a new item to the addtlTxData list. * @see #getAddtlTxData() * */ public CardPaymentTransaction30 addAddtlTxData(String addtlTxData) { getAddtlTxData().add(addtlTxData); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy