Class ByProjectKeyPaymentsPostString

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