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="2023-07-31T08:59:00.067927603+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<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<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 currencyreactor.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<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, String state, Integer page, Integer size, String winkVersion) Retrieve contract grid Returns booking contracts for account identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageBookingContract>>showContractGridWithHttpInfo(String accountIdentifier, String state, Integer page, Integer size, String winkVersion) Retrieve contract grid Returns booking contracts for account identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowContractGridWithResponseSpec(String accountIdentifier, String state, Integer page, Integer size, 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<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
-
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
-
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
-
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
-
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
-
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, String state, Integer page, Integer size, 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 ownerstate- The optional state to want to receive funds forpage- Pagination page number to go tosize- Pagination number of elements to returnwinkVersion- 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, String state, Integer page, Integer size, 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 ownerstate- The optional state to want to receive funds forpage- Pagination page number to go tosize- Pagination number of elements to returnwinkVersion- 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, String state, Integer page, Integer size, 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 ownerstate- The optional state to want to receive funds forpage- Pagination page number to go tosize- Pagination number of elements to returnwinkVersion- 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
-
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
-