public abstract class AbstractCharge
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractCharge.ChargeType
The kind of charge.
|
| Constructor and Description |
|---|
AbstractCharge(AbstractAmount amount)
Default constructor requiring a spcific amount.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractAmount |
getAmount() |
AbstractCharge.ChargeType |
getChargeType()
Returns the kind of this additional charge.
|
boolean |
isDisabled() |
void |
setChargeType(AbstractCharge.ChargeType chargeType)
Sets the kind of this additional charge.
|
void |
setDisabled(boolean disabled)
Marks this charge as disabled, which means that it will be ignored during calculation.
|
public AbstractCharge(AbstractAmount amount)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public AbstractAmount getAmount()
Percentage or Money of this additional charge.public void setChargeType(AbstractCharge.ChargeType chargeType)
public AbstractCharge.ChargeType getChargeType()
Copyright © 2018 SAP SE. All Rights Reserved.