Class ByProjectKeyMePaymentsPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyMePaymentsPost,MyPayment,MyPaymentDraft>
com.commercetools.api.client.ByProjectKeyMePaymentsPost
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyMePaymentsPost>, ErrorableTrait<ByProjectKeyMePaymentsPost>, ExpandableTrait<ByProjectKeyMePaymentsPost>, io.vrap.rmf.base.client.ClientRequestCommand<MyPayment>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<MyPayment>, io.vrap.rmf.base.client.RequestCommand<MyPayment>

Creating a Payment produces the PaymentCreated Message.



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