public static interface ServiceAuthorization.ServiceAuthorizatnAddLineItemEvents
Modifier and Type | Method and Description |
---|---|
void |
postAddLineItem(ServiceAuthorizationAccessor serviceAuthorizationAccessor,
curam.util.type.Money unitAmount,
long numberOfUnitsAuthorized,
long maximumUnits,
curam.util.type.DateRange authorizedPeriod,
curam.serviceoffering.impl.UnitFrequencyEntry unitFrequency,
Provider provider,
ServiceOffering serviceOffering,
boolean isStipulatedUnitAmount,
long nomineeID)
Event interface invoked after the main body of the addLineItem method.
|
void |
preAddLineItem(ServiceAuthorizationAccessor serviceAuthorizationAccessor,
curam.util.type.Money unitAmount,
long numberOfUnitsAuthorized,
long maximumUnits,
curam.util.type.DateRange authorizedPeriod,
curam.serviceoffering.impl.UnitFrequencyEntry unitFrequency,
Provider provider,
ServiceOffering serviceOffering,
boolean isStipulatedUnitAmount,
long nomineeID)
Event interface invoked before the main body of the addLineItem method.
|
void preAddLineItem(ServiceAuthorizationAccessor serviceAuthorizationAccessor, curam.util.type.Money unitAmount, long numberOfUnitsAuthorized, long maximumUnits, curam.util.type.DateRange authorizedPeriod, curam.serviceoffering.impl.UnitFrequencyEntry unitFrequency, Provider provider, ServiceOffering serviceOffering, boolean isStipulatedUnitAmount, long nomineeID) throws curam.serviceauthorization.impl.DuplicateLineItemException, curam.serviceauthorization.impl.InvalidServiceSpecificationException, curam.serviceauthorization.impl.InvalidProviderSpecificationException, curam.util.exception.InformationalException, curam.util.exception.AppException
serviceAuthorizationAccessor
- The object instance as it was before the main body of the
addLineItem method.unitAmount
- unit Amount which might be the budgeted or stipulated unit costnumberOfUnitsAuthorized
- the number of units that is authorized.maximumUnits
- maximum Units Frequency attribute to define the number of units
that a client is authorized to receive during a specific periodauthorizedPeriod
- the period during which the service can be providedunitFrequency
- Maximum Units Frequency attribute to define the number of units
that a client is authorized to receive during a specific periodprovider
- the provider who is authorized to provide the service. It is not
mandatory to specify a providerserviceOffering
- the service offering that is being authorized.isStipulatedUnitAmount
- the unit cost specified is taken as stipulated cost if
unitCostFixedIndicator is true and as budgeted otherwisenomineeID
- The unique identifier of the nominee who will receive the
provider paymentcuram.util.exception.InformationalException
- Generic Exception Signature.InvalidProviderSpecificationException
- Generic Exception Signature.DuplicateLineItemException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.InvalidServiceSpecificationException
The default implementation -
curam
.serviceauthorization.impl.ServiceAuthorizationImpl#addLineItem(
Money , long , long , DateRange , UnitFrequencyEntry , Provider ,
ServiceOffering , boolean , long)
void postAddLineItem(ServiceAuthorizationAccessor serviceAuthorizationAccessor, curam.util.type.Money unitAmount, long numberOfUnitsAuthorized, long maximumUnits, curam.util.type.DateRange authorizedPeriod, curam.serviceoffering.impl.UnitFrequencyEntry unitFrequency, Provider provider, ServiceOffering serviceOffering, boolean isStipulatedUnitAmount, long nomineeID) throws curam.serviceauthorization.impl.DuplicateLineItemException, curam.serviceauthorization.impl.InvalidServiceSpecificationException, curam.serviceauthorization.impl.InvalidProviderSpecificationException, curam.util.exception.InformationalException, curam.util.exception.AppException
serviceAuthorizationAccessor
- The object instance as it was after the main body of the
addLineItem method.unitAmount
- unit Amount which might be the budgeted or stipulated unit costnumberOfUnitsAuthorized
- the number of units that is authorized.maximumUnits
- maximum Units Frequency attribute to define the number of units
that a client is authorized to receive during a specific periodauthorizedPeriod
- the period during which the service can be providedunitFrequency
- Maximum Units Frequency attribute to define the number of units
that a client is authorized to receive during a specific periodprovider
- the provider who is authorized to provide the service. It is not
mandatory to specify a providerserviceOffering
- the service offering that is being authorized.isStipulatedUnitAmount
- the unit cost specified is taken as stipulated cost if
unitCostFixedIndicator is true and as budgeted otherwisenomineeID
- The unique identifier of the nominee who will receive the
provider paymentcuram.util.exception.InformationalException
- Generic Exception Signature.InvalidProviderSpecificationException
- Generic Exception Signature.DuplicateLineItemException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.InvalidServiceSpecificationException
- Generic Exception Signature.The default implementation -
curam
.serviceauthorization.impl.ServiceAuthorizationImpl#addLineItem(
Money , long , long , DateRange , UnitFrequencyEntry , Provider ,
ServiceOffering , boolean , long)