Class PromotionServiceResponse

java.lang.Object
com.skava.core.validation.OutputModel
com.skava.core.ResponseModel
com.skava.promotion.model.exchange.response.PromotionServiceResponse
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ProjectResponse, ProjectsResponse, PromoCodeStateResponse, PromoCodeUsageAPIResponse, PromotionOfferInternalResponse

public class PromotionServiceResponse extends com.skava.core.ResponseModel
See Also:
  • Field Summary

    Fields inherited from class com.skava.core.ResponseModel

    responseCode, responseMessage, timeStamp
  • Constructor Summary

    Constructors
    Constructor
    Description
    PromotionServiceResponse(String code, String message, int status, Map<String,String> reason)
    This constructor is used to initialize the values that are received
  • Method Summary

    Methods inherited from class com.skava.core.ResponseModel

    getResponseCode, getResponseMessage, getTimeStamp, setResponseCode, setResponseMessage, setTimeStamp

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PromotionServiceResponse

      public PromotionServiceResponse(String code, String message, int status, Map<String,String> reason)
      This constructor is used to initialize the values that are received
      Parameters:
      code - Holds the response code that is returned by the service
      message - Holds the response message that is returned by the service
      status - Holds the HTTP status
      reason - Holds the reason