com.prowidesoftware.swift.model.mx.dic.Amount12 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
/**
* Contains amount details for a specific type of charge.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Amount12", propOrder = {
"tp",
"othrTp",
"rate",
"hrs"
})
public class Amount12 {
@XmlElement(name = "Tp")
@XmlSchemaType(name = "string")
protected TemporaryServicesCharge1Code tp;
@XmlElement(name = "OthrTp")
protected String othrTp;
@XmlElement(name = "Rate")
protected BigDecimal rate;
@XmlElement(name = "Hrs")
protected String hrs;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link TemporaryServicesCharge1Code }
*
*/
public TemporaryServicesCharge1Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link TemporaryServicesCharge1Code }
*
*/
public Amount12 setTp(TemporaryServicesCharge1Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the othrTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOthrTp() {
return othrTp;
}
/**
* Sets the value of the othrTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Amount12 setOthrTp(String value) {
this.othrTp = value;
return this;
}
/**
* Gets the value of the rate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRate() {
return rate;
}
/**
* Sets the value of the rate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Amount12 setRate(BigDecimal value) {
this.rate = value;
return this;
}
/**
* Gets the value of the hrs property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHrs() {
return hrs;
}
/**
* Sets the value of the hrs property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Amount12 setHrs(String value) {
this.hrs = 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