Class ContractApi
java.lang.Object
io.trippay.sdk.payment.acquiring.api.ContractApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-18T09:26:01.256708606+07:00[Asia/Bangkok]")
public class ContractApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<PriceSupplierContractWithAcquirerResponse>price(PriceSupplierContractWithAcquirerRequest priceSupplierContractWithAcquirerRequest, String winkVersion) Price acquirer contract Displays booking contract in requested display quote as well as the selected acquirer's currencyreactor.core.publisher.Mono<PriceBookingContractResponse>price1(PriceBookingContractRequest priceBookingContractRequest, String winkVersion) Price contract Displays booking contract in requested display quotereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PriceBookingContractResponse>>price1WithHttpInfo(PriceBookingContractRequest priceBookingContractRequest, String winkVersion) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PriceSupplierContractWithAcquirerResponse>>priceWithHttpInfo(PriceSupplierContractWithAcquirerRequest priceSupplierContractWithAcquirerRequest, String winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<ValidateBookingContractResponse>validate(ValidateBookingContractRequest validateBookingContractRequest, String winkVersion) Validate contract Validates an incoming raw booking contract request for syntax, price and more.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ValidateBookingContractResponse>>validateWithHttpInfo(ValidateBookingContractRequest validateBookingContractRequest, String winkVersion)
-
Constructor Details
-
ContractApi
public ContractApi() -
ContractApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
price
public reactor.core.publisher.Mono<PriceSupplierContractWithAcquirerResponse> price(PriceSupplierContractWithAcquirerRequest priceSupplierContractWithAcquirerRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Price acquirer contract Displays booking contract in requested display quote as well as the selected acquirer's currency200 - OK
- Parameters:
priceSupplierContractWithAcquirerRequest- The priceSupplierContractWithAcquirerRequest parameterwinkVersion- The winkVersion parameter- Returns:
- PriceSupplierContractWithAcquirerResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
priceWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PriceSupplierContractWithAcquirerResponse>> priceWithHttpInfo(PriceSupplierContractWithAcquirerRequest priceSupplierContractWithAcquirerRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
price1
public reactor.core.publisher.Mono<PriceBookingContractResponse> price1(PriceBookingContractRequest priceBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Price contract Displays booking contract in requested display quote200 - OK
- Parameters:
priceBookingContractRequest- The priceBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- PriceBookingContractResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
price1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PriceBookingContractResponse>> price1WithHttpInfo(PriceBookingContractRequest priceBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
validate
public reactor.core.publisher.Mono<ValidateBookingContractResponse> validate(ValidateBookingContractRequest validateBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Validate contract Validates an incoming raw booking contract request for syntax, price and more.200 - OK
- Parameters:
validateBookingContractRequest- The validateBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ValidateBookingContractResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
validateWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ValidateBookingContractResponse>> validateWithHttpInfo(ValidateBookingContractRequest validateBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-