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

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


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

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnegative;
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.annotations.ReturnsMutableObject;
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.AccountingCostCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AccountingCostType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AllowanceChargeReasonCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AllowanceChargeReasonType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BaseAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ChargeIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MultiplierFactorNumericType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PrepaidIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SequenceNumericType;


/**
 * 
 * 
 * <?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>Allowance Charge. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a charge or discount price component.</ccts:Definition><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for AllowanceChargeType complex type. * *

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

 * <complexType name="AllowanceChargeType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ChargeIndicator"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AllowanceChargeReasonCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AllowanceChargeReason" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MultiplierFactorNumeric" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PrepaidIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SequenceNumeric" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Amount"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BaseAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AccountingCostCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AccountingCost" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxCategory" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxTotal" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PaymentMeans" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AllowanceChargeType", propOrder = { "id", "chargeIndicator", "allowanceChargeReasonCode", "allowanceChargeReason", "multiplierFactorNumeric", "prepaidIndicator", "sequenceNumeric", "amount", "baseAmount", "accountingCostCode", "accountingCost", "taxCategory", "taxTotal", "paymentMeans" }) public class AllowanceChargeType implements Serializable { @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private IDType id; @XmlElement(name = "ChargeIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) private ChargeIndicatorType chargeIndicator; @XmlElement(name = "AllowanceChargeReasonCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private AllowanceChargeReasonCodeType allowanceChargeReasonCode; @XmlElement(name = "AllowanceChargeReason", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private AllowanceChargeReasonType allowanceChargeReason; @XmlElement(name = "MultiplierFactorNumeric", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private MultiplierFactorNumericType multiplierFactorNumeric; @XmlElement(name = "PrepaidIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private PrepaidIndicatorType prepaidIndicator; @XmlElement(name = "SequenceNumeric", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private SequenceNumericType sequenceNumeric; @XmlElement(name = "Amount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) private AmountType amount; @XmlElement(name = "BaseAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private BaseAmountType baseAmount; @XmlElement(name = "AccountingCostCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private AccountingCostCodeType accountingCostCode; @XmlElement(name = "AccountingCost", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private AccountingCostType accountingCost; @XmlElement(name = "TaxCategory") private List taxCategory; @XmlElement(name = "TaxTotal") private TaxTotalType taxTotal; @XmlElement(name = "PaymentMeans") private List paymentMeans; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public AllowanceChargeType() { } /** * *
     * <?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>Allowance Charge. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies an Allowance Charge.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link IDType } * */ @Nullable public IDType getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link IDType } * */ public void setID( @Nullable IDType value) { this.id = 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>Allowance Charge. Charge_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the Allowance Charge is a charge (true) or a discount (false).</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTermQualifier>Charge</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link ChargeIndicatorType } * */ @Nullable public ChargeIndicatorType getChargeIndicator() { return chargeIndicator; } /** * Sets the value of the chargeIndicator property. * * @param value * allowed object is * {@link ChargeIndicatorType } * */ public void setChargeIndicator( @Nullable ChargeIndicatorType value) { this.chargeIndicator = 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>Allowance Charge. Allowance Charge Reason Code. Code</ccts:DictionaryEntryName><ccts:Definition>The reason for the Allowance Charge, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Allowance Charge Reason Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Allowance Charge Reason_ Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link AllowanceChargeReasonCodeType } * */ @Nullable public AllowanceChargeReasonCodeType getAllowanceChargeReasonCode() { return allowanceChargeReasonCode; } /** * Sets the value of the allowanceChargeReasonCode property. * * @param value * allowed object is * {@link AllowanceChargeReasonCodeType } * */ public void setAllowanceChargeReasonCode( @Nullable AllowanceChargeReasonCodeType value) { this.allowanceChargeReasonCode = 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>Allowance Charge. Allowance Charge_ Reason. Text</ccts:DictionaryEntryName><ccts:Definition>The reason for the Allowance Charge, expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTermQualifier>Allowance Charge</ccts:PropertyTermQualifier><ccts:PropertyTerm>Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link AllowanceChargeReasonType } * */ @Nullable public AllowanceChargeReasonType getAllowanceChargeReason() { return allowanceChargeReason; } /** * Sets the value of the allowanceChargeReason property. * * @param value * allowed object is * {@link AllowanceChargeReasonType } * */ public void setAllowanceChargeReason( @Nullable AllowanceChargeReasonType value) { this.allowanceChargeReason = 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>Allowance Charge. Multiplier_ Factor. Numeric</ccts:DictionaryEntryName><ccts:Definition>The factor applied to the Base Amount to calculate the Allowance Charge.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTermQualifier>Multiplier</ccts:PropertyTermQualifier><ccts:PropertyTerm>Factor</ccts:PropertyTerm><ccts:RepresentationTerm>Numeric</ccts:RepresentationTerm><ccts:DataType>Numeric. Type</ccts:DataType><ccts:Examples>0.20</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link MultiplierFactorNumericType } * */ @Nullable public MultiplierFactorNumericType getMultiplierFactorNumeric() { return multiplierFactorNumeric; } /** * Sets the value of the multiplierFactorNumeric property. * * @param value * allowed object is * {@link MultiplierFactorNumericType } * */ public void setMultiplierFactorNumeric( @Nullable MultiplierFactorNumericType value) { this.multiplierFactorNumeric = 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>Allowance Charge. Prepaid_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the Allowance Charge is prepaid (true) or not (false).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTermQualifier>Prepaid</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link PrepaidIndicatorType } * */ @Nullable public PrepaidIndicatorType getPrepaidIndicator() { return prepaidIndicator; } /** * Sets the value of the prepaidIndicator property. * * @param value * allowed object is * {@link PrepaidIndicatorType } * */ public void setPrepaidIndicator( @Nullable PrepaidIndicatorType value) { this.prepaidIndicator = 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>Allowance Charge. Sequence. Numeric</ccts:DictionaryEntryName><ccts:Definition>Identifies the numerical order sequence in which Allowance Charges are calculated when multiple Allowance Charges apply. If all Allowance Charges apply to the same Base Amount, SequenceNumeric will be '1' for all Allowance Charges.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Sequence</ccts:PropertyTerm><ccts:RepresentationTerm>Numeric</ccts:RepresentationTerm><ccts:DataType>Numeric. Type</ccts:DataType><ccts:Examples>1, 2, 3, 4, etc.</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link SequenceNumericType } * */ @Nullable public SequenceNumericType getSequenceNumeric() { return sequenceNumeric; } /** * Sets the value of the sequenceNumeric property. * * @param value * allowed object is * {@link SequenceNumericType } * */ public void setSequenceNumeric( @Nullable SequenceNumericType value) { this.sequenceNumeric = 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>Allowance Charge. Amount</ccts:DictionaryEntryName><ccts:Definition>The Allowance Charge amount.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType><ccts:Examples>35,23</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link AmountType } * */ @Nullable public AmountType getAmount() { return amount; } /** * Sets the value of the amount property. * * @param value * allowed object is * {@link AmountType } * */ public void setAmount( @Nullable AmountType value) { this.amount = 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>Allowance Charge. Base_ Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The amount to which the MultiplierFactorNumeric is applied to calculate the Allowance Charge.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTermQualifier>Base</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 BaseAmountType } * */ @Nullable public BaseAmountType getBaseAmount() { return baseAmount; } /** * Sets the value of the baseAmount property. * * @param value * allowed object is * {@link BaseAmountType } * */ public void setBaseAmount( @Nullable BaseAmountType value) { this.baseAmount = 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>Allowance Charge. Accounting Cost Code. Code</ccts:DictionaryEntryName><ccts:Definition>The buyer's accounting code as applied to the Allowance Charge.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Accounting Cost Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link AccountingCostCodeType } * */ @Nullable public AccountingCostCodeType getAccountingCostCode() { return accountingCostCode; } /** * Sets the value of the accountingCostCode property. * * @param value * allowed object is * {@link AccountingCostCodeType } * */ public void setAccountingCostCode( @Nullable AccountingCostCodeType value) { this.accountingCostCode = 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>Allowance Charge. Accounting Cost. Text</ccts:DictionaryEntryName><ccts:Definition>The buyer's accounting code as applied to the Allowance Charge expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Accounting Cost</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link AccountingCostType } * */ @Nullable public AccountingCostType getAccountingCost() { return accountingCost; } /** * Sets the value of the accountingCost property. * * @param value * allowed object is * {@link AccountingCostType } * */ public void setAccountingCost( @Nullable AccountingCostType value) { this.accountingCost = 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>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Allowance Charge. Tax Category</ccts:DictionaryEntryName><ccts:Definition>An association to Tax Category.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Tax Category</ccts:PropertyTerm><ccts:AssociatedObjectClass>Tax Category</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the taxCategory 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 JAXB object. * This is why there is not a set method for the taxCategory property. * *

* For example, to add a new item, do as follows: *

     *    getTaxCategory().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TaxCategoryType } * * */ @Nonnull @ReturnsMutableObject(reason = "JAXB implementation style") public List getTaxCategory() { if (taxCategory == null) { taxCategory = new ArrayList(); } return this.taxCategory; } /** * *

     * <?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>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Allowance Charge. Tax Total</ccts:DictionaryEntryName><ccts:Definition>An association to Tax Total.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Tax Total</ccts:PropertyTerm><ccts:AssociatedObjectClass>Tax Total</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link TaxTotalType } * */ @Nullable public TaxTotalType getTaxTotal() { return taxTotal; } /** * Sets the value of the taxTotal property. * * @param value * allowed object is * {@link TaxTotalType } * */ public void setTaxTotal( @Nullable TaxTotalType value) { this.taxTotal = 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>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Allowance Charge. Payment Means</ccts:DictionaryEntryName><ccts:Definition>An association to Payment Means.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Allowance Charge</ccts:ObjectClass><ccts:PropertyTerm>Payment Means</ccts:PropertyTerm><ccts:AssociatedObjectClass>Payment Means</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the paymentMeans 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 JAXB object. * This is why there is not a set method for the paymentMeans property. * *

* For example, to add a new item, do as follows: *

     *    getPaymentMeans().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PaymentMeansType } * * */ @Nonnull @ReturnsMutableObject(reason = "JAXB implementation style") public List getPaymentMeans() { if (paymentMeans == null) { paymentMeans = new ArrayList(); } return this.paymentMeans; } /** * 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 AllowanceChargeType rhs = ((AllowanceChargeType) o); if (!EqualsUtils.equals(id, rhs.id)) { return false; } if (!EqualsUtils.equals(chargeIndicator, rhs.chargeIndicator)) { return false; } if (!EqualsUtils.equals(allowanceChargeReasonCode, rhs.allowanceChargeReasonCode)) { return false; } if (!EqualsUtils.equals(allowanceChargeReason, rhs.allowanceChargeReason)) { return false; } if (!EqualsUtils.equals(multiplierFactorNumeric, rhs.multiplierFactorNumeric)) { return false; } if (!EqualsUtils.equals(prepaidIndicator, rhs.prepaidIndicator)) { return false; } if (!EqualsUtils.equals(sequenceNumeric, rhs.sequenceNumeric)) { return false; } if (!EqualsUtils.equals(amount, rhs.amount)) { return false; } if (!EqualsUtils.equals(baseAmount, rhs.baseAmount)) { return false; } if (!EqualsUtils.equals(accountingCostCode, rhs.accountingCostCode)) { return false; } if (!EqualsUtils.equals(accountingCost, rhs.accountingCost)) { return false; } if (!EqualsUtils.equals(taxCategory, rhs.taxCategory)) { return false; } if (!EqualsUtils.equals(taxTotal, rhs.taxTotal)) { return false; } if (!EqualsUtils.equals(paymentMeans, rhs.paymentMeans)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(id).append(chargeIndicator).append(allowanceChargeReasonCode).append(allowanceChargeReason).append(multiplierFactorNumeric).append(prepaidIndicator).append(sequenceNumeric).append(amount).append(baseAmount).append(accountingCostCode).append(accountingCost).append(taxCategory).append(taxTotal).append(paymentMeans).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("id", id).append("chargeIndicator", chargeIndicator).append("allowanceChargeReasonCode", allowanceChargeReasonCode).append("allowanceChargeReason", allowanceChargeReason).append("multiplierFactorNumeric", multiplierFactorNumeric).append("prepaidIndicator", prepaidIndicator).append("sequenceNumeric", sequenceNumeric).append("amount", amount).append("baseAmount", baseAmount).append("accountingCostCode", accountingCostCode).append("accountingCost", accountingCost).append("taxCategory", taxCategory).append("taxTotal", taxTotal).append("paymentMeans", paymentMeans).toString(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setTaxCategory( @Nullable final List aList) { taxCategory = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setPaymentMeans( @Nullable final List aList) { paymentMeans = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasTaxCategoryEntries() { return (!getTaxCategory().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoTaxCategoryEntries() { return getTaxCategory().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getTaxCategoryCount() { return getTaxCategory().size(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be null * @throws ArrayIndexOutOfBoundsException * if the index is invalid! */ @Nullable public TaxCategoryType getTaxCategoryAtIndex( @Nonnegative final int index) { return getTaxCategory().get(index); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasPaymentMeansEntries() { return (!getPaymentMeans().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoPaymentMeansEntries() { return getPaymentMeans().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getPaymentMeansCount() { return getPaymentMeans().size(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be null * @throws ArrayIndexOutOfBoundsException * if the index is invalid! */ @Nullable public PaymentMeansType getPaymentMeansAtIndex( @Nonnegative final int index) { return getPaymentMeans().get(index); } /** * Special setter with value of type boolean * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. * @return * The created intermediary object of type PrepaidIndicatorType and never null */ @Nonnull public PrepaidIndicatorType setPrepaidIndicator(final boolean valueParam) { PrepaidIndicatorType aObj = getPrepaidIndicator(); if (aObj == null) { aObj = new PrepaidIndicatorType(valueParam); setPrepaidIndicator(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type boolean * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. * @return * The created intermediary object of type ChargeIndicatorType and never null */ @Nonnull public ChargeIndicatorType setChargeIndicator(final boolean valueParam) { ChargeIndicatorType aObj = getChargeIndicator(); if (aObj == null) { aObj = new ChargeIndicatorType(valueParam); setChargeIndicator(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 SequenceNumericType and never null */ @Nonnull public SequenceNumericType setSequenceNumeric( @Nullable final BigDecimal valueParam) { SequenceNumericType aObj = getSequenceNumeric(); if (aObj == null) { aObj = new SequenceNumericType(valueParam); setSequenceNumeric(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 MultiplierFactorNumericType and never null */ @Nonnull public MultiplierFactorNumericType setMultiplierFactorNumeric( @Nullable final BigDecimal valueParam) { MultiplierFactorNumericType aObj = getMultiplierFactorNumeric(); if (aObj == null) { aObj = new MultiplierFactorNumericType(valueParam); setMultiplierFactorNumeric(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * 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 AllowanceChargeReasonType and never null */ @Nonnull public AllowanceChargeReasonType setAllowanceChargeReason( @Nullable final String valueParam) { AllowanceChargeReasonType aObj = getAllowanceChargeReason(); if (aObj == null) { aObj = new AllowanceChargeReasonType(valueParam); setAllowanceChargeReason(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * 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 AccountingCostType and never null */ @Nonnull public AccountingCostType setAccountingCost( @Nullable final String valueParam) { AccountingCostType aObj = getAccountingCost(); if (aObj == null) { aObj = new AccountingCostType(valueParam); setAccountingCost(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * 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 IDType and never null */ @Nonnull public IDType setID( @Nullable final String valueParam) { IDType aObj = getID(); if (aObj == null) { aObj = new IDType(valueParam); setID(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 AmountType and never null */ @Nonnull public AmountType setAmount( @Nullable final BigDecimal valueParam) { AmountType aObj = getAmount(); if (aObj == null) { aObj = new AmountType(valueParam); setAmount(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 BaseAmountType and never null */ @Nonnull public BaseAmountType setBaseAmount( @Nullable final BigDecimal valueParam) { BaseAmountType aObj = getBaseAmount(); if (aObj == null) { aObj = new BaseAmountType(valueParam); setBaseAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * 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 AllowanceChargeReasonCodeType and never null */ @Nonnull public AllowanceChargeReasonCodeType setAllowanceChargeReasonCode( @Nullable final String valueParam) { AllowanceChargeReasonCodeType aObj = getAllowanceChargeReasonCode(); if (aObj == null) { aObj = new AllowanceChargeReasonCodeType(valueParam); setAllowanceChargeReasonCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * 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 AccountingCostCodeType and never null */ @Nonnull public AccountingCostCodeType setAccountingCostCode( @Nullable final String valueParam) { AccountingCostCodeType aObj = getAccountingCostCode(); if (aObj == null) { aObj = new AccountingCostCodeType(valueParam); setAccountingCostCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Get the value of the contained IDType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained IDType object or null */ @Nullable public String getIDValue() { IDType aObj = getID(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained ChargeIndicatorType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param nullValue * The value to be returned, if the owning object is nullnull */ @Nullable public String getAllowanceChargeReasonCodeValue() { AllowanceChargeReasonCodeType aObj = getAllowanceChargeReasonCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained AllowanceChargeReasonType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained AllowanceChargeReasonType object or null */ @Nullable public String getAllowanceChargeReasonValue() { AllowanceChargeReasonType aObj = getAllowanceChargeReason(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained MultiplierFactorNumericType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained MultiplierFactorNumericType object or null */ @Nullable public BigDecimal getMultiplierFactorNumericValue() { MultiplierFactorNumericType aObj = getMultiplierFactorNumeric(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained PrepaidIndicatorType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param nullValue * The value to be returned, if the owning object is nullnull */ @Nullable public BigDecimal getSequenceNumericValue() { SequenceNumericType aObj = getSequenceNumeric(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained AmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained AmountType object or null */ @Nullable public BigDecimal getAmountValue() { AmountType aObj = getAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained BaseAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained BaseAmountType object or null */ @Nullable public BigDecimal getBaseAmountValue() { BaseAmountType aObj = getBaseAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained AccountingCostCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained AccountingCostCodeType object or null */ @Nullable public String getAccountingCostCodeValue() { AccountingCostCodeType aObj = getAccountingCostCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained AccountingCostType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained AccountingCostType object or null */ @Nullable public String getAccountingCostValue() { AccountingCostType aObj = getAccountingCost(); return ((aObj == null)?null:aObj.getValue()); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy