Class ByProjectKeyPaymentMethodsKeyByKeyGet

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyPaymentMethodsKeyByKeyGet>, ErrorableTrait<ByProjectKeyPaymentMethodsKeyByKeyGet>, ExpandableTrait<ByProjectKeyPaymentMethodsKeyByKeyGet>, ClientRequestCommand<PaymentMethod>, CreateHttpRequestCommand, HttpRequestCommand<PaymentMethod>, RequestCommand<PaymentMethod>

Retrieves a PaymentMethod with the provided key.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.payment_method.PaymentMethod>> result = apiRoot
            .withProjectKey("{projectKey}")
            .paymentMethods()
            .withKey("{key}")
            .get()
            .execute()