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

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

There is a newer version: SRU2024-10.2.4
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 common to all transactions of a data set.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommonData2", propOrder = {
    "envt",
    "cntxt",
    "txTp",
    "addtlSvc",
    "svcAttr",
    "mrchntCtgyCd",
    "rcncltnId",
    "ccy"
})
public class CommonData2 {

    @XmlElement(name = "Envt")
    protected CardPaymentEnvironment13 envt;
    @XmlElement(name = "Cntxt")
    protected CardPaymentContext4 cntxt;
    @XmlElement(name = "TxTp")
    @XmlSchemaType(name = "string")
    protected CardPaymentServiceType4Code txTp;
    @XmlElement(name = "AddtlSvc")
    @XmlSchemaType(name = "string")
    protected List addtlSvc;
    @XmlElement(name = "SvcAttr")
    @XmlSchemaType(name = "string")
    protected CardPaymentServiceType3Code svcAttr;
    @XmlElement(name = "MrchntCtgyCd")
    protected String mrchntCtgyCd;
    @XmlElement(name = "RcncltnId")
    protected String rcncltnId;
    @XmlElement(name = "Ccy")
    protected String ccy;

    /**
     * Gets the value of the envt property.
     * 
     * @return
     *     possible object is
     *     {@link CardPaymentEnvironment13 }
     *     
     */
    public CardPaymentEnvironment13 getEnvt() {
        return envt;
    }

    /**
     * Sets the value of the envt property.
     * 
     * @param value
     *     allowed object is
     *     {@link CardPaymentEnvironment13 }
     *     
     */
    public CommonData2 setEnvt(CardPaymentEnvironment13 value) {
        this.envt = value;
        return this;
    }

    /**
     * Gets the value of the cntxt property.
     * 
     * @return
     *     possible object is
     *     {@link CardPaymentContext4 }
     *     
     */
    public CardPaymentContext4 getCntxt() {
        return cntxt;
    }

    /**
     * Sets the value of the cntxt property.
     * 
     * @param value
     *     allowed object is
     *     {@link CardPaymentContext4 }
     *     
     */
    public CommonData2 setCntxt(CardPaymentContext4 value) {
        this.cntxt = value;
        return this;
    }

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

    /**
     * Sets the value of the txTp property.
     * 
     * @param value
     *     allowed object is
     *     {@link CardPaymentServiceType4Code }
     *     
     */
    public CommonData2 setTxTp(CardPaymentServiceType4Code 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 CommonData2 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 CommonData2 setMrchntCtgyCd(String value) { this.mrchntCtgyCd = 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 CommonData2 setRcncltnId(String value) { this.rcncltnId = value; return this; } /** * 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 CommonData2 setCcy(String value) { this.ccy = 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 CommonData2 addAddtlSvc(CardPaymentServiceType2Code addtlSvc) { getAddtlSvc().add(addtlSvc); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy