public class VerifyNHSNumberResponse extends Object implements Serializable
Constructor and Description |
---|
VerifyNHSNumberResponse(ITKMessage response)
Instantiates a new verify nhs number response.
|
Modifier and Type | Method and Description |
---|---|
String |
getNhsNumber()
Gets the nhs number.
|
String |
getPayload() |
String |
getResponseCode()
Gets the response code.
|
String |
getResponseMessage()
Gets the response message.
|
boolean |
getVerifiedIndicator()
Gets the verified indicator.
|
void |
setNhsNumber(String nhsNumber)
Sets the nhs number.
|
void |
setResponseCode(String responseCode)
Sets the response code.
|
void |
setResponseMessage(String responseMessage)
Sets the response message.
|
void |
setVerifiedIndicator(boolean verifiedIndicator)
Sets the verified indicator.
|
public VerifyNHSNumberResponse(ITKMessage response) throws ITKMessagingException
response
- the responseITKMessagingException
- the iTK messaging exceptionpublic String getNhsNumber()
public void setNhsNumber(String nhsNumber)
nhsNumber
- the new nhs numberpublic boolean getVerifiedIndicator()
public void setVerifiedIndicator(boolean verifiedIndicator)
verifiedIndicator
- the new verified indicatorpublic String getResponseCode()
public void setResponseCode(String responseCode)
responseCode
- the new response codepublic String getResponseMessage()
public void setResponseMessage(String responseMessage)
responseMessage
- the new response messagepublic String getPayload()
All content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated