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

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


package com.prowidesoftware.swift.model.mx.dic;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;


/**
 * Identifies the customer in a transfer of money.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Customer7", propOrder = {
    "cstmrId",
    "cstmrDsgnt",
    "nm",
    "adr",
    "ctctInf",
    "crdntls",
    "ntlty",
    "ctryOfBirth",
    "dtOfBirth",
    "lclData",
    "addtlData"
})
public class Customer7 {

    @XmlElement(name = "CstmrId")
    protected String cstmrId;
    @XmlElement(name = "CstmrDsgnt")
    protected String cstmrDsgnt;
    @XmlElement(name = "Nm")
    protected CardholderName3 nm;
    @XmlElement(name = "Adr")
    protected Address2 adr;
    @XmlElement(name = "CtctInf")
    protected Contact6 ctctInf;
    @XmlElement(name = "Crdntls")
    protected List crdntls;
    @XmlElement(name = "Ntlty")
    protected String ntlty;
    @XmlElement(name = "CtryOfBirth")
    protected String ctryOfBirth;
    @XmlElement(name = "DtOfBirth", type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate dtOfBirth;
    @XmlElement(name = "LclData")
    protected LocalData3 lclData;
    @XmlElement(name = "AddtlData")
    protected List addtlData;

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

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

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

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

    /**
     * Gets the value of the nm property.
     * 
     * @return
     *     possible object is
     *     {@link CardholderName3 }
     *     
     */
    public CardholderName3 getNm() {
        return nm;
    }

    /**
     * Sets the value of the nm property.
     * 
     * @param value
     *     allowed object is
     *     {@link CardholderName3 }
     *     
     */
    public Customer7 setNm(CardholderName3 value) {
        this.nm = value;
        return this;
    }

    /**
     * Gets the value of the adr property.
     * 
     * @return
     *     possible object is
     *     {@link Address2 }
     *     
     */
    public Address2 getAdr() {
        return adr;
    }

    /**
     * Sets the value of the adr property.
     * 
     * @param value
     *     allowed object is
     *     {@link Address2 }
     *     
     */
    public Customer7 setAdr(Address2 value) {
        this.adr = value;
        return this;
    }

    /**
     * Gets the value of the ctctInf property.
     * 
     * @return
     *     possible object is
     *     {@link Contact6 }
     *     
     */
    public Contact6 getCtctInf() {
        return ctctInf;
    }

    /**
     * Sets the value of the ctctInf property.
     * 
     * @param value
     *     allowed object is
     *     {@link Contact6 }
     *     
     */
    public Customer7 setCtctInf(Contact6 value) {
        this.ctctInf = value;
        return this;
    }

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

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

     *    getCrdntls().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Credentials2 } * * * @return * The value of the crdntls property. */ public List getCrdntls() { if (crdntls == null) { crdntls = new ArrayList<>(); } return this.crdntls; } /** * Gets the value of the ntlty property. * * @return * possible object is * {@link String } * */ public String getNtlty() { return ntlty; } /** * Sets the value of the ntlty property. * * @param value * allowed object is * {@link String } * */ public Customer7 setNtlty(String value) { this.ntlty = value; return this; } /** * Gets the value of the ctryOfBirth property. * * @return * possible object is * {@link String } * */ public String getCtryOfBirth() { return ctryOfBirth; } /** * Sets the value of the ctryOfBirth property. * * @param value * allowed object is * {@link String } * */ public Customer7 setCtryOfBirth(String value) { this.ctryOfBirth = value; return this; } /** * Gets the value of the dtOfBirth property. * * @return * possible object is * {@link String } * */ public LocalDate getDtOfBirth() { return dtOfBirth; } /** * Sets the value of the dtOfBirth property. * * @param value * allowed object is * {@link String } * */ public Customer7 setDtOfBirth(LocalDate value) { this.dtOfBirth = value; return this; } /** * Gets the value of the lclData property. * * @return * possible object is * {@link LocalData3 } * */ public LocalData3 getLclData() { return lclData; } /** * Sets the value of the lclData property. * * @param value * allowed object is * {@link LocalData3 } * */ public Customer7 setLclData(LocalData3 value) { this.lclData = value; return this; } /** * 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 crdntls list. * @see #getCrdntls() * */ public Customer7 addCrdntls(Credentials2 crdntls) { getCrdntls().add(crdntls); return this; } /** * Adds a new item to the addtlData list. * @see #getAddtlData() * */ public Customer7 addAddtlData(AdditionalData1 addtlData) { getAddtlData().add(addtlData); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy