Class PaymentApi

java.lang.Object
dev.crashteam.openapi.kerepricer.api.PaymentApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-10-07T12:18:02.132511272Z[Etc/UTC]") @Component("dev.crashteam.openapi.kerepricer.api.PaymentApi") public class PaymentApi extends Object
  • Constructor Details

    • PaymentApi

      public PaymentApi()
    • PaymentApi

      @Autowired public PaymentApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createSubsriptionPayment

      public CreateSubsriptionPayment201Response createSubsriptionPayment(UUID xRequestID, UUID idempotencyKey, CreateSubsriptionPaymentRequest createSubsriptionPaymentRequest) throws org.springframework.web.client.RestClientException
      Создать платеж на выбранный тарифный план

      201 - Платеж создан

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      409 - Достигнуто максимальное кол-во товаров в пуле

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      idempotencyKey - Idempotency key (required)
      createSubsriptionPaymentRequest - (optional)
      Returns:
      CreateSubsriptionPayment201Response
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createSubsriptionPaymentWithHttpInfo

      public org.springframework.http.ResponseEntity<CreateSubsriptionPayment201Response> createSubsriptionPaymentWithHttpInfo(UUID xRequestID, UUID idempotencyKey, CreateSubsriptionPaymentRequest createSubsriptionPaymentRequest) throws org.springframework.web.client.RestClientException
      Создать платеж на выбранный тарифный план

      201 - Платеж создан

      400 - Переданы ошибочные данные

      401 - Несанкционированный доступ, использовались неверные учетные данные.

      403 - Доступ запрещен.

      409 - Достигнуто максимальное кол-во товаров в пуле

      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      idempotencyKey - Idempotency key (required)
      createSubsriptionPaymentRequest - (optional)
      Returns:
      ResponseEntity<CreateSubsriptionPayment201Response>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API