public interface PolicyResponse extends Response<Policy>
Modifier and Type | Interface and Description |
---|---|
static class |
PolicyResponse.ReasonCode
Reasons of the response status.
|
static class |
PolicyResponse.Status
Fetches status of the response.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomerId()
Fetches the customer id (eg.
|
java.util.Collection<PolicyResponse.ReasonCode> |
getReasonCodes()
Fetches the reason codes (eg.
|
<T> T |
getRequestType()
Fetches the type of request processed for the response (eg.
|
PolicyResponse.Status |
getStatus()
Fetches the Policy Response Status (eg.
|
void |
setReasonCodes(java.util.Collection<PolicyResponse.ReasonCode> reasonCodes)
sets the Reason Codes - meant for Sy Post OCS extension
|
void |
setStatus(PolicyResponse.Status status)
sets the status - meant for Sy Post OCS extension
|
getOperation
<T> T getRequestType()
PolicyResponse.Status getStatus()
void setStatus(PolicyResponse.Status status)
java.lang.String getCustomerId()
java.util.Collection<PolicyResponse.ReasonCode> getReasonCodes()
Diameter AVP Name : Result-Code
void setReasonCodes(java.util.Collection<PolicyResponse.ReasonCode> reasonCodes)