Class ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead,JsonNode>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead>, io.vrap.rmf.base.client.ClientRequestCommand<JsonNode>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<JsonNode>, io.vrap.rmf.base.client.RequestCommand<JsonNode>

Checks if the current or staged representations of a Product exists for a given key in the specified Store. Returns a 200 OK status if the ProductProjection exists or a 404 Not Found otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .productProjections()
            .withKey("{key}")
            .head()
            .execute()
 
  • Constructor Details

    • ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead

      public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String storeKey, String key)
    • ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead

      public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead(ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead t)
  • Method Details

    • resultType

      public com.fasterxml.jackson.core.type.TypeReference<JsonNode> resultType()
      Specified by:
      resultType in interface io.vrap.rmf.base.client.HttpRequestCommand<JsonNode>
    • executeBlocking

      public io.vrap.rmf.base.client.ApiHttpResponse<JsonNode> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout)
      Specified by:
      executeBlocking in interface io.vrap.rmf.base.client.ClientRequestCommand<JsonNode>
      Specified by:
      executeBlocking in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead,JsonNode>
    • execute

      public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<JsonNode>> execute(io.vrap.rmf.base.client.ApiHttpClient client)
      Specified by:
      execute in interface io.vrap.rmf.base.client.ClientRequestCommand<JsonNode>
      Specified by:
      execute in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead,JsonNode>
    • getProjectKey

      public String getProjectKey()
    • getStoreKey

      public String getStoreKey()
    • getKey

      public String getKey()
    • setProjectKey

      public void setProjectKey(String projectKey)
    • setStoreKey

      public void setStoreKey(String storeKey)
    • setKey

      public void setKey(String key)
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • reflectionHashCode

      public int reflectionHashCode()