Package com.skava.addressapp.model
Class AppAddressResponse
java.lang.Object
com.skava.core.validation.OutputModel
com.skava.addressapp.model.AppAddressResponse
- All Implemented Interfaces:
Serializable
public class AppAddressResponse
extends com.skava.core.validation.OutputModel
This class represents an address response in the application.
It extends the OutputModel class and includes various properties related to an address.
Fields:
- validationType: The type of address validation that were done to the address
- validated: This flag is used to indicate whether the address validation has been done for the given type
- providedBy: Partner or Vendor name who validated the address
- responseCode: Response code from the service provider
- responseMessage: Response message from the service provider
- responseTime: Time when validation was performed
- recommendations: List of address recommendations
Example JSON representation of this class:
{ "validationType": "physicaladdressvalidation", "validated": true, "providedBy": "Acme Corp", "responseCode": "200", "responseMessage": "Validation successful", "responseTime": 1622555847000, "recommendations": [ { "id": 123456, "requestType": "physicaladdressvalidation", "showRecommendation": true, "firstName": "John", "middleName": "Doe", "lastName": "Smith", "addressLine1": "26", "addressLine2": "Second Street", "addressLine3": "Third Street", "city": "New York", "state": "New York", "zip": "10001", "zip": "10001", "country": "USA", "county": "Denver", "companyName": "Acme Corp", "email": "john.doe@example.com", "phone": "1234567890", "mobileNumber": "0987654321", "canReceiveSMS": true, "cacheName": "userCache" } ] }
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AppAddressResponse
public AppAddressResponse()
-