Package io.trippay.sdk.payment.api
Class MappingApi
java.lang.Object
io.trippay.sdk.payment.api.MappingApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-08T09:18:59.196133021+07:00[Asia/Bangkok]")
public class MappingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Mapping> createMapping(CreateMappingRequest createMappingRequest, String winkVersion) Create Mapping Create a mapping between two accountsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> createMappingWithHttpInfo(CreateMappingRequest createMappingRequest, String winkVersion) Create Mapping Create a mapping between two accountsorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateMappingWithResponseSpec(CreateMappingRequest createMappingRequest, String winkVersion) Create Mapping Create a mapping between two accountsreactor.core.publisher.Mono<Mapping> loadMapping(String id, String winkVersion) Show Mapping Show a specific mapping contractreactor.core.publisher.Mono<Mapping> loadMappingByExternalIdentifier(String id, String winkVersion) Show External Mapping Show a specific mapping contract by external identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> loadMappingByExternalIdentifierWithHttpInfo(String id, String winkVersion) Show External Mapping Show a specific mapping contract by external identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecloadMappingByExternalIdentifierWithResponseSpec(String id, String winkVersion) Show External Mapping Show a specific mapping contract by external identifierreactor.core.publisher.Flux<Mapping> loadMappings(String winkVersion) Show Mappings List all mappingsloadMappingsWithHttpInfo(String winkVersion) Show Mappings List all mappingsorg.springframework.web.reactive.function.client.WebClient.ResponseSpecloadMappingsWithResponseSpec(String winkVersion) Show Mappings List all mappingsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> loadMappingWithHttpInfo(String id, String winkVersion) Show Mapping Show a specific mapping contractorg.springframework.web.reactive.function.client.WebClient.ResponseSpecloadMappingWithResponseSpec(String id, String winkVersion) Show Mapping Show a specific mapping contractreactor.core.publisher.Mono<Mapping> removeMapping(String id, String winkVersion) Delete Mapping Delete a specific mapping contractreactor.core.publisher.Mono<Mapping> removeMappingByExternalIdentifier(String id, String winkVersion) Delete External Mapping Delete a specific mapping contract based on its external identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> removeMappingByExternalIdentifierWithHttpInfo(String id, String winkVersion) Delete External Mapping Delete a specific mapping contract based on its external identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecremoveMappingByExternalIdentifierWithResponseSpec(String id, String winkVersion) Delete External Mapping Delete a specific mapping contract based on its external identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> removeMappingWithHttpInfo(String id, String winkVersion) Delete Mapping Delete a specific mapping contractorg.springframework.web.reactive.function.client.WebClient.ResponseSpecremoveMappingWithResponseSpec(String id, String winkVersion) Delete Mapping Delete a specific mapping contractvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<Mapping> updateMapping(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) Update Mapping Update a mapping name onlyreactor.core.publisher.Mono<Mapping> updateMappingByExternalIdentifier(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) Update External Mapping Update a mapping name onlyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> updateMappingByExternalIdentifierWithHttpInfo(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) Update External Mapping Update a mapping name onlyorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateMappingByExternalIdentifierWithResponseSpec(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) Update External Mapping Update a mapping name onlyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> updateMappingWithHttpInfo(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) Update Mapping Update a mapping name onlyorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateMappingWithResponseSpec(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) Update Mapping Update a mapping name only
-
Constructor Details
-
MappingApi
public MappingApi() -
MappingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 accounts201 - Created
- Parameters:
createMappingRequest- The createMappingRequest parameterwinkVersion- 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 Create Mapping Create a mapping between two accounts201 - Created
- Parameters:
createMappingRequest- The createMappingRequest parameterwinkVersion- 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(CreateMappingRequest createMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Mapping Create a mapping between two accounts201 - Created
- Parameters:
createMappingRequest- The createMappingRequest parameterwinkVersion- 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Mapping Show a specific mapping contract200 - OK
- Parameters:
id- The id parameterwinkVersion- 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 Show Mapping Show a specific mapping contract200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Mapping Show a specific mapping contract200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show External Mapping Show a specific mapping contract by external identifier200 - OK
- Parameters:
id- The id parameterwinkVersion- 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 Show External Mapping Show a specific mapping contract by external identifier200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show External Mapping Show a specific mapping contract by external identifier200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Mappings List all mappings200 - 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 Show Mappings List all mappings200 - OK
- Parameters:
winkVersion- The winkVersion 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(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Mappings List all mappings200 - OK
- Parameters:
winkVersion- The winkVersion 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Mapping Delete a specific mapping contract200 - OK
- Parameters:
id- The id parameterwinkVersion- 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 Delete Mapping Delete a specific mapping contract200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Mapping Delete a specific mapping contract200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete External Mapping Delete a specific mapping contract based on its external identifier200 - OK
- Parameters:
id- The id parameterwinkVersion- 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 Delete External Mapping Delete a specific mapping contract based on its external identifier200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete External Mapping Delete a specific mapping contract based on its external identifier200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion 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(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest parameterwinkVersion- 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 Update Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest parameterwinkVersion- 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(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest parameterwinkVersion- 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(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update External Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest parameterwinkVersion- 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 Update External Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest parameterwinkVersion- 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(String id, UpdateMappingRequest updateMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update External Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-