Class MappingApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-18T09:25:43.445028683+07:00[Asia/Bangkok]") 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(CreateMappingRequest createMappingRequest, 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(CreateMappingRequest createMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • loadMapping

      public reactor.core.publisher.Mono<Mapping> loadMapping(String id, String winkVersion) 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
      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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • loadMappingByExternalIdentifier

      public reactor.core.publisher.Mono<Mapping> loadMappingByExternalIdentifier(String id, String winkVersion) 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
      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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • loadMappings

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

      200 - OK

      Parameters:
      winkVersion - The winkVersion 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(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeMapping

      public reactor.core.publisher.Mono<Mapping> removeMapping(String id, String winkVersion) 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
      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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeMappingByExternalIdentifier

      public reactor.core.publisher.Mono<Mapping> removeMappingByExternalIdentifier(String id, String winkVersion) 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
      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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateMapping

      public reactor.core.publisher.Mono<Mapping> updateMapping(String id, UpdateMappingRequest updateMappingRequest, 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(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateMappingByExternalIdentifier

      public reactor.core.publisher.Mono<Mapping> updateMappingByExternalIdentifier(String id, UpdateMappingRequest updateMappingRequest, 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(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException