Class ByProjectKeyMePaymentsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyMePaymentsPost>, ErrorableTrait<ByProjectKeyMePaymentsPost>, ExpandableTrait<ByProjectKeyMePaymentsPost>, ClientRequestCommand<MyPayment>, CreateHttpRequestCommand, HttpRequestCommand<MyPayment>, RequestCommand<MyPayment>

Creates a Payment for the Customer or an anonymous user. Creating a Payment produces the PaymentCreated Message.



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