Class AccountMappingsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-09-09T10:13:04.222556669+07:00[Asia/Bangkok]") public class AccountMappingsApi extends Object
  • Constructor Details

    • AccountMappingsApi

      public AccountMappingsApi()
    • AccountMappingsApi

      @Autowired public AccountMappingsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createAccountMapping

      public reactor.core.publisher.Mono<Mapping> createAccountMapping(String accountIdentifier, CreateAccountMappingRequest createAccountMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Account Mapping Create a mapping between a local account and a remote account.

      201 - Created

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      createAccountMappingRequest - The createAccountMappingRequest 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
    • createAccountMappingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> createAccountMappingWithHttpInfo(String accountIdentifier, CreateAccountMappingRequest createAccountMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Account Mapping Create a mapping between a local account and a remote account.

      201 - Created

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      createAccountMappingRequest - The createAccountMappingRequest 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
    • createAccountMappingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createAccountMappingWithResponseSpec(String accountIdentifier, CreateAccountMappingRequest createAccountMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Account Mapping Create a mapping between a local account and a remote account.

      201 - Created

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      createAccountMappingRequest - The createAccountMappingRequest 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
    • loadAccountMapping

      public reactor.core.publisher.Mono<Mapping> loadAccountMapping(String accountIdentifier, String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account Mapping Show a specific mapping by account and mapping identifier

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      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
    • loadAccountMappingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> loadAccountMappingWithHttpInfo(String accountIdentifier, String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account Mapping Show a specific mapping by account and mapping identifier

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      id - The id 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
    • loadAccountMappingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec loadAccountMappingWithResponseSpec(String accountIdentifier, String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account Mapping Show a specific mapping by account and mapping identifier

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      id - The id 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
    • loadAccountMappingGrid

      public reactor.core.publisher.Mono<PageMapping> loadAccountMappingGrid(String accountIdentifier, State state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account Mappings List all mappings belonging to a specific account.

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      state - The state parameter
      winkVersion - The winkVersion parameter
      Returns:
      PageMapping
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadAccountMappingGridWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageMapping>> loadAccountMappingGridWithHttpInfo(String accountIdentifier, State state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account Mappings List all mappings belonging to a specific account.

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec loadAccountMappingGridWithResponseSpec(String accountIdentifier, State state, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account Mappings List all mappings belonging to a specific account.

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      state - The state 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
    • removeAccountMapping

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeAccountMapping(String accountIdentifier, String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Account Mapping Delete a specific mapping owned by account identifier.

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeAccountMappingWithHttpInfo(String accountIdentifier, String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Account Mapping Delete a specific mapping owned by account identifier.

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeAccountMappingWithResponseSpec(String accountIdentifier, String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Account Mapping Delete a specific mapping owned by account identifier.

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      id - The id 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
    • updateAccountMapping

      public reactor.core.publisher.Mono<Mapping> updateAccountMapping(String accountIdentifier, String id, UpdateAccountMappingRequest updateAccountMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Account Mapping Update an existing mapping owned by account identifier.

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      id - The id parameter
      updateAccountMappingRequest - The updateAccountMappingRequest 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
    • updateAccountMappingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Mapping>> updateAccountMappingWithHttpInfo(String accountIdentifier, String id, UpdateAccountMappingRequest updateAccountMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Account Mapping Update an existing mapping owned by account identifier.

      200 - OK

      Parameters:
      accountIdentifier - The accountIdentifier parameter
      id - The id parameter
      updateAccountMappingRequest - The updateAccountMappingRequest 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
    • updateAccountMappingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateAccountMappingWithResponseSpec(String accountIdentifier, String id, UpdateAccountMappingRequest updateAccountMappingRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Account Mapping Update an existing mapping owned by account identifier.

      200 - OK

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