Class ByProjectKeyPaymentMethodsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyPaymentMethodsPost>, ErrorableTrait<ByProjectKeyPaymentMethodsPost>, ExpandableTrait<ByProjectKeyPaymentMethodsPost>, ClientRequestCommand<PaymentMethod>, CreateHttpRequestCommand, HttpRequestCommand<PaymentMethod>, RequestCommand<PaymentMethod>

Creates a PaymentMethod in the Project. This request generates the PaymentMethodCreated Message.



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