Class MappingApi

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

@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 MappingApi extends Object
  • Constructor Details

    • MappingApi

      public MappingApi()
    • MappingApi

      @Autowired public MappingApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createMapping

      public reactor.core.publisher.Mono<Mapping> createMapping(@Nonnull CreateMappingRequest createMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Mapping Create a mapping between two accounts

      201 - Created

      Parameters:
      createMappingRequest - The createMappingRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      Mapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createMappingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> createMappingWithHttpInfo(@Nonnull CreateMappingRequest createMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Mapping Create a mapping between two accounts

      201 - Created

      Parameters:
      createMappingRequest - The createMappingRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createMappingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createMappingWithResponseSpec(@Nonnull CreateMappingRequest createMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Mapping Create a mapping between two accounts

      201 - Created

      Parameters:
      createMappingRequest - The createMappingRequest 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
    • loadMapping

      public reactor.core.publisher.Mono<Mapping> loadMapping(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Mapping Show a specific mapping contract

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      Mapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadMappingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> loadMappingWithHttpInfo(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Mapping Show a specific mapping contract

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadMappingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec loadMappingWithResponseSpec(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Mapping Show a specific mapping contract

      200 - OK

      Parameters:
      id - The id 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
    • loadMappingByExternalIdentifier

      public reactor.core.publisher.Mono<Mapping> loadMappingByExternalIdentifier(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show External Mapping Show a specific mapping contract by external identifier

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      Mapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadMappingByExternalIdentifierWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> loadMappingByExternalIdentifierWithHttpInfo(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show External Mapping Show a specific mapping contract by external identifier

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadMappingByExternalIdentifierWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec loadMappingByExternalIdentifierWithResponseSpec(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show External Mapping Show a specific mapping contract by external identifier

      200 - OK

      Parameters:
      id - The id 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
    • loadMappings

      public reactor.core.publisher.Flux<Mapping> loadMappings(@Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Mappings List all mappings

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadMappingsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Mapping>>> loadMappingsWithHttpInfo(@Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Mappings List all mappings

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<Mapping>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadMappingsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec loadMappingsWithResponseSpec(@Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Mappings List all mappings

      200 - OK

      Parameters:
      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
    • removeMapping

      public reactor.core.publisher.Mono<Mapping> removeMapping(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Mapping Delete a specific mapping contract

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      Mapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMappingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> removeMappingWithHttpInfo(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Mapping Delete a specific mapping contract

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMappingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMappingWithResponseSpec(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Mapping Delete a specific mapping contract

      200 - OK

      Parameters:
      id - The id 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
    • removeMappingByExternalIdentifier

      public reactor.core.publisher.Mono<Mapping> removeMappingByExternalIdentifier(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete External Mapping Delete a specific mapping contract based on its external identifier

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      Mapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMappingByExternalIdentifierWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> removeMappingByExternalIdentifierWithHttpInfo(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete External Mapping Delete a specific mapping contract based on its external identifier

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMappingByExternalIdentifierWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMappingByExternalIdentifierWithResponseSpec(@Nonnull String id, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete External Mapping Delete a specific mapping contract based on its external identifier

      200 - OK

      Parameters:
      id - The id 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
    • updateMapping

      public reactor.core.publisher.Mono<Mapping> updateMapping(@Nonnull String id, @Nonnull UpdateMappingRequest updateMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Mapping Update a mapping name only

      200 - OK

      Parameters:
      id - The id parameter
      updateMappingRequest - The updateMappingRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      Mapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMappingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> updateMappingWithHttpInfo(@Nonnull String id, @Nonnull UpdateMappingRequest updateMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Mapping Update a mapping name only

      200 - OK

      Parameters:
      id - The id parameter
      updateMappingRequest - The updateMappingRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMappingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateMappingWithResponseSpec(@Nonnull String id, @Nonnull UpdateMappingRequest updateMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Mapping Update a mapping name only

      200 - OK

      Parameters:
      id - The id parameter
      updateMappingRequest - The updateMappingRequest 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
    • updateMappingByExternalIdentifier

      public reactor.core.publisher.Mono<Mapping> updateMappingByExternalIdentifier(@Nonnull String id, @Nonnull UpdateMappingRequest updateMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update External Mapping Update a mapping name only

      200 - OK

      Parameters:
      id - The id parameter
      updateMappingRequest - The updateMappingRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      Mapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMappingByExternalIdentifierWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> updateMappingByExternalIdentifierWithHttpInfo(@Nonnull String id, @Nonnull UpdateMappingRequest updateMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update External Mapping Update a mapping name only

      200 - OK

      Parameters:
      id - The id parameter
      updateMappingRequest - The updateMappingRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<Mapping>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMappingByExternalIdentifierWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateMappingByExternalIdentifierWithResponseSpec(@Nonnull String id, @Nonnull UpdateMappingRequest updateMappingRequest, @Nullable String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update External Mapping Update a mapping name only

      200 - OK

      Parameters:
      id - The id parameter
      updateMappingRequest - The updateMappingRequest 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