Package travel.wink.sdk.payment.api
Class MappingApi
java.lang.Object
travel.wink.sdk.payment.api.MappingApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T21:56:48.173220+07:00[Asia/Bangkok]")
public class MappingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Mapping>createMapping(CreateMappingRequest createMappingRequest) Create Mapping Create a mapping between two accountsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>>createMappingWithHttpInfo(CreateMappingRequest createMappingRequest) reactor.core.publisher.Mono<Mapping>loadMapping(String id, String accept) Show Mapping Show a specific mapping contractreactor.core.publisher.Mono<Mapping>loadMappingByExternalIdentifier(String id, String accept) Show External Mapping Show a specific mapping contract by external identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>>loadMappingByExternalIdentifierWithHttpInfo(String id, String accept) reactor.core.publisher.Flux<Mapping>loadMappings(String accept) Show Mappings List all mappingsloadMappingsWithHttpInfo(String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>>loadMappingWithHttpInfo(String id, String accept) reactor.core.publisher.Mono<Mapping>removeMapping(String id, String accept) Delete Mapping Delete a specific mapping contractreactor.core.publisher.Mono<Mapping>removeMappingByExternalIdentifier(String id, String accept) Delete External Mapping Delete a specific mapping contract based on its external identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>>reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>>removeMappingWithHttpInfo(String id, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<Mapping>updateMapping(String id, UpdateMappingRequest updateMappingRequest) Update Mapping Update a mapping name onlyreactor.core.publisher.Mono<Mapping>updateMappingByExternalIdentifier(String id, UpdateMappingRequest updateMappingRequest) Update External Mapping Update a mapping name onlyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>>updateMappingByExternalIdentifierWithHttpInfo(String id, UpdateMappingRequest updateMappingRequest) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>>updateMappingWithHttpInfo(String id, UpdateMappingRequest updateMappingRequest)
-
Constructor Details
-
MappingApi
public MappingApi() -
MappingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createMapping
public reactor.core.publisher.Mono<Mapping> createMapping(CreateMappingRequest createMappingRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Mapping Create a mapping between two accounts200 - OK
- Parameters:
createMappingRequest- The createMappingRequest 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) 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 accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Mapping Show a specific mapping contract200 - OK
- Parameters:
id- The id parameteraccept- 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(String id, String accept) 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 accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show External Mapping Show a specific mapping contract by external identifier200 - OK
- Parameters:
id- The id parameteraccept- 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(String id, String accept) 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 accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Mappings List all mappings200 - OK
- Parameters:
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(String accept) 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 accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Mapping Delete a specific mapping contract200 - OK
- Parameters:
id- The id parameteraccept- 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(String id, String accept) 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 accept) 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 parameteraccept- 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(String id, String accept) 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) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest 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) 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) throws org.springframework.web.reactive.function.client.WebClientResponseException Update External Mapping Update a mapping name only200 - OK
- Parameters:
id- The id parameterupdateMappingRequest- The updateMappingRequest 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) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-