Class ContractApi

java.lang.Object
io.trippay.sdk.payment.api.ContractApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class ContractApi extends Object
  • Constructor Details

    • ContractApi

      public ContractApi()
    • ContractApi

      @Autowired public ContractApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • cancelBookingContract

      public reactor.core.publisher.Mono<BookingContract> cancelBookingContract(@Nonnull String identifier, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 identifier
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - 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(@Nonnull String identifier, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 identifier
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      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
    • cancelBookingContractWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec cancelBookingContractWithResponseSpec(@Nonnull String identifier, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 identifier
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - 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(@Nonnull String traceId, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 traceId
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      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
    • cancelGroupBookingContractWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BookingContract>>> cancelGroupBookingContractWithHttpInfo(@Nonnull String traceId, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 traceId
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      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
    • cancelGroupBookingContractWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec cancelGroupBookingContractWithResponseSpec(@Nonnull String traceId, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 traceId
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - 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(@Nonnull PayableContractRequest payableContractRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create payable contracts Returns a list of contracts that can be used alongside reactive widget to initiate a reactive.

      200 - OK

      Parameters:
      payableContractRequest - The payableContractRequest parameter
      winkVersion - 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(@Nonnull PayableContractRequest payableContractRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create payable contracts Returns a list of contracts that can be used alongside reactive widget to initiate a reactive.

      200 - OK

      Parameters:
      payableContractRequest - The payableContractRequest parameter
      winkVersion - 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(@Nonnull PayableContractRequest payableContractRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create payable contracts Returns a list of contracts that can be used alongside reactive widget to initiate a reactive.

      200 - OK

      Parameters:
      payableContractRequest - The payableContractRequest parameter
      winkVersion - 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(@Nonnull String traceId, @Nonnull ImmediateRefundRequest immediateRefundRequest, @Nullable 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 traceId
      immediateRefundRequest - 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(@Nonnull String traceId, @Nonnull ImmediateRefundRequest immediateRefundRequest, @Nullable 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 traceId
      immediateRefundRequest - 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(@Nonnull String traceId, @Nonnull ImmediateRefundRequest immediateRefundRequest, @Nullable 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 traceId
      immediateRefundRequest - 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(@Nonnull String identifier, @Nonnull ImmediateRefundRequest immediateRefundRequest, @Nullable 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 identifier
      immediateRefundRequest - 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(@Nonnull String identifier, @Nonnull ImmediateRefundRequest immediateRefundRequest, @Nullable 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 identifier
      immediateRefundRequest - 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(@Nonnull String identifier, @Nonnull ImmediateRefundRequest immediateRefundRequest, @Nullable 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 identifier
      immediateRefundRequest - 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(@Nonnull String identifier, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 identifier
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - 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(@Nonnull String identifier, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 identifier
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - 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(@Nonnull String identifier, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable 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 identifier
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - 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(@Nonnull String traceId, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable String winkVersion, @Nullable String accept) 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 traceId
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String traceId, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable String winkVersion, @Nullable String accept) 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 traceId
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String traceId, @Nonnull CancelBookingContractRequest cancelBookingContractRequest, @Nullable String winkVersion, @Nullable String accept) 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 traceId
      cancelBookingContractRequest - The cancelBookingContractRequest parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String identifier, @Nonnull RefundRequest refundRequest, @Nullable 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 identifier
      refundRequest - The refundRequest parameter
      winkVersion - 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(@Nonnull String identifier, @Nonnull RefundRequest refundRequest, @Nullable 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 identifier
      refundRequest - The refundRequest parameter
      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
    • requestRefundWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec requestRefundWithResponseSpec(@Nonnull String identifier, @Nonnull RefundRequest refundRequest, @Nullable 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 identifier
      refundRequest - The refundRequest parameter
      winkVersion - 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(@Nonnull String accountIdentifier, @Nullable String type, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      type - The type parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String type, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      type - The type parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String type, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      type - The type parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String state, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      state - The state parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String state, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      state - The state parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String state, @Nullable String winkVersion, @Nullable String accept) 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 parameter
      state - The state parameter
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String identifier, @Nullable String winkVersion, @Nullable String accept) 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 identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String identifier, @Nullable String winkVersion, @Nullable String accept) 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 identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String identifier, @Nullable String winkVersion, @Nullable String accept) 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 identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String externalAccountIdentifier, @Nonnull String bookingContractIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 account
      bookingContractIdentifier - Booking contract identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String externalAccountIdentifier, @Nonnull String bookingContractIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 account
      bookingContractIdentifier - Booking contract identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String externalAccountIdentifier, @Nonnull String bookingContractIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 account
      bookingContractIdentifier - Booking contract identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String state, @Nullable Boolean accountFundsOnly, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Retrieve contract funds Returns booking contract funds for account identifier.

      200 - OK

      Parameters:
      accountIdentifier - The account owner
      state - The optional state to want to receive funds for
      accountFundsOnly - 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
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String state, @Nullable Boolean accountFundsOnly, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Retrieve contract funds Returns booking contract funds for account identifier.

      200 - OK

      Parameters:
      accountIdentifier - The account owner
      state - The optional state to want to receive funds for
      accountFundsOnly - 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
      accept - The accept 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(@Nonnull String accountIdentifier, @Nullable String state, @Nullable Boolean accountFundsOnly, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Retrieve contract funds Returns booking contract funds for account identifier.

      200 - OK

      Parameters:
      accountIdentifier - The account owner
      state - The optional state to want to receive funds for
      accountFundsOnly - 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
      accept - The accept 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<BookingContractGridResponse> showContractGrid(@Nonnull String accountIdentifier, @Nonnull State state2, @Nullable String state, @Nullable Boolean accountFundsOnly, @Nullable 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 owner
      state2 - The optional state to filter on
      state - The optional state to want to receive funds for
      accountFundsOnly - 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:
      BookingContractGridResponse
      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<BookingContractGridResponse>> showContractGridWithHttpInfo(@Nonnull String accountIdentifier, @Nonnull State state2, @Nullable String state, @Nullable Boolean accountFundsOnly, @Nullable 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 owner
      state2 - The optional state to filter on
      state - The optional state to want to receive funds for
      accountFundsOnly - 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<BookingContractGridResponse>
      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(@Nonnull String accountIdentifier, @Nonnull State state2, @Nullable String state, @Nullable Boolean accountFundsOnly, @Nullable 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 owner
      state2 - The optional state to filter on
      state - The optional state to want to receive funds for
      accountFundsOnly - 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
    • showContracts

      public reactor.core.publisher.Flux<BookingContract> showContracts(@Nonnull String traceId, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Retrieve multiple contracts Returns booking contracts matching traceId.

      200 - OK

      Parameters:
      traceId - Trace identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String traceId, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Retrieve multiple contracts Returns booking contracts matching traceId.

      200 - OK

      Parameters:
      traceId - Trace identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String traceId, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Retrieve multiple contracts Returns booking contracts matching traceId.

      200 - OK

      Parameters:
      traceId - Trace identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String externalAccountIdentifier, @Nonnull String externalBookingContractIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 account
      externalBookingContractIdentifier - External booking contract identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String externalAccountIdentifier, @Nonnull String externalBookingContractIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 account
      externalBookingContractIdentifier - External booking contract identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String externalAccountIdentifier, @Nonnull String externalBookingContractIdentifier, @Nullable String winkVersion, @Nullable String accept) 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 account
      externalBookingContractIdentifier - External booking contract identifier
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String transientContractIdentifier, @Nullable String currency, @Nullable String winkVersion, @Nullable String accept) 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 retrieve
      currency - Desired currency
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String transientContractIdentifier, @Nullable String currency, @Nullable String winkVersion, @Nullable String accept) 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 retrieve
      currency - Desired currency
      winkVersion - The winkVersion parameter
      accept - The accept 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(@Nonnull String transientContractIdentifier, @Nullable String currency, @Nullable String winkVersion, @Nullable String accept) 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 retrieve
      currency - Desired currency
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API