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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.MonetaryTotalType Maven / Gradle / Ivy


package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
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 com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AllowanceTotalAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ChargeTotalAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineExtensionAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PayableAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PayableRoundingAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PrepaidAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TaxExclusiveAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TaxInclusiveAmountType;


/**
 * 
 * 
 * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Details</ccts:DictionaryEntryName><ccts:Definition>Information about Monetary Totals.</ccts:Definition><ccts:ObjectClass>Monetary Total</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for MonetaryTotalType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="MonetaryTotalType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LineExtensionAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxExclusiveAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxInclusiveAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AllowanceTotalAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ChargeTotalAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PrepaidAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PayableRoundingAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PayableAmount"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MonetaryTotalType", propOrder = { "lineExtensionAmount", "taxExclusiveAmount", "taxInclusiveAmount", "allowanceTotalAmount", "chargeTotalAmount", "prepaidAmount", "payableRoundingAmount", "payableAmount" }) public class MonetaryTotalType implements Serializable { @XmlElement(name = "LineExtensionAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private LineExtensionAmountType lineExtensionAmount; @XmlElement(name = "TaxExclusiveAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TaxExclusiveAmountType taxExclusiveAmount; @XmlElement(name = "TaxInclusiveAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TaxInclusiveAmountType taxInclusiveAmount; @XmlElement(name = "AllowanceTotalAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private AllowanceTotalAmountType allowanceTotalAmount; @XmlElement(name = "ChargeTotalAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private ChargeTotalAmountType chargeTotalAmount; @XmlElement(name = "PrepaidAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private PrepaidAmountType prepaidAmount; @XmlElement(name = "PayableRoundingAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private PayableRoundingAmountType payableRoundingAmount; @XmlElement(name = "PayableAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) private PayableAmountType payableAmount; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public MonetaryTotalType() { } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Line Extension Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total of Line Extension Amounts net of tax and settlement discounts, but inclusive of any applicable rounding amount.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTerm>Line Extension Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link LineExtensionAmountType } * */ @Nullable public LineExtensionAmountType getLineExtensionAmount() { return lineExtensionAmount; } /** * Sets the value of the lineExtensionAmount property. * * @param value * allowed object is * {@link LineExtensionAmountType } * */ public void setLineExtensionAmount( @Nullable LineExtensionAmountType value) { this.lineExtensionAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Tax Exclusive Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total amount exclusive of taxes.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTerm>Tax Exclusive Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TaxExclusiveAmountType } * */ @Nullable public TaxExclusiveAmountType getTaxExclusiveAmount() { return taxExclusiveAmount; } /** * Sets the value of the taxExclusiveAmount property. * * @param value * allowed object is * {@link TaxExclusiveAmountType } * */ public void setTaxExclusiveAmount( @Nullable TaxExclusiveAmountType value) { this.taxExclusiveAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Tax Inclusive Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total amount inclusive of taxes.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTerm>Tax Inclusive Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TaxInclusiveAmountType } * */ @Nullable public TaxInclusiveAmountType getTaxInclusiveAmount() { return taxInclusiveAmount; } /** * Sets the value of the taxInclusiveAmount property. * * @param value * allowed object is * {@link TaxInclusiveAmountType } * */ public void setTaxInclusiveAmount( @Nullable TaxInclusiveAmountType value) { this.taxInclusiveAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Allowance Total Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total amount of all allowances.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTerm>Allowance Total Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link AllowanceTotalAmountType } * */ @Nullable public AllowanceTotalAmountType getAllowanceTotalAmount() { return allowanceTotalAmount; } /** * Sets the value of the allowanceTotalAmount property. * * @param value * allowed object is * {@link AllowanceTotalAmountType } * */ public void setAllowanceTotalAmount( @Nullable AllowanceTotalAmountType value) { this.allowanceTotalAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Charge Total Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total amount of all charges.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTerm>Charge Total Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link ChargeTotalAmountType } * */ @Nullable public ChargeTotalAmountType getChargeTotalAmount() { return chargeTotalAmount; } /** * Sets the value of the chargeTotalAmount property. * * @param value * allowed object is * {@link ChargeTotalAmountType } * */ public void setChargeTotalAmount( @Nullable ChargeTotalAmountType value) { this.chargeTotalAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Prepaid Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total prepaid amount.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTerm>Prepaid Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link PrepaidAmountType } * */ @Nullable public PrepaidAmountType getPrepaidAmount() { return prepaidAmount; } /** * Sets the value of the prepaidAmount property. * * @param value * allowed object is * {@link PrepaidAmountType } * */ public void setPrepaidAmount( @Nullable PrepaidAmountType value) { this.prepaidAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Payable_ Rounding Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The rounding amount (positive or negative) added to the calculated Line Extension Total Amount to produce the rounded Line Extension Total Amount.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTermQualifier>Payable</ccts:PropertyTermQualifier><ccts:PropertyTerm>Rounding Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link PayableRoundingAmountType } * */ @Nullable public PayableRoundingAmountType getPayableRoundingAmount() { return payableRoundingAmount; } /** * Sets the value of the payableRoundingAmount property. * * @param value * allowed object is * {@link PayableRoundingAmountType } * */ public void setPayableRoundingAmount( @Nullable PayableRoundingAmountType value) { this.payableRoundingAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Monetary Total. Payable_ Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The total amount to be paid.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Monetary Total</ccts:ObjectClass><ccts:PropertyTermQualifier>Payable</ccts:PropertyTermQualifier><ccts:PropertyTerm>Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link PayableAmountType } * */ @Nullable public PayableAmountType getPayableAmount() { return payableAmount; } /** * Sets the value of the payableAmount property. * * @param value * allowed object is * {@link PayableAmountType } * */ public void setPayableAmount( @Nullable PayableAmountType value) { this.payableAmount = value; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public boolean equals(final Object o) { if (o == this) { return true; } if ((o == null)||(!getClass().equals(o.getClass()))) { return false; } final MonetaryTotalType rhs = ((MonetaryTotalType) o); if (!EqualsUtils.equals(lineExtensionAmount, rhs.lineExtensionAmount)) { return false; } if (!EqualsUtils.equals(taxExclusiveAmount, rhs.taxExclusiveAmount)) { return false; } if (!EqualsUtils.equals(taxInclusiveAmount, rhs.taxInclusiveAmount)) { return false; } if (!EqualsUtils.equals(allowanceTotalAmount, rhs.allowanceTotalAmount)) { return false; } if (!EqualsUtils.equals(chargeTotalAmount, rhs.chargeTotalAmount)) { return false; } if (!EqualsUtils.equals(prepaidAmount, rhs.prepaidAmount)) { return false; } if (!EqualsUtils.equals(payableRoundingAmount, rhs.payableRoundingAmount)) { return false; } if (!EqualsUtils.equals(payableAmount, rhs.payableAmount)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(lineExtensionAmount).append(taxExclusiveAmount).append(taxInclusiveAmount).append(allowanceTotalAmount).append(chargeTotalAmount).append(prepaidAmount).append(payableRoundingAmount).append(payableAmount).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("lineExtensionAmount", lineExtensionAmount).append("taxExclusiveAmount", taxExclusiveAmount).append("taxInclusiveAmount", taxInclusiveAmount).append("allowanceTotalAmount", allowanceTotalAmount).append("chargeTotalAmount", chargeTotalAmount).append("prepaidAmount", prepaidAmount).append("payableRoundingAmount", payableRoundingAmount).append("payableAmount", payableAmount).toString(); } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type LineExtensionAmountType and never null */ @Nonnull public LineExtensionAmountType setLineExtensionAmount( @Nullable final BigDecimal valueParam) { LineExtensionAmountType aObj = getLineExtensionAmount(); if (aObj == null) { aObj = new LineExtensionAmountType(valueParam); setLineExtensionAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TaxExclusiveAmountType and never null */ @Nonnull public TaxExclusiveAmountType setTaxExclusiveAmount( @Nullable final BigDecimal valueParam) { TaxExclusiveAmountType aObj = getTaxExclusiveAmount(); if (aObj == null) { aObj = new TaxExclusiveAmountType(valueParam); setTaxExclusiveAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TaxInclusiveAmountType and never null */ @Nonnull public TaxInclusiveAmountType setTaxInclusiveAmount( @Nullable final BigDecimal valueParam) { TaxInclusiveAmountType aObj = getTaxInclusiveAmount(); if (aObj == null) { aObj = new TaxInclusiveAmountType(valueParam); setTaxInclusiveAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type AllowanceTotalAmountType and never null */ @Nonnull public AllowanceTotalAmountType setAllowanceTotalAmount( @Nullable final BigDecimal valueParam) { AllowanceTotalAmountType aObj = getAllowanceTotalAmount(); if (aObj == null) { aObj = new AllowanceTotalAmountType(valueParam); setAllowanceTotalAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type ChargeTotalAmountType and never null */ @Nonnull public ChargeTotalAmountType setChargeTotalAmount( @Nullable final BigDecimal valueParam) { ChargeTotalAmountType aObj = getChargeTotalAmount(); if (aObj == null) { aObj = new ChargeTotalAmountType(valueParam); setChargeTotalAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type PrepaidAmountType and never null */ @Nonnull public PrepaidAmountType setPrepaidAmount( @Nullable final BigDecimal valueParam) { PrepaidAmountType aObj = getPrepaidAmount(); if (aObj == null) { aObj = new PrepaidAmountType(valueParam); setPrepaidAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type PayableRoundingAmountType and never null */ @Nonnull public PayableRoundingAmountType setPayableRoundingAmount( @Nullable final BigDecimal valueParam) { PayableRoundingAmountType aObj = getPayableRoundingAmount(); if (aObj == null) { aObj = new PayableRoundingAmountType(valueParam); setPayableRoundingAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type PayableAmountType and never null */ @Nonnull public PayableAmountType setPayableAmount( @Nullable final BigDecimal valueParam) { PayableAmountType aObj = getPayableAmount(); if (aObj == null) { aObj = new PayableAmountType(valueParam); setPayableAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Get the value of the contained LineExtensionAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained LineExtensionAmountType object or null */ @Nullable public BigDecimal getLineExtensionAmountValue() { LineExtensionAmountType aObj = getLineExtensionAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TaxExclusiveAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TaxExclusiveAmountType object or null */ @Nullable public BigDecimal getTaxExclusiveAmountValue() { TaxExclusiveAmountType aObj = getTaxExclusiveAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TaxInclusiveAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TaxInclusiveAmountType object or null */ @Nullable public BigDecimal getTaxInclusiveAmountValue() { TaxInclusiveAmountType aObj = getTaxInclusiveAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained AllowanceTotalAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained AllowanceTotalAmountType object or null */ @Nullable public BigDecimal getAllowanceTotalAmountValue() { AllowanceTotalAmountType aObj = getAllowanceTotalAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained ChargeTotalAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained ChargeTotalAmountType object or null */ @Nullable public BigDecimal getChargeTotalAmountValue() { ChargeTotalAmountType aObj = getChargeTotalAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained PrepaidAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained PrepaidAmountType object or null */ @Nullable public BigDecimal getPrepaidAmountValue() { PrepaidAmountType aObj = getPrepaidAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained PayableRoundingAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained PayableRoundingAmountType object or null */ @Nullable public BigDecimal getPayableRoundingAmountValue() { PayableRoundingAmountType aObj = getPayableRoundingAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained PayableAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained PayableAmountType object or null */ @Nullable public BigDecimal getPayableAmountValue() { PayableAmountType aObj = getPayableAmount(); return ((aObj == null)?null:aObj.getValue()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy