Class ByProjectKeyPaymentsPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyPaymentsPost,Payment,PaymentDraft>
com.commercetools.api.client.ByProjectKeyPaymentsPost
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyPaymentsPost>, ErrorableTrait<ByProjectKeyPaymentsPost>, ExpandableTrait<ByProjectKeyPaymentsPost>, io.vrap.rmf.base.client.ClientRequestCommand<Payment>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.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()