Class ByProjectKeyPaymentsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyPaymentsPost>, ErrorableTrait<ByProjectKeyPaymentsPost>, ExpandableTrait<ByProjectKeyPaymentsPost>, ClientRequestCommand<Payment>, CreateHttpRequestCommand, HttpRequestCommand<Payment>, RequestCommand<Payment>

Creating a Payment produces the PaymentCreated Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.payment.Payment>> result = apiRoot
            .withProjectKey("{projectKey}")
            .payments()
            .post(null)
            .execute()