com.prowidesoftware.swift.model.mx.dic.CashOption89 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
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;
/**
* Provides information about the cash option.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashOption89", propOrder = {
"cdtDbtInd",
"acct",
"pstngDt",
"orgnlPstngDt",
"valDt",
"pstngAmt"
})
public class CashOption89 {
@XmlElement(name = "CdtDbtInd", required = true)
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "Acct")
protected Account9Choice acct;
@XmlElement(name = "PstngDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate pstngDt;
@XmlElement(name = "OrgnlPstngDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate orgnlPstngDt;
@XmlElement(name = "ValDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate valDt;
@XmlElement(name = "PstngAmt", required = true)
protected RestrictedFINActiveCurrencyAndAmount pstngAmt;
/**
* 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 CashOption89 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the acct property.
*
* @return
* possible object is
* {@link Account9Choice }
*
*/
public Account9Choice getAcct() {
return acct;
}
/**
* Sets the value of the acct property.
*
* @param value
* allowed object is
* {@link Account9Choice }
*
*/
public CashOption89 setAcct(Account9Choice value) {
this.acct = value;
return this;
}
/**
* Gets the value of the pstngDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getPstngDt() {
return pstngDt;
}
/**
* Sets the value of the pstngDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashOption89 setPstngDt(LocalDate value) {
this.pstngDt = value;
return this;
}
/**
* Gets the value of the orgnlPstngDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getOrgnlPstngDt() {
return orgnlPstngDt;
}
/**
* Sets the value of the orgnlPstngDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashOption89 setOrgnlPstngDt(LocalDate value) {
this.orgnlPstngDt = value;
return this;
}
/**
* Gets the value of the valDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getValDt() {
return valDt;
}
/**
* Sets the value of the valDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashOption89 setValDt(LocalDate value) {
this.valDt = value;
return this;
}
/**
* Gets the value of the pstngAmt property.
*
* @return
* possible object is
* {@link RestrictedFINActiveCurrencyAndAmount }
*
*/
public RestrictedFINActiveCurrencyAndAmount getPstngAmt() {
return pstngAmt;
}
/**
* Sets the value of the pstngAmt property.
*
* @param value
* allowed object is
* {@link RestrictedFINActiveCurrencyAndAmount }
*
*/
public CashOption89 setPstngAmt(RestrictedFINActiveCurrencyAndAmount value) {
this.pstngAmt = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy