Class AppliedTradeAllowanceCharge
- java.lang.Object
-
- com.fourjs.report.facturx.profiles.extended.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitPriceAmount
getBasisAmount()
EXT:Discount / Charge base amountPercentage
getCalculationPercent()
EXT:Discount / Charge in percentUnitPriceAmount
getItemPriceDiscount()
BT-147:Item price discountBoolean
getItemPriceDiscountIndicator()
BT-147-02:(Item price discount)String
getReason()
EXT:ReasonCodes.SpecialServiceDescriptionCode
getReasonCode()
EXT:Reason CodeAppliedTradeAllowanceCharge
setBasisAmount(UnitPriceAmount value)
AppliedTradeAllowanceCharge
setCalculationPercent(Percentage value)
AppliedTradeAllowanceCharge
setItemPriceDiscount(UnitPriceAmount value)
AppliedTradeAllowanceCharge
setItemPriceDiscountIndicator(Boolean value)
AppliedTradeAllowanceCharge
setReason(String value)
AppliedTradeAllowanceCharge
setReasonCode(Codes.SpecialServiceDescriptionCode value)
-
-
-
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 percentXPath:/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 amountXPath:/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 discountThe 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 CodeThe 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:ReasonThe 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 discountThe 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 CodeThe 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:ReasonThe 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
-
-