public class AppliedTradeAllowanceCharge
extends java.lang.Object
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge
Modifier and Type | Method and Description |
---|---|
UnitPriceAmount |
getBasisAmount()
EXT:Discount / Charge base amount
|
Percentage |
getCalculationPercent()
EXT:Discount / Charge in percent
|
UnitPriceAmount |
getItemPriceDiscount()
BT-147:Item price discount
|
java.lang.Boolean |
getItemPriceDiscountIndicator()
BT-147-02:(Item price discount)
|
java.lang.String |
getReason()
EXT:Reason
|
Codes.SpecialServiceDescriptionCode |
getReasonCode()
EXT:Reason Code
|
AppliedTradeAllowanceCharge |
setBasisAmount(UnitPriceAmount value) |
AppliedTradeAllowanceCharge |
setCalculationPercent(Percentage value) |
AppliedTradeAllowanceCharge |
setItemPriceDiscount(UnitPriceAmount value) |
AppliedTradeAllowanceCharge |
setItemPriceDiscountIndicator(java.lang.Boolean value) |
AppliedTradeAllowanceCharge |
setReason(java.lang.String value) |
AppliedTradeAllowanceCharge |
setReasonCode(Codes.SpecialServiceDescriptionCode value) |
public AppliedTradeAllowanceCharge setItemPriceDiscountIndicator(java.lang.Boolean value)
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
public AppliedTradeAllowanceCharge setCalculationPercent(Percentage value)
value
- EXT:Discount / Charge in percent
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:CalculationPercent
public AppliedTradeAllowanceCharge setBasisAmount(UnitPriceAmount value)
value
- EXT:Discount / Charge base amount
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge/ram:BasisAmount
public AppliedTradeAllowanceCharge setItemPriceDiscount(UnitPriceAmount value)
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
public AppliedTradeAllowanceCharge setReasonCode(Codes.SpecialServiceDescriptionCode value)
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
public AppliedTradeAllowanceCharge setReason(java.lang.String value)
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
public java.lang.Boolean getItemPriceDiscountIndicator()
Value = false
public Percentage getCalculationPercent()
public UnitPriceAmount getBasisAmount()
public UnitPriceAmount getItemPriceDiscount()
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.
public Codes.SpecialServiceDescriptionCode getReasonCode()
The code specifying the reason for this trade allowance.
public java.lang.String getReason()
The code specifying the reason for this trade allowance.