Package travel.wink.sdk.payment.api
Class AgentApi
java.lang.Object
travel.wink.sdk.payment.api.AgentApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T21:56:48.173220+07:00[Asia/Bangkok]")
public class AgentApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<MultiBookingContractResponse>createAgentSale(CreateAgentSaleRequest createAgentSaleRequest) Create Agent Sale Attempt an immediate sale with Agent as acquirer.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MultiBookingContractResponse>>createAgentSaleWithHttpInfo(CreateAgentSaleRequest createAgentSaleRequest) voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
AgentApi
public AgentApi() -
AgentApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createAgentSale
public reactor.core.publisher.Mono<MultiBookingContractResponse> createAgentSale(CreateAgentSaleRequest createAgentSaleRequest) 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.200 - OK
- Parameters:
createAgentSaleRequest- The createAgentSaleRequest 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) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-