Examples of TaxSchemeType


Examples of oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TaxSchemeType

        }

        // Check to see tax currencies are all the same as the ref. currency
        List<TaxCategoryType> taxCategoryTypes = lineItemType.getItem().getClassifiedTaxCategory();
        for (TaxCategoryType taxCategoryType : taxCategoryTypes) {
            TaxSchemeType taxSchemeType = taxCategoryType.getTaxScheme();
            if (taxSchemeType != null) {
                if (!this.referenceCurrency.value().equals(taxSchemeType.getCurrencyCode().getValue())) {
                    this.errorCurrency = CurrencyCodeContentType.valueOf(taxSchemeType.getCurrencyCode().getValue());
                    return false;
                }
            }
        }
        return true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.