Package io.trippay.sdk.payment.api
Class AgentApi
java.lang.Object
io.trippay.sdk.payment.api.AgentApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-15T11:49:21.247312276+07:00[Asia/Bangkok]")
public class AgentApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<MultiBookingContractResponse> createAgentSale(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) Create Agent Sale Attempt an immediate sale with Agent as acquirer.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MultiBookingContractResponse>> createAgentSaleWithHttpInfo(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) Create Agent Sale Attempt an immediate sale with Agent as acquirer.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateAgentSaleWithResponseSpec(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) Create Agent Sale Attempt an immediate sale with Agent as acquirer.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
AgentApi
public AgentApi() -
AgentApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 parameterwinkVersion- 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 parameterwinkVersion- 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 parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-