public class ChargingResultOnErrorContextDomain
extends java.lang.Object
ChargeExecutionContext.
It is used to configure the content of the charging operation result when an error occurs.| Modifier and Type | Method and Description |
|---|---|
boolean |
isChargingContractInfoReturned()
Gets whether
charging contract information
generated by an error must be returned in the result of the charging operation. |
boolean |
isNotificationReturned()
Gets whether
notifications generated by an error
must be returned in the result of the charging operation. |
void |
setAllReturned(boolean allReturned)
Sets whether all available information must be returned in the result of the charging operation.
|
void |
setChargingContractInfoReturned(boolean chargingContractInfoReturned)
Sets whether
charging contract information
generated by an error must be returned in the result of the charging operation. |
void |
setNotificationReturned(boolean notificationReturned)
Sets whether
notifications generated by an error
must be returned in the result of the charging operation. |
public boolean isNotificationReturned()
notifications generated by an error
must be returned in the result of the charging operation.
For now, only the "No Access" component is able to return an "OnError" notification.true if notifications must be returned, false otherwisepublic void setNotificationReturned(boolean notificationReturned)
notifications generated by an error
must be returned in the result of the charging operation.
For now, only the "No Access" component is able to return an "OnError" notification.notificationReturned - true to return notifications, false otherwisepublic boolean isChargingContractInfoReturned()
charging contract information
generated by an error must be returned in the result of the charging operation.true if charging contract information must be returned,
false otherwisepublic void setChargingContractInfoReturned(boolean chargingContractInfoReturned)
charging contract information
generated by an error must be returned in the result of the charging operation.chargingContractInfoReturned - true to return charging contract information,
false otherwisepublic void setAllReturned(boolean allReturned)
allReturned - true to return all available information, false otherwise