Class ContractApi
java.lang.Object
io.trippay.sdk.payment.acquiring.api.ContractApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-12T17:32:35.929546062+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) Price contract Displays booking contract in requested display quoteorg.springframework.web.reactive.function.client.WebClient.ResponseSpecprice1WithResponseSpec(PriceBookingContractRequest priceBookingContractRequest, String winkVersion) Price contract Displays booking contract in requested display quotereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PriceSupplierContractWithAcquirerResponse>>priceWithHttpInfo(PriceSupplierContractWithAcquirerRequest priceSupplierContractWithAcquirerRequest, String winkVersion) Price acquirer contract Displays booking contract in requested display quote as well as the selected acquirer's currencyorg.springframework.web.reactive.function.client.WebClient.ResponseSpecpriceWithResponseSpec(PriceSupplierContractWithAcquirerRequest priceSupplierContractWithAcquirerRequest, String winkVersion) Price acquirer contract Displays booking contract in requested display quote as well as the selected acquirer's currencyvoidsetApiClient(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) Validate contract Validates an incoming raw booking contract request for syntax, price and more.org.springframework.web.reactive.function.client.WebClient.ResponseSpecvalidateWithResponseSpec(ValidateBookingContractRequest validateBookingContractRequest, String winkVersion) Validate contract Validates an incoming raw booking contract request for syntax, price and more.
-
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 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:
- ResponseEntity<PriceSupplierContractWithAcquirerResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
priceWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec priceWithResponseSpec(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:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
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 Price contract Displays booking contract in requested display quote200 - OK
- Parameters:
priceBookingContractRequest- The priceBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<PriceBookingContractResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
price1WithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec price1WithResponseSpec(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:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
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 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:
- ResponseEntity<ValidateBookingContractResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
validateWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec validateWithResponseSpec(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:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-