com.prowidesoftware.swift.model.mx.dic.CashOption92 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
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 = "CashOption92", propOrder = {
"cdtDbtInd",
"acct",
"pstngDt",
"orgnlPstngDt",
"valDt",
"pstngAmt"
})
public class CashOption92 {
@XmlElement(name = "CdtDbtInd", required = true)
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "Acct")
protected Account8Choice acct;
@XmlElement(name = "PstngDt", required = true)
protected DateAndDateTime2Choice pstngDt;
@XmlElement(name = "OrgnlPstngDt")
protected DateAndDateTime2Choice orgnlPstngDt;
@XmlElement(name = "ValDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate valDt;
@XmlElement(name = "PstngAmt", required = true)
protected ActiveCurrencyAndAmount 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 CashOption92 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the acct property.
*
* @return
* possible object is
* {@link Account8Choice }
*
*/
public Account8Choice getAcct() {
return acct;
}
/**
* Sets the value of the acct property.
*
* @param value
* allowed object is
* {@link Account8Choice }
*
*/
public CashOption92 setAcct(Account8Choice value) {
this.acct = value;
return this;
}
/**
* Gets the value of the pstngDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getPstngDt() {
return pstngDt;
}
/**
* Sets the value of the pstngDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public CashOption92 setPstngDt(DateAndDateTime2Choice value) {
this.pstngDt = value;
return this;
}
/**
* Gets the value of the orgnlPstngDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getOrgnlPstngDt() {
return orgnlPstngDt;
}
/**
* Sets the value of the orgnlPstngDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public CashOption92 setOrgnlPstngDt(DateAndDateTime2Choice 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 CashOption92 setValDt(LocalDate value) {
this.valDt = value;
return this;
}
/**
* Gets the value of the pstngAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getPstngAmt() {
return pstngAmt;
}
/**
* Sets the value of the pstngAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public CashOption92 setPstngAmt(ActiveCurrencyAndAmount 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