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

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


/**
 * Nature of the amount and currency on a document referred to in the remittance section, typically either the original amount due/payable or the amount actually remitted for the referenced document.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RemittanceAmount2", propOrder = {
    "duePyblAmt",
    "dscntApldAmt",
    "cdtNoteAmt",
    "taxAmt",
    "adjstmntAmtAndRsn",
    "rmtdAmt"
})
public class RemittanceAmount2 {

    @XmlElement(name = "DuePyblAmt")
    protected ActiveOrHistoricCurrencyAndAmount duePyblAmt;
    @XmlElement(name = "DscntApldAmt")
    protected List dscntApldAmt;
    @XmlElement(name = "CdtNoteAmt")
    protected ActiveOrHistoricCurrencyAndAmount cdtNoteAmt;
    @XmlElement(name = "TaxAmt")
    protected List taxAmt;
    @XmlElement(name = "AdjstmntAmtAndRsn")
    protected List adjstmntAmtAndRsn;
    @XmlElement(name = "RmtdAmt")
    protected ActiveOrHistoricCurrencyAndAmount rmtdAmt;

    /**
     * Gets the value of the duePyblAmt property.
     * 
     * @return
     *     possible object is
     *     {@link ActiveOrHistoricCurrencyAndAmount }
     *     
     */
    public ActiveOrHistoricCurrencyAndAmount getDuePyblAmt() {
        return duePyblAmt;
    }

    /**
     * Sets the value of the duePyblAmt property.
     * 
     * @param value
     *     allowed object is
     *     {@link ActiveOrHistoricCurrencyAndAmount }
     *     
     */
    public RemittanceAmount2 setDuePyblAmt(ActiveOrHistoricCurrencyAndAmount value) {
        this.duePyblAmt = value;
        return this;
    }

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

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

     *    getDscntApldAmt().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DiscountAmountAndType1 } * * */ public List getDscntApldAmt() { if (dscntApldAmt == null) { dscntApldAmt = new ArrayList(); } return this.dscntApldAmt; } /** * Gets the value of the cdtNoteAmt property. * * @return * possible object is * {@link ActiveOrHistoricCurrencyAndAmount } * */ public ActiveOrHistoricCurrencyAndAmount getCdtNoteAmt() { return cdtNoteAmt; } /** * Sets the value of the cdtNoteAmt property. * * @param value * allowed object is * {@link ActiveOrHistoricCurrencyAndAmount } * */ public RemittanceAmount2 setCdtNoteAmt(ActiveOrHistoricCurrencyAndAmount value) { this.cdtNoteAmt = value; return this; } /** * Gets the value of the taxAmt 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 taxAmt property. * *

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

     *    getTaxAmt().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TaxAmountAndType1 } * * */ public List getTaxAmt() { if (taxAmt == null) { taxAmt = new ArrayList(); } return this.taxAmt; } /** * Gets the value of the adjstmntAmtAndRsn 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 adjstmntAmtAndRsn property. * *

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

     *    getAdjstmntAmtAndRsn().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DocumentAdjustment1 } * * */ public List getAdjstmntAmtAndRsn() { if (adjstmntAmtAndRsn == null) { adjstmntAmtAndRsn = new ArrayList(); } return this.adjstmntAmtAndRsn; } /** * Gets the value of the rmtdAmt property. * * @return * possible object is * {@link ActiveOrHistoricCurrencyAndAmount } * */ public ActiveOrHistoricCurrencyAndAmount getRmtdAmt() { return rmtdAmt; } /** * Sets the value of the rmtdAmt property. * * @param value * allowed object is * {@link ActiveOrHistoricCurrencyAndAmount } * */ public RemittanceAmount2 setRmtdAmt(ActiveOrHistoricCurrencyAndAmount value) { this.rmtdAmt = 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 dscntApldAmt list. * @see #getDscntApldAmt() * */ public RemittanceAmount2 addDscntApldAmt(DiscountAmountAndType1 dscntApldAmt) { getDscntApldAmt().add(dscntApldAmt); return this; } /** * Adds a new item to the taxAmt list. * @see #getTaxAmt() * */ public RemittanceAmount2 addTaxAmt(TaxAmountAndType1 taxAmt) { getTaxAmt().add(taxAmt); return this; } /** * Adds a new item to the adjstmntAmtAndRsn list. * @see #getAdjstmntAmtAndRsn() * */ public RemittanceAmount2 addAdjstmntAmtAndRsn(DocumentAdjustment1 adjstmntAmtAndRsn) { getAdjstmntAmtAndRsn().add(adjstmntAmtAndRsn); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy