Package io.trippay.sdk.payment.api
Class ContractApi
java.lang.Object
io.trippay.sdk.payment.api.ContractApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T22:21:19.072173344+07:00[Asia/Bangkok]")
public class ContractApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<BookingContract> cancelBookingContract(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Cancel booking Cancels a booking contract.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> cancelBookingContractWithHttpInfo(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Cancel booking Cancels a booking contract.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccancelBookingContractWithResponseSpec(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Cancel booking Cancels a booking contract.reactor.core.publisher.Flux<BookingContract> cancelGroupBookingContract(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Cancel group bookings Cancels a group booking contract.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContract>>> cancelGroupBookingContractWithHttpInfo(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Cancel group bookings Cancels a group booking contract.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccancelGroupBookingContractWithResponseSpec(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Cancel group bookings Cancels a group booking contract.reactor.core.publisher.Flux<PayableContractResponse> createPayableContracts(RawBookingContract rawBookingContract, String winkVersion) Create payable contracts Returns a list of contracts that can be used alongside payment widget to initiate a payment.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<PayableContractResponse>>> createPayableContractsWithHttpInfo(RawBookingContract rawBookingContract, String winkVersion) Create payable contracts Returns a list of contracts that can be used alongside payment widget to initiate a payment.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreatePayableContractsWithResponseSpec(RawBookingContract rawBookingContract, String winkVersion) Create payable contracts Returns a list of contracts that can be used alongside payment widget to initiate a payment.reactor.core.publisher.Flux<BookingContract> immediateGroupRefund(String traceId, ImmediateRefundRequest immediateRefundRequest, String winkVersion) Immediate group refund In the event that a booking is not possible on the partner site due to lack of availability, or similar.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContract>>> immediateGroupRefundWithHttpInfo(String traceId, ImmediateRefundRequest immediateRefundRequest, String winkVersion) Immediate group refund In the event that a booking is not possible on the partner site due to lack of availability, or similar.org.springframework.web.reactive.function.client.WebClient.ResponseSpecimmediateGroupRefundWithResponseSpec(String traceId, ImmediateRefundRequest immediateRefundRequest, String winkVersion) Immediate group refund In the event that a booking is not possible on the partner site due to lack of availability, or similar.reactor.core.publisher.Mono<BookingContract> immediateRefund(String identifier, ImmediateRefundRequest immediateRefundRequest, String winkVersion) Immediate refund In the event that a booking is not possible on the partner site due to lack of availability, or similar.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> immediateRefundWithHttpInfo(String identifier, ImmediateRefundRequest immediateRefundRequest, String winkVersion) Immediate refund In the event that a booking is not possible on the partner site due to lack of availability, or similar.org.springframework.web.reactive.function.client.WebClient.ResponseSpecimmediateRefundWithResponseSpec(String identifier, ImmediateRefundRequest immediateRefundRequest, String winkVersion) Immediate refund In the event that a booking is not possible on the partner site due to lack of availability, or similar.reactor.core.publisher.Mono<BookingContractCancellableResponse> isContractCancellable(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContractCancellableResponse>> isContractCancellableWithHttpInfo(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.org.springframework.web.reactive.function.client.WebClient.ResponseSpecisContractCancellableWithResponseSpec(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.reactor.core.publisher.Flux<BookingContractCancellableResponse> isGroupContractCancellable(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Group contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContractCancellableResponse>>> isGroupContractCancellableWithHttpInfo(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Group contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.org.springframework.web.reactive.function.client.WebClient.ResponseSpecisGroupContractCancellableWithResponseSpec(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) Group contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.reactor.core.publisher.Mono<BookingContract> requestRefund(String identifier, RefundRequest refundRequest, String winkVersion) Request refund Requests a refund for a booking contract.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> requestRefundWithHttpInfo(String identifier, RefundRequest refundRequest, String winkVersion) Request refund Requests a refund for a booking contract.org.springframework.web.reactive.function.client.WebClient.ResponseSpecrequestRefundWithResponseSpec(String identifier, RefundRequest refundRequest, String winkVersion) Request refund Requests a refund for a booking contract.voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<BeneficiaryAggregateData> showAggregateBookingContractData(String accountIdentifier, String type, String winkVersion) Retrieve aggregate beneficiary data Returns aggregate contract data this account identifier has participated in.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BeneficiaryAggregateData>>> showAggregateBookingContractDataWithHttpInfo(String accountIdentifier, String type, String winkVersion) Retrieve aggregate beneficiary data Returns aggregate contract data this account identifier has participated in.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowAggregateBookingContractDataWithResponseSpec(String accountIdentifier, String type, String winkVersion) Retrieve aggregate beneficiary data Returns aggregate contract data this account identifier has participated in.reactor.core.publisher.Flux<AggregateBookingContractCancellationState> showAggregateCancellationData(String accountIdentifier, String winkVersion) Retrieve aggregate cancellation data Returns aggregate cancellation data this account identifier has participated in.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<AggregateBookingContractCancellationState>>> showAggregateCancellationDataWithHttpInfo(String accountIdentifier, String winkVersion) Retrieve aggregate cancellation data Returns aggregate cancellation data this account identifier has participated in.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowAggregateCancellationDataWithResponseSpec(String accountIdentifier, String winkVersion) Retrieve aggregate cancellation data Returns aggregate cancellation data this account identifier has participated in.reactor.core.publisher.Mono<AggregateBookingContractCaptureCurrenciesByAccountResponse> showCaptureCurrencies(String accountIdentifier, String state, String winkVersion) Retrieve capture currencies Returns a list of capture currencies and amounts for the account identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AggregateBookingContractCaptureCurrenciesByAccountResponse>> showCaptureCurrenciesWithHttpInfo(String accountIdentifier, String state, String winkVersion) Retrieve capture currencies Returns a list of capture currencies and amounts for the account identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowCaptureCurrenciesWithResponseSpec(String accountIdentifier, String state, String winkVersion) Retrieve capture currencies Returns a list of capture currencies and amounts for the account identifier.reactor.core.publisher.Mono<BookingContract> showContract(String identifier, String winkVersion) Retrieve single contract Returns a booking contract by its unique identifier.reactor.core.publisher.Mono<ExternalBookingContract> showContractForExternalAccount(String externalAccountIdentifier, String bookingContractIdentifier, String winkVersion) Retrieve single contract for external account Loads a booking contract based on external account identifier and actual contract identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBookingContract>> showContractForExternalAccountWithHttpInfo(String externalAccountIdentifier, String bookingContractIdentifier, String winkVersion) Retrieve single contract for external account Loads a booking contract based on external account identifier and actual contract identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowContractForExternalAccountWithResponseSpec(String externalAccountIdentifier, String bookingContractIdentifier, String winkVersion) Retrieve single contract for external account Loads a booking contract based on external account identifier and actual contract identifier.reactor.core.publisher.Mono<TotalAggregateFunds> showContractFunds(String accountIdentifier, String state, Boolean accountFundsOnly, String winkVersion) Retrieve contract funds Returns booking contract funds for account identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TotalAggregateFunds>> showContractFundsWithHttpInfo(String accountIdentifier, String state, Boolean accountFundsOnly, String winkVersion) Retrieve contract funds Returns booking contract funds for account identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowContractFundsWithResponseSpec(String accountIdentifier, String state, Boolean accountFundsOnly, String winkVersion) Retrieve contract funds Returns booking contract funds for account identifier.reactor.core.publisher.Mono<PageBookingContract> showContractGrid(String accountIdentifier, State state2, String state, String winkVersion) Retrieve contract grid Returns booking contracts for account identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingContract>> showContractGridWithHttpInfo(String accountIdentifier, State state2, String state, String winkVersion) Retrieve contract grid Returns booking contracts for account identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowContractGridWithResponseSpec(String accountIdentifier, State state2, String state, String winkVersion) Retrieve contract grid Returns booking contracts for account identifier.reactor.core.publisher.Flux<BookingContract> showContracts(String traceId, String winkVersion) Retrieve multiple contracts Returns booking contracts matching traceId.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContract>>> showContractsWithHttpInfo(String traceId, String winkVersion) Retrieve multiple contracts Returns booking contracts matching traceId.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowContractsWithResponseSpec(String traceId, String winkVersion) Retrieve multiple contracts Returns booking contracts matching traceId.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> showContractWithHttpInfo(String identifier, String winkVersion) Retrieve single contract Returns a booking contract by its unique identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowContractWithResponseSpec(String identifier, String winkVersion) Retrieve single contract Returns a booking contract by its unique identifier.reactor.core.publisher.Mono<ExternalBookingContract> showExternalContract(String externalAccountIdentifier, String externalBookingContractIdentifier, String winkVersion) Retrieve single contract for external Loads a booking contract based on external account and contract identifiers.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBookingContract>> showExternalContractWithHttpInfo(String externalAccountIdentifier, String externalBookingContractIdentifier, String winkVersion) Retrieve single contract for external Loads a booking contract based on external account and contract identifiers.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowExternalContractWithResponseSpec(String externalAccountIdentifier, String externalBookingContractIdentifier, String winkVersion) Retrieve single contract for external Loads a booking contract based on external account and contract identifiers.reactor.core.publisher.Mono<PayableContract> showPayableContracts(String transientContractIdentifier, String currency, String winkVersion) Load payable contracts Returns a transient contract based on specified identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PayableContract>> showPayableContractsWithHttpInfo(String transientContractIdentifier, String currency, String winkVersion) Load payable contracts Returns a transient contract based on specified identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowPayableContractsWithResponseSpec(String transientContractIdentifier, String currency, String winkVersion) Load payable contracts Returns a transient contract based on specified identifier.reactor.core.publisher.Mono<ValidateBookingContractResponse> validate(RawBookingContract rawBookingContract, 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(RawBookingContract rawBookingContract, String winkVersion) Validate contract Validates an incoming raw booking contract request for syntax, price and more.org.springframework.web.reactive.function.client.WebClient.ResponseSpecvalidateWithResponseSpec(RawBookingContract rawBookingContract, 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
-
cancelBookingContract
public reactor.core.publisher.Mono<BookingContract> cancelBookingContract(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel booking Cancels a booking contract. Based on the type of cancellation policy, will do a refund or partial refund to the payment method.200 - OK
- Parameters:
identifier- Booking contract identifiercancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- BookingContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelBookingContractWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> cancelBookingContractWithHttpInfo(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel booking Cancels a booking contract. Based on the type of cancellation policy, will do a refund or partial refund to the payment method.200 - OK
- Parameters:
identifier- Booking contract identifiercancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelBookingContractWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec cancelBookingContractWithResponseSpec(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel booking Cancels a booking contract. Based on the type of cancellation policy, will do a refund or partial refund to the payment method.200 - OK
- Parameters:
identifier- Booking contract identifiercancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelGroupBookingContract
public reactor.core.publisher.Flux<BookingContract> cancelGroupBookingContract(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel group bookings Cancels a group booking contract. All bookings under the same traceId.200 - OK
- Parameters:
traceId- Booking contract traceIdcancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- List<BookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelGroupBookingContractWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContract>>> cancelGroupBookingContractWithHttpInfo(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel group bookings Cancels a group booking contract. All bookings under the same traceId.200 - OK
- Parameters:
traceId- Booking contract traceIdcancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<BookingContract>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
cancelGroupBookingContractWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec cancelGroupBookingContractWithResponseSpec(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Cancel group bookings Cancels a group booking contract. All bookings under the same traceId.200 - OK
- Parameters:
traceId- Booking contract traceIdcancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPayableContracts
public reactor.core.publisher.Flux<PayableContractResponse> createPayableContracts(RawBookingContract rawBookingContract, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create payable contracts Returns a list of contracts that can be used alongside payment widget to initiate a payment.200 - OK
- Parameters:
rawBookingContract- The rawBookingContract parameterwinkVersion- The winkVersion parameter- Returns:
- List<PayableContractResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPayableContractsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<PayableContractResponse>>> createPayableContractsWithHttpInfo(RawBookingContract rawBookingContract, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create payable contracts Returns a list of contracts that can be used alongside payment widget to initiate a payment.200 - OK
- Parameters:
rawBookingContract- The rawBookingContract parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<PayableContractResponse>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPayableContractsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createPayableContractsWithResponseSpec(RawBookingContract rawBookingContract, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create payable contracts Returns a list of contracts that can be used alongside payment widget to initiate a payment.200 - OK
- Parameters:
rawBookingContract- The rawBookingContract parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
immediateGroupRefund
public reactor.core.publisher.Flux<BookingContract> immediateGroupRefund(String traceId, ImmediateRefundRequest immediateRefundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Immediate group refund In the event that a booking is not possible on the partner site due to lack of availability, or similar. This endpoint offers a 3-minute window to let that partner refund the traveler 100% of her funds.200 - OK
- Parameters:
traceId- Booking contract traceIdimmediateRefundRequest- Accompanying payload that described the optional reason for using this endpoint.winkVersion- The winkVersion parameter- Returns:
- List<BookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
immediateGroupRefundWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContract>>> immediateGroupRefundWithHttpInfo(String traceId, ImmediateRefundRequest immediateRefundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Immediate group refund In the event that a booking is not possible on the partner site due to lack of availability, or similar. This endpoint offers a 3-minute window to let that partner refund the traveler 100% of her funds.200 - OK
- Parameters:
traceId- Booking contract traceIdimmediateRefundRequest- Accompanying payload that described the optional reason for using this endpoint.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<BookingContract>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
immediateGroupRefundWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec immediateGroupRefundWithResponseSpec(String traceId, ImmediateRefundRequest immediateRefundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Immediate group refund In the event that a booking is not possible on the partner site due to lack of availability, or similar. This endpoint offers a 3-minute window to let that partner refund the traveler 100% of her funds.200 - OK
- Parameters:
traceId- Booking contract traceIdimmediateRefundRequest- Accompanying payload that described the optional reason for using this endpoint.winkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
immediateRefund
public reactor.core.publisher.Mono<BookingContract> immediateRefund(String identifier, ImmediateRefundRequest immediateRefundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Immediate refund In the event that a booking is not possible on the partner site due to lack of availability, or similar. This endpoint offers a 3-minute window to let that partner refund the traveler 100% of her funds.200 - OK
- Parameters:
identifier- Booking contract identifierimmediateRefundRequest- Accompanying payload that described the optional reason for using this endpoint.winkVersion- The winkVersion parameter- Returns:
- BookingContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
immediateRefundWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> immediateRefundWithHttpInfo(String identifier, ImmediateRefundRequest immediateRefundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Immediate refund In the event that a booking is not possible on the partner site due to lack of availability, or similar. This endpoint offers a 3-minute window to let that partner refund the traveler 100% of her funds.200 - OK
- Parameters:
identifier- Booking contract identifierimmediateRefundRequest- Accompanying payload that described the optional reason for using this endpoint.winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
immediateRefundWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec immediateRefundWithResponseSpec(String identifier, ImmediateRefundRequest immediateRefundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Immediate refund In the event that a booking is not possible on the partner site due to lack of availability, or similar. This endpoint offers a 3-minute window to let that partner refund the traveler 100% of her funds.200 - OK
- Parameters:
identifier- Booking contract identifierimmediateRefundRequest- Accompanying payload that described the optional reason for using this endpoint.winkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isContractCancellable
public reactor.core.publisher.Mono<BookingContractCancellableResponse> isContractCancellable(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.200 - OK
- Parameters:
identifier- Booking contract identifiercancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- BookingContractCancellableResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isContractCancellableWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContractCancellableResponse>> isContractCancellableWithHttpInfo(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.200 - OK
- Parameters:
identifier- Booking contract identifiercancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingContractCancellableResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isContractCancellableWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec isContractCancellableWithResponseSpec(String identifier, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.200 - OK
- Parameters:
identifier- Booking contract identifiercancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isGroupContractCancellable
public reactor.core.publisher.Flux<BookingContractCancellableResponse> isGroupContractCancellable(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Group contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.200 - OK
- Parameters:
traceId- Booking contract traceIdcancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- List<BookingContractCancellableResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isGroupContractCancellableWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContractCancellableResponse>>> isGroupContractCancellableWithHttpInfo(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Group contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.200 - OK
- Parameters:
traceId- Booking contract traceIdcancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<BookingContractCancellableResponse>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isGroupContractCancellableWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec isGroupContractCancellableWithResponseSpec(String traceId, CancelBookingContractRequest cancelBookingContractRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Group contract cancellable Returns whether a booking can be cancelled or not and any rules associated with cancelling.200 - OK
- Parameters:
traceId- Booking contract traceIdcancelBookingContractRequest- The cancelBookingContractRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
requestRefund
public reactor.core.publisher.Mono<BookingContract> requestRefund(String identifier, RefundRequest refundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Request refund Requests a refund for a booking contract. Creates a refund request record that needs to be approved by a payment admin.200 - OK
- Parameters:
identifier- Booking contract identifierrefundRequest- The refundRequest parameterwinkVersion- The winkVersion parameter- Returns:
- BookingContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
requestRefundWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> requestRefundWithHttpInfo(String identifier, RefundRequest refundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Request refund Requests a refund for a booking contract. Creates a refund request record that needs to be approved by a payment admin.200 - OK
- Parameters:
identifier- Booking contract identifierrefundRequest- The refundRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
requestRefundWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec requestRefundWithResponseSpec(String identifier, RefundRequest refundRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Request refund Requests a refund for a booking contract. Creates a refund request record that needs to be approved by a payment admin.200 - OK
- Parameters:
identifier- Booking contract identifierrefundRequest- The refundRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAggregateBookingContractData
public reactor.core.publisher.Flux<BeneficiaryAggregateData> showAggregateBookingContractData(String accountIdentifier, String type, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve aggregate beneficiary data Returns aggregate contract data this account identifier has participated in.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parametertype- The type parameterwinkVersion- The winkVersion parameter- Returns:
- List<BeneficiaryAggregateData>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAggregateBookingContractDataWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BeneficiaryAggregateData>>> showAggregateBookingContractDataWithHttpInfo(String accountIdentifier, String type, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve aggregate beneficiary data Returns aggregate contract data this account identifier has participated in.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parametertype- The type parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<BeneficiaryAggregateData>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAggregateBookingContractDataWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAggregateBookingContractDataWithResponseSpec(String accountIdentifier, String type, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve aggregate beneficiary data Returns aggregate contract data this account identifier has participated in.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parametertype- The type parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAggregateCancellationData
public reactor.core.publisher.Flux<AggregateBookingContractCancellationState> showAggregateCancellationData(String accountIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve aggregate cancellation data Returns aggregate cancellation data this account identifier has participated in.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parameterwinkVersion- The winkVersion parameter- Returns:
- List<AggregateBookingContractCancellationState>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAggregateCancellationDataWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<AggregateBookingContractCancellationState>>> showAggregateCancellationDataWithHttpInfo(String accountIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve aggregate cancellation data Returns aggregate cancellation data this account identifier has participated in.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<AggregateBookingContractCancellationState>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAggregateCancellationDataWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAggregateCancellationDataWithResponseSpec(String accountIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve aggregate cancellation data Returns aggregate cancellation data this account identifier has participated in.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCaptureCurrencies
public reactor.core.publisher.Mono<AggregateBookingContractCaptureCurrenciesByAccountResponse> showCaptureCurrencies(String accountIdentifier, String state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve capture currencies Returns a list of capture currencies and amounts for the account identifier.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parameterstate- The state parameterwinkVersion- The winkVersion parameter- Returns:
- AggregateBookingContractCaptureCurrenciesByAccountResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCaptureCurrenciesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AggregateBookingContractCaptureCurrenciesByAccountResponse>> showCaptureCurrenciesWithHttpInfo(String accountIdentifier, String state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve capture currencies Returns a list of capture currencies and amounts for the account identifier.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parameterstate- The state parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<AggregateBookingContractCaptureCurrenciesByAccountResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCaptureCurrenciesWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showCaptureCurrenciesWithResponseSpec(String accountIdentifier, String state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve capture currencies Returns a list of capture currencies and amounts for the account identifier.200 - OK
- Parameters:
accountIdentifier- The accountIdentifier parameterstate- The state parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContract
public reactor.core.publisher.Mono<BookingContract> showContract(String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract Returns a booking contract by its unique identifier.200 - OK
- Parameters:
identifier- Booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- BookingContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContract>> showContractWithHttpInfo(String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract Returns a booking contract by its unique identifier.200 - OK
- Parameters:
identifier- Booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showContractWithResponseSpec(String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract Returns a booking contract by its unique identifier.200 - OK
- Parameters:
identifier- Booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractForExternalAccount
public reactor.core.publisher.Mono<ExternalBookingContract> showContractForExternalAccount(String externalAccountIdentifier, String bookingContractIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract for external account Loads a booking contract based on external account identifier and actual contract identifier.200 - OK
- Parameters:
externalAccountIdentifier- Show contract owned by this external accountbookingContractIdentifier- Booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ExternalBookingContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractForExternalAccountWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBookingContract>> showContractForExternalAccountWithHttpInfo(String externalAccountIdentifier, String bookingContractIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract for external account Loads a booking contract based on external account identifier and actual contract identifier.200 - OK
- Parameters:
externalAccountIdentifier- Show contract owned by this external accountbookingContractIdentifier- Booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<ExternalBookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractForExternalAccountWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showContractForExternalAccountWithResponseSpec(String externalAccountIdentifier, String bookingContractIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract for external account Loads a booking contract based on external account identifier and actual contract identifier.200 - OK
- Parameters:
externalAccountIdentifier- Show contract owned by this external accountbookingContractIdentifier- Booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractFunds
public reactor.core.publisher.Mono<TotalAggregateFunds> showContractFunds(String accountIdentifier, String state, Boolean accountFundsOnly, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve contract funds Returns booking contract funds for account identifier.200 - OK
- Parameters:
accountIdentifier- The account ownerstate- The optional state to want to receive funds foraccountFundsOnly- Whether to only returns funds for that account identifier or total funds that account identifier was part of. (defaults to false).winkVersion- The winkVersion parameter- Returns:
- TotalAggregateFunds
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractFundsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TotalAggregateFunds>> showContractFundsWithHttpInfo(String accountIdentifier, String state, Boolean accountFundsOnly, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve contract funds Returns booking contract funds for account identifier.200 - OK
- Parameters:
accountIdentifier- The account ownerstate- The optional state to want to receive funds foraccountFundsOnly- Whether to only returns funds for that account identifier or total funds that account identifier was part of. (defaults to false).winkVersion- The winkVersion parameter- Returns:
- ResponseEntity<TotalAggregateFunds>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractFundsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showContractFundsWithResponseSpec(String accountIdentifier, String state, Boolean accountFundsOnly, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve contract funds Returns booking contract funds for account identifier.200 - OK
- Parameters:
accountIdentifier- The account ownerstate- The optional state to want to receive funds foraccountFundsOnly- Whether to only returns funds for that account identifier or total funds that account identifier was part of. (defaults to false).winkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractGrid
public reactor.core.publisher.Mono<PageBookingContract> showContractGrid(String accountIdentifier, State state2, String state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve contract grid Returns booking contracts for account identifier.200 - OK
- Parameters:
accountIdentifier- The account ownerstate2- The optional state to filter onstate- The optional state to want to receive funds forwinkVersion- The winkVersion parameter- Returns:
- PageBookingContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractGridWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingContract>> showContractGridWithHttpInfo(String accountIdentifier, State state2, String state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve contract grid Returns booking contracts for account identifier.200 - OK
- Parameters:
accountIdentifier- The account ownerstate2- The optional state to filter onstate- The optional state to want to receive funds forwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<PageBookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractGridWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showContractGridWithResponseSpec(String accountIdentifier, State state2, String state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve contract grid Returns booking contracts for account identifier.200 - OK
- Parameters:
accountIdentifier- The account ownerstate2- The optional state to filter onstate- The optional state to want to receive funds forwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContracts
public reactor.core.publisher.Flux<BookingContract> showContracts(String traceId, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve multiple contracts Returns booking contracts matching traceId.200 - OK
- Parameters:
traceId- Trace identifierwinkVersion- The winkVersion parameter- Returns:
- List<BookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContract>>> showContractsWithHttpInfo(String traceId, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve multiple contracts Returns booking contracts matching traceId.200 - OK
- Parameters:
traceId- Trace identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<BookingContract>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showContractsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showContractsWithResponseSpec(String traceId, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve multiple contracts Returns booking contracts matching traceId.200 - OK
- Parameters:
traceId- Trace identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showExternalContract
public reactor.core.publisher.Mono<ExternalBookingContract> showExternalContract(String externalAccountIdentifier, String externalBookingContractIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract for external Loads a booking contract based on external account and contract identifiers.200 - OK
- Parameters:
externalAccountIdentifier- Show contract owned by this external accountexternalBookingContractIdentifier- External booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ExternalBookingContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showExternalContractWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBookingContract>> showExternalContractWithHttpInfo(String externalAccountIdentifier, String externalBookingContractIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract for external Loads a booking contract based on external account and contract identifiers.200 - OK
- Parameters:
externalAccountIdentifier- Show contract owned by this external accountexternalBookingContractIdentifier- External booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<ExternalBookingContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showExternalContractWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showExternalContractWithResponseSpec(String externalAccountIdentifier, String externalBookingContractIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Retrieve single contract for external Loads a booking contract based on external account and contract identifiers.200 - OK
- Parameters:
externalAccountIdentifier- Show contract owned by this external accountexternalBookingContractIdentifier- External booking contract identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPayableContracts
public reactor.core.publisher.Mono<PayableContract> showPayableContracts(String transientContractIdentifier, String currency, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Load payable contracts Returns a transient contract based on specified identifier.200 - OK
- Parameters:
transientContractIdentifier- Transient contract to retrievecurrency- Desired currencywinkVersion- The winkVersion parameter- Returns:
- PayableContract
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPayableContractsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PayableContract>> showPayableContractsWithHttpInfo(String transientContractIdentifier, String currency, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Load payable contracts Returns a transient contract based on specified identifier.200 - OK
- Parameters:
transientContractIdentifier- Transient contract to retrievecurrency- Desired currencywinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<PayableContract>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPayableContractsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPayableContractsWithResponseSpec(String transientContractIdentifier, String currency, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Load payable contracts Returns a transient contract based on specified identifier.200 - OK
- Parameters:
transientContractIdentifier- Transient contract to retrievecurrency- Desired currencywinkVersion- 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(RawBookingContract rawBookingContract, 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:
rawBookingContract- The rawBookingContract 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(RawBookingContract rawBookingContract, 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:
rawBookingContract- The rawBookingContract 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(RawBookingContract rawBookingContract, 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:
rawBookingContract- The rawBookingContract parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-