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 Details

    • ContractApi

      public ContractApi()
    • ContractApi

      @Autowired public ContractApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 currency

      200 - OK

      Parameters:
      priceSupplierContractWithAcquirerRequest - The priceSupplierContractWithAcquirerRequest parameter
      winkVersion - 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 quote

      200 - OK

      Parameters:
      priceBookingContractRequest - The priceBookingContractRequest parameter
      winkVersion - 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 parameter
      winkVersion - 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