public class CalculateReturnItemAdjustmentFlatPolicyCmdImpl extends CalculateReturnItemAdjustmentPolicyCmdImpl implements CalculateReturnItemAdjustmentPolicyCmd
An example property string is:
If there is no conversion to the RMA currency for a particular days_i value then the default will be used. If there is no conversion to the RMA currency for the default then 0 will be used.
Constructor and Description |
---|
CalculateReturnItemAdjustmentFlatPolicyCmdImpl()
CalculateReturnItemAdjustmentFlatPolicyCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.math.BigDecimal | calcAdjustment()
Calculate the RMA item adjustment (charge).
|
protected MonetaryAmount[] | findAppropriateMonetaryAmount(int aDaysSinceShipped)
Find the appropriate flat fee charge.
|
protected MonetaryAmount[] | getDefault()
Get the default values.
|
void | reset()
Reset the command.
|
void | setRequestProperties(TypedProperty requestProperties)
Set the request properties for the policy.
|
public CalculateReturnItemAdjustmentFlatPolicyCmdImpl()
protected java.math.BigDecimal calcAdjustment() throws ECException
protected MonetaryAmount[] findAppropriateMonetaryAmount(int aDaysSinceShipped)
protected MonetaryAmount[] getDefault()
public void reset()
public void setRequestProperties(TypedProperty requestProperties)