Class ByProjectKeyDiscountCodesByIDGet

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

Deprecated scope: view_orders:{projectKey}



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.discount_code.DiscountCode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .discountCodes()
            .withId("{ID}")
            .get()
            .execute()