Class ByProjectKeyOrdersByIDGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyOrdersByIDGet,Order>
com.commercetools.api.client.ByProjectKeyOrdersByIDGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyOrdersByIDGet>, ErrorableTrait<ByProjectKeyOrdersByIDGet>, ExpandableTrait<ByProjectKeyOrdersByIDGet>, io.vrap.rmf.base.client.ClientRequestCommand<Order>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Order>

public class ByProjectKeyOrdersByIDGet extends io.vrap.rmf.base.client.ApiMethod<ByProjectKeyOrdersByIDGet,Order> implements ExpandableTrait<ByProjectKeyOrdersByIDGet>, ErrorableTrait<ByProjectKeyOrdersByIDGet>, Deprecatable200Trait<ByProjectKeyOrdersByIDGet>


   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order.Order>> result = apiRoot
            .withProjectKey("{projectKey}")
            .orders()
            .withId("{ID}")
            .get()
            .execute()
 
  • Constructor Details

    • ByProjectKeyOrdersByIDGet

      public ByProjectKeyOrdersByIDGet(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String ID)
    • ByProjectKeyOrdersByIDGet

      public ByProjectKeyOrdersByIDGet(ByProjectKeyOrdersByIDGet t)
  • Method Details

    • executeBlocking

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

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

      public String getProjectKey()
    • getID

      public String getID()
    • getExpand

      public List<String> getExpand()
      Specified by:
      getExpand in interface ExpandableTrait<ByProjectKeyOrdersByIDGet>
    • setProjectKey

      public void setProjectKey(String projectKey)
    • setID

      public void setID(String ID)
    • withExpand

      public <TValue> ByProjectKeyOrdersByIDGet withExpand(TValue expand)
      set expand with the specified value
      Specified by:
      withExpand in interface ExpandableTrait<ByProjectKeyOrdersByIDGet>
      Type Parameters:
      TValue - value type
      Parameters:
      expand - value to be set
      Returns:
      ByProjectKeyOrdersByIDGet
    • addExpand

      public <TValue> ByProjectKeyOrdersByIDGet addExpand(TValue expand)
      add additional expand query parameter
      Specified by:
      addExpand in interface ExpandableTrait<ByProjectKeyOrdersByIDGet>
      Type Parameters:
      TValue - value type
      Parameters:
      expand - value to be added
      Returns:
      ByProjectKeyOrdersByIDGet
    • withExpand

      public ByProjectKeyOrdersByIDGet withExpand(Supplier<String> supplier)
      set expand with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyOrdersByIDGet
    • addExpand

      public ByProjectKeyOrdersByIDGet addExpand(Supplier<String> supplier)
      add additional expand query parameter
      Parameters:
      supplier - supplier for the value to be added
      Returns:
      ByProjectKeyOrdersByIDGet
    • withExpand

      set expand with the specified value
      Parameters:
      op - builder for the value to be set
      Returns:
      ByProjectKeyOrdersByIDGet
    • addExpand

      add additional expand query parameter
      Parameters:
      op - builder for the value to be added
      Returns:
      ByProjectKeyOrdersByIDGet
    • withExpand

      public <TValue> ByProjectKeyOrdersByIDGet withExpand(Collection<TValue> expand)
      set expand with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      expand - values to be set
      Returns:
      ByProjectKeyOrdersByIDGet
    • addExpand

      public <TValue> ByProjectKeyOrdersByIDGet addExpand(Collection<TValue> expand)
      add additional expand query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      expand - values to be added
      Returns:
      ByProjectKeyOrdersByIDGet
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

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

      public int reflectionHashCode()