Class AgentApi
java.lang.Object
io.trippay.sdk.payment.api.AgentApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class AgentApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<MultiBookingContractResponse> createAgentSale(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) Create Agent Payment Attempt an immediate reactive with Agent as acquirer.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MultiBookingContractResponse>> createAgentSaleWithHttpInfo(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) Create Agent Payment Attempt an immediate reactive with Agent as acquirer.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateAgentSaleWithResponseSpec(CreateAgentSaleRequest createAgentSaleRequest, String winkVersion) Create Agent Payment Attempt an immediate reactive 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(@Nonnull CreateAgentSaleRequest createAgentSaleRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Agent Payment Attempt an immediate reactive 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(@Nonnull CreateAgentSaleRequest createAgentSaleRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Agent Payment Attempt an immediate reactive 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(@Nonnull CreateAgentSaleRequest createAgentSaleRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Agent Payment Attempt an immediate reactive 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
-