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

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

There is a newer version: SRU2024-10.2.6
Show newest version

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;


/**
 * Data associated with the transaction during the authorisation.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction1", propOrder = {
    "txCaptr",
    "txTp",
    "addtlSvc",
    "svcAttr",
    "mrchntCtgyCd",
    "txId",
    "orgnlTx",
    "initrTxId",
    "rcncltnId",
    "txDtls",
    "addtlTxData"
})
public class CardPaymentTransaction1 {

    @XmlElement(name = "TxCaptr")
    protected boolean txCaptr;
    @XmlElement(name = "TxTp", required = true)
    @XmlSchemaType(name = "string")
    protected CardPaymentServiceType1Code txTp;
    @XmlElement(name = "AddtlSvc")
    @XmlSchemaType(name = "string")
    protected List addtlSvc;
    @XmlElement(name = "SvcAttr")
    @XmlSchemaType(name = "string")
    protected CardPaymentServiceType3Code svcAttr;
    @XmlElement(name = "MrchntCtgyCd", required = true)
    protected String mrchntCtgyCd;
    @XmlElement(name = "TxId", required = true)
    protected TransactionIdentifier1 txId;
    @XmlElement(name = "OrgnlTx")
    protected CardPaymentTransaction8 orgnlTx;
    @XmlElement(name = "InitrTxId")
    protected String initrTxId;
    @XmlElement(name = "RcncltnId")
    protected String rcncltnId;
    @XmlElement(name = "TxDtls", required = true)
    protected CardPaymentTransactionDetails1 txDtls;
    @XmlElement(name = "AddtlTxData")
    protected String addtlTxData;

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

    /**
     * Sets the value of the txCaptr property.
     * 
     */
    public CardPaymentTransaction1 setTxCaptr(boolean value) {
        this.txCaptr = value;
        return this;
    }

    /**
     * Gets the value of the txTp property.
     * 
     * @return
     *     possible object is
     *     {@link CardPaymentServiceType1Code }
     *     
     */
    public CardPaymentServiceType1Code getTxTp() {
        return txTp;
    }

    /**
     * Sets the value of the txTp property.
     * 
     * @param value
     *     allowed object is
     *     {@link CardPaymentServiceType1Code }
     *     
     */
    public CardPaymentTransaction1 setTxTp(CardPaymentServiceType1Code 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 CardPaymentServiceType2Code } * * */ 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 CardPaymentTransaction1 setSvcAttr(CardPaymentServiceType3Code value) { this.svcAttr = value; return this; } /** * 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 CardPaymentTransaction1 setMrchntCtgyCd(String value) { this.mrchntCtgyCd = 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 CardPaymentTransaction1 setTxId(TransactionIdentifier1 value) { this.txId = value; return this; } /** * Gets the value of the orgnlTx property. * * @return * possible object is * {@link CardPaymentTransaction8 } * */ public CardPaymentTransaction8 getOrgnlTx() { return orgnlTx; } /** * Sets the value of the orgnlTx property. * * @param value * allowed object is * {@link CardPaymentTransaction8 } * */ public CardPaymentTransaction1 setOrgnlTx(CardPaymentTransaction8 value) { this.orgnlTx = 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 CardPaymentTransaction1 setInitrTxId(String value) { this.initrTxId = 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 CardPaymentTransaction1 setRcncltnId(String value) { this.rcncltnId = value; return this; } /** * Gets the value of the txDtls property. * * @return * possible object is * {@link CardPaymentTransactionDetails1 } * */ public CardPaymentTransactionDetails1 getTxDtls() { return txDtls; } /** * Sets the value of the txDtls property. * * @param value * allowed object is * {@link CardPaymentTransactionDetails1 } * */ public CardPaymentTransaction1 setTxDtls(CardPaymentTransactionDetails1 value) { this.txDtls = value; return this; } /** * Gets the value of the addtlTxData property. * * @return * possible object is * {@link String } * */ public String getAddtlTxData() { return addtlTxData; } /** * Sets the value of the addtlTxData property. * * @param value * allowed object is * {@link String } * */ public CardPaymentTransaction1 setAddtlTxData(String value) { this.addtlTxData = 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 CardPaymentTransaction1 addAddtlSvc(CardPaymentServiceType2Code addtlSvc) { getAddtlSvc().add(addtlSvc); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy