Class AppliedTradeAllowanceCharge


  • public class AppliedTradeAllowanceCharge
    extends Object
    BT-147-00:(((Item price discount)))

    XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge

    • Method Detail

      • setItemPriceDiscountIndicator

        public AppliedTradeAllowanceCharge setItemPriceDiscountIndicator​(Boolean value)
        Parameters:
        value - BT-147-02:(Item price discount)

        Value = false

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:ChargeIndicator/udt:Indicator

        Returns:
        AppliedTradeAllowanceCharge
      • setCalculationPercent

        public AppliedTradeAllowanceCharge setCalculationPercent​(Percentage value)
        Parameters:
        value - EXT:Discount / Charge in percent

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:CalculationPercent

        Returns:
        AppliedTradeAllowanceCharge
      • setBasisAmount

        public AppliedTradeAllowanceCharge setBasisAmount​(UnitPriceAmount value)
        Parameters:
        value - EXT:Discount / Charge base amount

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:BasisAmount

        Returns:
        AppliedTradeAllowanceCharge
      • setItemPriceDiscount

        public AppliedTradeAllowanceCharge setItemPriceDiscount​(UnitPriceAmount value)
        Parameters:
        value - BT-147:Item price discount

        The total discount subtracted from the Item gross price to calculate the Item net price.

        Only applies if the discount is provided per unit and if it is not included in the Item gross price.

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:ActualAmount

        Returns:
        AppliedTradeAllowanceCharge
      • setReasonCode

        public AppliedTradeAllowanceCharge setReasonCode​(Codes.SpecialServiceDescriptionCode value)
        Parameters:
        value - EXT:Reason Code

        The code specifying the reason for this trade allowance.

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:ReasonCode

        Returns:
        AppliedTradeAllowanceCharge
      • setReason

        public AppliedTradeAllowanceCharge setReason​(String value)
        Parameters:
        value - EXT:Reason

        The code specifying the reason for this trade allowance.

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:Reason

        Returns:
        AppliedTradeAllowanceCharge
      • getItemPriceDiscountIndicator

        public Boolean getItemPriceDiscountIndicator()
        BT-147-02:(Item price discount)

        Value = false

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:ChargeIndicator/udt:Indicator
      • getCalculationPercent

        public Percentage getCalculationPercent()
        EXT:Discount / Charge in percent
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:CalculationPercent
      • getBasisAmount

        public UnitPriceAmount getBasisAmount()
        EXT:Discount / Charge base amount
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:BasisAmount
      • getItemPriceDiscount

        public UnitPriceAmount getItemPriceDiscount()
        BT-147:Item price discount

        The total discount subtracted from the Item gross price to calculate the Item net price.

        Only applies if the discount is provided per unit and if it is not included in the Item gross price.

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:ActualAmount
      • getReasonCode

        public Codes.SpecialServiceDescriptionCode getReasonCode()
        EXT:Reason Code

        The code specifying the reason for this trade allowance.

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:ReasonCode
      • getReason

        public String getReason()
        EXT:Reason

        The code specifying the reason for this trade allowance.

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:Reason