Interface UsageResponse

All Superinterfaces:
Response<Usage>, Serializable
All Known Subinterfaces:
OnlineUsageResponse

public interface UsageResponse extends Response<Usage>
Class represents a UsageResponse which is processed by the ECE Charging Service.
  • Method Details

    • getSessionId

      String getSessionId()
      get the sessionId relating to this UsageResponse
      Returns:
      the id of the active session associated with this response
    • getStatus

      get the UsageResponse Status
      Returns:
      the response status
    • getReasonCodes

      Returns:
      the reasons supporting the response status. There could be more than one reasons supporting the conditions or events occurred during the request processing.
      • SYSTEM_ERR (System error.)
      • CREDIT_FLOOR_BREACH (status indicating that request processing resulted in credit floor breach of an involved Balance Element.)
      • CREDIT_CEILING_BREACH (status indicating that request processing resulted in credit ceiling breach of an involved Balance Element.)
      • FINAL_UNIT_INDICATOR (Indicating that the final unit of the usage metric is reached.)
      • CANCEL_NOT_ALLOWED (status indicating that request processing cannot be cancelled.)
      • REFUND_NOT_ALLOWED (status indicating that request processing cannot be cancelled.)
      • TX_FAILED (Status indicating Infrastructure failure)
      • INSUFFICIENT_RATED_QUANTITY (status indicating rated quantity was less than the minimum quantity for reservation)
      • LIFECYCLE_VALIDATION_FAILED (status indicating after life cycle validation call was disallowed)
      • NO_QUALIFIED_CHARGE_OFFERS (status indicating that there are no qualified charge offers for this request)
      • NO_RATED_QUANTITY (status indicating that no quantity rated)
      • ZERO_RUM_QUANTITY (The quantity of metric rated is zero)
      • DUPLICATE_REQUEST (status indicating that the request was a duplicate)
      • MISSING_SYSTEM_ALTERATION_FOR_DEBIT (status indicating that there are no system alteration offers for the debit request)
      • INCORRECT_IMPACTS_FOR_DEBIT (status indicating that the no of debit impacts does not match with the actual debit impacts)
      • CUSTOMER_IN_TRANSACTION (status indicating that the customer is currently in another transaction)