Class ByProjectKeyPaymentMethodsPostString

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyPaymentMethodsPostString>, ErrorableTrait<ByProjectKeyPaymentMethodsPostString>, ExpandableTrait<ByProjectKeyPaymentMethodsPostString>, 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("")
            .execute()