com.prowidesoftware.swift.model.mx.dic.CashOption91 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
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 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;
/**
* Provides information about the cash option.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashOption91", propOrder = {
"cdtDbtInd",
"cshAcctId",
"grssCshAmt",
"netCshAmt",
"entitldAmt",
"whldgTaxRate",
"whldgTaxAmt",
"earlstPmtDt",
"pmtDt"
})
public class CashOption91 {
@XmlElement(name = "CdtDbtInd", required = true)
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "CshAcctId")
protected CashAccountIdentification5Choice cshAcctId;
@XmlElement(name = "GrssCshAmt")
protected ActiveCurrencyAndAmount grssCshAmt;
@XmlElement(name = "NetCshAmt")
protected ActiveCurrencyAndAmount netCshAmt;
@XmlElement(name = "EntitldAmt", required = true)
protected ActiveCurrencyAndAmount entitldAmt;
@XmlElement(name = "WhldgTaxRate")
protected List whldgTaxRate;
@XmlElement(name = "WhldgTaxAmt")
protected ActiveCurrencyAndAmount whldgTaxAmt;
@XmlElement(name = "EarlstPmtDt")
protected DateAndDateTime2Choice earlstPmtDt;
@XmlElement(name = "PmtDt", required = true)
protected DateFormat43Choice pmtDt;
/**
* Gets the value of the cdtDbtInd property.
*
* @return
* possible object is
* {@link CreditDebitCode }
*
*/
public CreditDebitCode getCdtDbtInd() {
return cdtDbtInd;
}
/**
* Sets the value of the cdtDbtInd property.
*
* @param value
* allowed object is
* {@link CreditDebitCode }
*
*/
public CashOption91 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the cshAcctId property.
*
* @return
* possible object is
* {@link CashAccountIdentification5Choice }
*
*/
public CashAccountIdentification5Choice getCshAcctId() {
return cshAcctId;
}
/**
* Sets the value of the cshAcctId property.
*
* @param value
* allowed object is
* {@link CashAccountIdentification5Choice }
*
*/
public CashOption91 setCshAcctId(CashAccountIdentification5Choice value) {
this.cshAcctId = value;
return this;
}
/**
* Gets the value of the grssCshAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getGrssCshAmt() {
return grssCshAmt;
}
/**
* Sets the value of the grssCshAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public CashOption91 setGrssCshAmt(ActiveCurrencyAndAmount value) {
this.grssCshAmt = value;
return this;
}
/**
* Gets the value of the netCshAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getNetCshAmt() {
return netCshAmt;
}
/**
* Sets the value of the netCshAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public CashOption91 setNetCshAmt(ActiveCurrencyAndAmount value) {
this.netCshAmt = value;
return this;
}
/**
* Gets the value of the entitldAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getEntitldAmt() {
return entitldAmt;
}
/**
* Sets the value of the entitldAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public CashOption91 setEntitldAmt(ActiveCurrencyAndAmount value) {
this.entitldAmt = value;
return this;
}
/**
* Gets the value of the whldgTaxRate 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 whldgTaxRate property.
*
*
* For example, to add a new item, do as follows:
*
* getWhldgTaxRate().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RateAndAmountFormat40Choice }
*
*
* @return
* The value of the whldgTaxRate property.
*/
public List getWhldgTaxRate() {
if (whldgTaxRate == null) {
whldgTaxRate = new ArrayList<>();
}
return this.whldgTaxRate;
}
/**
* Gets the value of the whldgTaxAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getWhldgTaxAmt() {
return whldgTaxAmt;
}
/**
* Sets the value of the whldgTaxAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public CashOption91 setWhldgTaxAmt(ActiveCurrencyAndAmount value) {
this.whldgTaxAmt = value;
return this;
}
/**
* Gets the value of the earlstPmtDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getEarlstPmtDt() {
return earlstPmtDt;
}
/**
* Sets the value of the earlstPmtDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public CashOption91 setEarlstPmtDt(DateAndDateTime2Choice value) {
this.earlstPmtDt = value;
return this;
}
/**
* Gets the value of the pmtDt property.
*
* @return
* possible object is
* {@link DateFormat43Choice }
*
*/
public DateFormat43Choice getPmtDt() {
return pmtDt;
}
/**
* Sets the value of the pmtDt property.
*
* @param value
* allowed object is
* {@link DateFormat43Choice }
*
*/
public CashOption91 setPmtDt(DateFormat43Choice value) {
this.pmtDt = 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 whldgTaxRate list.
* @see #getWhldgTaxRate()
*
*/
public CashOption91 addWhldgTaxRate(RateAndAmountFormat40Choice whldgTaxRate) {
getWhldgTaxRate().add(whldgTaxRate);
return this;
}
}