public interface ImmediateChargingInstance extends ChargingInstance
ChargingInstance.ChargingType, ChargingInstance.Instruction, ChargingInstance.State
Modifier and Type | Method and Description |
---|---|
void |
doDirectDebit(ReservationChargingInstance.CreditResultExecutionPhase phase)
Instructs the core to perform a direct debit and deliver the response CCA to the feature on arrival.
|
void |
doRefund(ReservationChargingInstance.CreditResultExecutionPhase phase)
Instructs the core to perform a refund and call the feature if response-CCA arrives
|
clearInstruction, getChargingState, getChargingType, getName, getPendingChargingInstruction, getPendingReportingReason, getSessionCounters, isCreditCheckInProgress, isSuspended, resume, suspend
void doDirectDebit(ReservationChargingInstance.CreditResultExecutionPhase phase) throws InstructionAlreadyPendingException, CreditCheckAlreadyInProgressException
InstructionAlreadyPendingException
- if there is already an instruction pendingCreditCheckAlreadyInProgressException
- if there is already a credit check in progress.void doRefund(ReservationChargingInstance.CreditResultExecutionPhase phase) throws InstructionAlreadyPendingException, CreditCheckAlreadyInProgressException
InstructionAlreadyPendingException
- if there is already an instruction pendingCreditCheckAlreadyInProgressException
- if there is already a credit check in progress.Copyright © OpenCloud. All Rights Reserved.