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

com.prowidesoftware.swift.model.mx.dic.Cardholder19 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;


/**
 * Detailed information about the cardholder.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Cardholder19", propOrder = {
    "crdhldrNm",
    "id",
    "adr",
    "ctctInf",
    "dtOfBirth",
    "hghValCstmrInd",
    "addtlData",
    "lclData"
})
public class Cardholder19 {

    @XmlElement(name = "CrdhldrNm")
    protected CardholderName3 crdhldrNm;
    @XmlElement(name = "Id")
    protected List id;
    @XmlElement(name = "Adr")
    protected Address2 adr;
    @XmlElement(name = "CtctInf")
    protected Contact1 ctctInf;
    @XmlElement(name = "DtOfBirth", type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate dtOfBirth;
    @XmlElement(name = "HghValCstmrInd")
    protected Boolean hghValCstmrInd;
    @XmlElement(name = "AddtlData")
    protected List addtlData;
    @XmlElement(name = "LclData")
    protected LocalData7 lclData;

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

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

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

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

     *    getId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Credentials2 } * * * @return * The value of the id property. */ public List getId() { if (id == null) { id = new ArrayList<>(); } return this.id; } /** * 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 Cardholder19 setAdr(Address2 value) { this.adr = value; return this; } /** * Gets the value of the ctctInf property. * * @return * possible object is * {@link Contact1 } * */ public Contact1 getCtctInf() { return ctctInf; } /** * Sets the value of the ctctInf property. * * @param value * allowed object is * {@link Contact1 } * */ public Cardholder19 setCtctInf(Contact1 value) { this.ctctInf = 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 Cardholder19 setDtOfBirth(LocalDate value) { this.dtOfBirth = value; return this; } /** * Gets the value of the hghValCstmrInd property. * * @return * possible object is * {@link Boolean } * */ public Boolean isHghValCstmrInd() { return hghValCstmrInd; } /** * Sets the value of the hghValCstmrInd property. * * @param value * allowed object is * {@link Boolean } * */ public Cardholder19 setHghValCstmrInd(Boolean value) { this.hghValCstmrInd = 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; } /** * Gets the value of the lclData property. * * @return * possible object is * {@link LocalData7 } * */ public LocalData7 getLclData() { return lclData; } /** * Sets the value of the lclData property. * * @param value * allowed object is * {@link LocalData7 } * */ public Cardholder19 setLclData(LocalData7 value) { this.lclData = 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 id list. * @see #getId() * */ public Cardholder19 addId(Credentials2 id) { getId().add(id); return this; } /** * Adds a new item to the addtlData list. * @see #getAddtlData() * */ public Cardholder19 addAddtlData(AdditionalData1 addtlData) { getAddtlData().add(addtlData); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy