@AccessLevel(value=EXTERNAL) public class RateReaderImpl extends java.lang.Object implements RateReader
Modifier and Type | Field and Description |
---|---|
protected curam.util.type.DateRange |
dateRange
The applicable dateRange
|
protected curam.util.type.Money |
fixedAmount
The fixedAmount used for processing
|
protected curam.serviceoffering.impl.FixedAmountPaymentOptionEntry |
fixedPaymentOption
The fixedPaymentOption used
|
protected boolean |
isProviderRate
boolean indicating whether the rate is a Provider Rate.
|
protected curam.util.type.Money |
maximumAmount
The maximumAmount used for processing
|
protected curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry |
maximumPaymentOption
The maximumPaymentOption used
|
protected curam.util.type.Money |
minimumAmount
The minimumAmount used for processing
|
protected curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry |
minimumPaymentOption
The minimumPaymentOption used
|
protected long |
paymentOptionID
The Payment Option ID.
|
protected curam.codetable.impl.PAYMENTOPTIONTYPEEntry |
paymentOptionType
The payment option type.
|
protected long |
providerRateID
The Provider Rate ID.
|
protected long |
rateID
The rate id.
|
protected curam.codetable.impl.RATETYPEEntry |
rateType
The rate type.
|
protected long |
serviceRateID
The Service Rate ID.
|
Constructor and Description |
---|
RateReaderImpl(curam.util.type.Money minAmt,
curam.util.type.Money maxAmt,
curam.util.type.Money fixedAmt,
curam.util.type.DateRange dateRange,
curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry minimumPaymentOption,
curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry maximumPaymentOption,
curam.serviceoffering.impl.FixedAmountPaymentOptionEntry fixedPaymentOption,
boolean isProviderRate,
long serviceRateID,
long providerRateID,
long paymentOptionID) |
RateReaderImpl(curam.util.type.Money minAmt,
curam.util.type.Money maxAmt,
curam.util.type.Money fixedAmt,
curam.util.type.DateRange dateRange,
curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry minimumPaymentOption,
curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry maximumPaymentOption,
curam.serviceoffering.impl.FixedAmountPaymentOptionEntry fixedPaymentOption,
long rateID,
curam.codetable.impl.RATETYPEEntry rateType,
long paymentOptionID,
curam.codetable.impl.PAYMENTOPTIONTYPEEntry paymentOptionType)
Constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
curam.util.type.DateRange |
getApplicablePeriod()
Gets the applicable period of the rate.
|
curam.util.type.Money |
getFixedAmount()
Gets the fixed amount of the rate.
|
curam.serviceoffering.impl.FixedAmountPaymentOptionEntry |
getFixedAmountPaymentOption()
Gets the fixed amount payment option of the rate.
|
curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry |
getMaxAmountPaymentOption()
Gets the maximum amount payment option of the rate.
|
curam.util.type.Money |
getMaximumAmount()
Gets the maximum amount of the rate.
|
curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry |
getMinAmountPaymentOption()
Gets the minimum amount payment option of the rate.
|
curam.util.type.Money |
getMinimumAmount()
Gets the minimum amount of the rate.
|
long |
getPaymentOptionID()
Gets the payment option ID.
|
curam.codetable.impl.PAYMENTOPTIONTYPEEntry |
getPaymentOptionType()
Gets the payment option type of the applicable rate.
|
long |
getProviderRateID()
Gets the provider rate ID.
|
long |
getRateID()
Gets the rate id of the applicable rate.
|
curam.codetable.impl.RATETYPEEntry |
getRateType()
Gets the type of rate for the applicable rate.
|
long |
getServiceRateID()
Gets the service rate ID.
|
boolean |
isFixedAmountSpecified()
Indicates whether the fixed amount is specified for the rate.
|
boolean |
isMaximumAmountSpecified()
Indicates whether the maximum amount is specified for the rate.
|
boolean |
isMinimumAmountSpecified()
Indicates whether the minimum amount is specified for the rate.
|
boolean |
isProviderRate()
Indicates whether input rate is a provider rate.
|
protected final curam.util.type.Money minimumAmount
protected final curam.util.type.Money maximumAmount
protected final curam.util.type.Money fixedAmount
protected final curam.util.type.DateRange dateRange
protected final curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry minimumPaymentOption
protected final curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry maximumPaymentOption
protected final curam.serviceoffering.impl.FixedAmountPaymentOptionEntry fixedPaymentOption
protected final boolean isProviderRate
protected final long serviceRateID
protected final long providerRateID
protected final long paymentOptionID
protected final long rateID
protected final curam.codetable.impl.RATETYPEEntry rateType
protected final curam.codetable.impl.PAYMENTOPTIONTYPEEntry paymentOptionType
public RateReaderImpl(curam.util.type.Money minAmt, curam.util.type.Money maxAmt, curam.util.type.Money fixedAmt, curam.util.type.DateRange dateRange, curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry minimumPaymentOption, curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry maximumPaymentOption, curam.serviceoffering.impl.FixedAmountPaymentOptionEntry fixedPaymentOption, boolean isProviderRate, long serviceRateID, long providerRateID, long paymentOptionID)
minAmt
- minimum amountmaxAmt
- maximum amountfixedAmt
- fixed amountdateRange
- Rate Date RangeminimumPaymentOption
- minimum payment optionmaximumPaymentOption
- maximum payment optionfixedPaymentOption
- fixed payment optionisProviderRate
- provider or service rateserviceRateID
- the service rate IDproviderRateID
- the provider rate IDpaymentOptionID
- the payment option IDpublic RateReaderImpl(curam.util.type.Money minAmt, curam.util.type.Money maxAmt, curam.util.type.Money fixedAmt, curam.util.type.DateRange dateRange, curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry minimumPaymentOption, curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry maximumPaymentOption, curam.serviceoffering.impl.FixedAmountPaymentOptionEntry fixedPaymentOption, long rateID, curam.codetable.impl.RATETYPEEntry rateType, long paymentOptionID, curam.codetable.impl.PAYMENTOPTIONTYPEEntry paymentOptionType)
minAmt
- Minimum amount used for the applicable rate.maxAmt
- Maximum amount used for the applicable rate.fixedAmt
- Fixed amount used for the applicable rate.dateRange
- Date range used for the applicable rate.minimumPaymentOption
- Minimum amount payment option used for the applicable rate.maximumPaymentOption
- Maximum amount payment option used for the applicable rate.fixedPaymentOption
- Fixed amount payment option used for the applicable rate.rateID
- Rate id for the applicable rate.rateType
- Rate type for the applicable rate.paymentOptionID
- Payment option id for the applicable rate.paymentOptionType
- Payment option type for the applicable rate.public curam.util.type.Money getMinimumAmount()
getMinimumAmount
in interface RateReader
public curam.util.type.Money getMaximumAmount()
getMaximumAmount
in interface RateReader
public curam.util.type.Money getFixedAmount()
getFixedAmount
in interface RateReader
public curam.util.type.DateRange getApplicablePeriod()
getApplicablePeriod
in interface RateReader
public curam.serviceoffering.impl.MaximumAmountPaymentOptionEntry getMaxAmountPaymentOption()
getMaxAmountPaymentOption
in interface RateReader
public curam.serviceoffering.impl.MinimumAmountPaymentOptionEntry getMinAmountPaymentOption()
getMinAmountPaymentOption
in interface RateReader
public curam.serviceoffering.impl.FixedAmountPaymentOptionEntry getFixedAmountPaymentOption()
getFixedAmountPaymentOption
in interface RateReader
public boolean isFixedAmountSpecified()
isFixedAmountSpecified
in interface RateReader
public boolean isMinimumAmountSpecified()
isMinimumAmountSpecified
in interface RateReader
public boolean isMaximumAmountSpecified()
isMaximumAmountSpecified
in interface RateReader
public boolean isProviderRate()
isProviderRate
in interface RateReader
public long getServiceRateID()
getServiceRateID
in interface RateReader
public long getProviderRateID()
getProviderRateID
in interface RateReader
public long getPaymentOptionID()
getPaymentOptionID
in interface RateReader
public curam.codetable.impl.PAYMENTOPTIONTYPEEntry getPaymentOptionType()
getPaymentOptionType
in interface RateReader
public long getRateID()
getRateID
in interface RateReader
public curam.codetable.impl.RATETYPEEntry getRateType()
getRateType
in interface RateReader