Class AgentApi

java.lang.Object
io.trippay.sdk.payment.api.AgentApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-24T07:24:28.877872362+07:00[Asia/Bangkok]") public class AgentApi extends Object
  • Constructor Details

    • AgentApi

      public AgentApi()
    • AgentApi

      @Autowired public AgentApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createAgentSale

      public reactor.core.publisher.Mono<MultiBookingContractResponse> createAgentSale(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Agent Sale Attempt an immediate sale with Agent as acquirer. Checks for valid funds in account before booking instruction.

      201 - Created

      Parameters:
      createAgentSaleRequest - The createAgentSaleRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      MultiBookingContractResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createAgentSaleWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MultiBookingContractResponse>> createAgentSaleWithHttpInfo(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Agent Sale Attempt an immediate sale with Agent as acquirer. Checks for valid funds in account before booking instruction.

      201 - Created

      Parameters:
      createAgentSaleRequest - The createAgentSaleRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MultiBookingContractResponse>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createAgentSaleWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createAgentSaleWithResponseSpec(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Agent Sale Attempt an immediate sale with Agent as acquirer. Checks for valid funds in account before booking instruction.

      201 - Created

      Parameters:
      createAgentSaleRequest - The createAgentSaleRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API