Class ByProjectKeyPaymentsPostString

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