Class Class03DedicatedCashWallet2StepsApi

java.lang.Object
net.finmath.smartbonds.pontes.api.Class03DedicatedCashWallet2StepsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class Class03DedicatedCashWallet2StepsApi extends Object
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    createDedicatedCashWallet(String ncb, AccountmanagementCreateWallet accountmanagementCreateWallet)
    Submit Dedicated Cash Wallet Creation Request ## Description Submit a draft request to create a new Dedicated Cash Wallet for the specified Participant identified by its BIC.
    org.springframework.http.ResponseEntity<AccountmanagementCreateWalletResponse>
    Submit Dedicated Cash Wallet Creation Request ## Description Submit a draft request to create a new Dedicated Cash Wallet for the specified Participant identified by its BIC.
    org.springframework.web.client.RestClient.ResponseSpec
    Submit Dedicated Cash Wallet Creation Request ## Description Submit a draft request to create a new Dedicated Cash Wallet for the specified Participant identified by its BIC.
     
    Retrieve Dedicated Cash Wallet Creation Draft by ID ## Description Retrieves a Dedicated Cash Wallet Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Dedicated Cash Wallet Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7
    org.springframework.http.ResponseEntity<AccountmanagementCreateWalletResponse>
    Retrieve Dedicated Cash Wallet Creation Draft by ID ## Description Retrieves a Dedicated Cash Wallet Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Dedicated Cash Wallet Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7
    org.springframework.web.client.RestClient.ResponseSpec
    Retrieve Dedicated Cash Wallet Creation Draft by ID ## Description Retrieves a Dedicated Cash Wallet Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Dedicated Cash Wallet Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7
    void
     
    updateDedicatedCashWalletDraftStatus(String ncb, String id, String status, AccountmanagementCreateWalletResponse accountmanagementCreateWalletResponse)
    Update Dedicated Cash Wallet Creation Draft Status ## Description Submit update of an existing Dedicated Cash Wallet Draft previously created.
    org.springframework.http.ResponseEntity<String>
    Update Dedicated Cash Wallet Creation Draft Status ## Description Submit update of an existing Dedicated Cash Wallet Draft previously created.
    org.springframework.web.client.RestClient.ResponseSpec
    Update Dedicated Cash Wallet Creation Draft Status ## Description Submit update of an existing Dedicated Cash Wallet Draft previously created.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Class03DedicatedCashWallet2StepsApi

      public Class03DedicatedCashWallet2StepsApi()
    • Class03DedicatedCashWallet2StepsApi

      public Class03DedicatedCashWallet2StepsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createDedicatedCashWallet

      public AccountmanagementCreateWalletResponse createDedicatedCashWallet(@Nonnull String ncb, @Nonnull AccountmanagementCreateWallet accountmanagementCreateWallet) throws org.springframework.web.client.RestClientResponseException
      Submit Dedicated Cash Wallet Creation Request ## Description Submit a draft request to create a new Dedicated Cash Wallet for the specified Participant identified by its BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Creation) Separation of Duties: - Initiator and Approver must be two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new Dedicated Cash Wallet Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"isMainWallet\" = Flag Dedicated Cash Wallet to be used by default - \"ownerEntityID\" = Participant BIC - \"t2AccountWalletLinks\" = Link betwen T2 Account Reference and Dedicated Cash Wallet - \"walletAlias\" = Dedicated Cash Wallet Identifier ## Field Rules - \"ownerEntityID\" shall be a DedicatedCashWalletOwner ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7

      201 - Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      accountmanagementCreateWallet - Create wallet
      Returns:
      AccountmanagementCreateWalletResponse
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createDedicatedCashWalletWithHttpInfo

      public org.springframework.http.ResponseEntity<AccountmanagementCreateWalletResponse> createDedicatedCashWalletWithHttpInfo(@Nonnull String ncb, @Nonnull AccountmanagementCreateWallet accountmanagementCreateWallet) throws org.springframework.web.client.RestClientResponseException
      Submit Dedicated Cash Wallet Creation Request ## Description Submit a draft request to create a new Dedicated Cash Wallet for the specified Participant identified by its BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Creation) Separation of Duties: - Initiator and Approver must be two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new Dedicated Cash Wallet Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"isMainWallet\" = Flag Dedicated Cash Wallet to be used by default - \"ownerEntityID\" = Participant BIC - \"t2AccountWalletLinks\" = Link betwen T2 Account Reference and Dedicated Cash Wallet - \"walletAlias\" = Dedicated Cash Wallet Identifier ## Field Rules - \"ownerEntityID\" shall be a DedicatedCashWalletOwner ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7

      201 - Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      accountmanagementCreateWallet - Create wallet
      Returns:
      ResponseEntity<AccountmanagementCreateWalletResponse>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createDedicatedCashWalletWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec createDedicatedCashWalletWithResponseSpec(@Nonnull String ncb, @Nonnull AccountmanagementCreateWallet accountmanagementCreateWallet) throws org.springframework.web.client.RestClientResponseException
      Submit Dedicated Cash Wallet Creation Request ## Description Submit a draft request to create a new Dedicated Cash Wallet for the specified Participant identified by its BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Creation) Separation of Duties: - Initiator and Approver must be two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new Dedicated Cash Wallet Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"isMainWallet\" = Flag Dedicated Cash Wallet to be used by default - \"ownerEntityID\" = Participant BIC - \"t2AccountWalletLinks\" = Link betwen T2 Account Reference and Dedicated Cash Wallet - \"walletAlias\" = Dedicated Cash Wallet Identifier ## Field Rules - \"ownerEntityID\" shall be a DedicatedCashWalletOwner ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7

      201 - Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      accountmanagementCreateWallet - Create wallet
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getDedicatedCashWalletDraftById

      public AccountmanagementCreateWalletResponse getDedicatedCashWalletDraftById(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException
      Retrieve Dedicated Cash Wallet Creation Draft by ID ## Description Retrieves a Dedicated Cash Wallet Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Dedicated Cash Wallet Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Wallet Draft ID
      Returns:
      AccountmanagementCreateWalletResponse
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getDedicatedCashWalletDraftByIdWithHttpInfo

      public org.springframework.http.ResponseEntity<AccountmanagementCreateWalletResponse> getDedicatedCashWalletDraftByIdWithHttpInfo(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException
      Retrieve Dedicated Cash Wallet Creation Draft by ID ## Description Retrieves a Dedicated Cash Wallet Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Dedicated Cash Wallet Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Wallet Draft ID
      Returns:
      ResponseEntity<AccountmanagementCreateWalletResponse>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getDedicatedCashWalletDraftByIdWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec getDedicatedCashWalletDraftByIdWithResponseSpec(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException
      Retrieve Dedicated Cash Wallet Creation Draft by ID ## Description Retrieves a Dedicated Cash Wallet Draft based on its identifier, within the requester's Authorised entity scope. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object shall be in PENDING_APPROVAL status ## Response Semantics - Returns the queried Dedicated Cash Wallet Draft - Draft to be used in subsequent draft status updates (approve | cancel). ## Traceability - Reference Documents: - Service Description Document - Dedicated Cash Wallets - Section 3.4.4.b - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Wallet Draft ID
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateDedicatedCashWalletDraftStatus

      public String updateDedicatedCashWalletDraftStatus(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementCreateWalletResponse accountmanagementCreateWalletResponse) throws org.springframework.web.client.RestClientResponseException
      Update Dedicated Cash Wallet Creation Draft Status ## Description Submit update of an existing Dedicated Cash Wallet Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7

      200 - Wallet Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Wallet Draft ID
      status - Wallet Draft Status
      accountmanagementCreateWalletResponse - Update Wallet Draft
      Returns:
      String
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateDedicatedCashWalletDraftStatusWithHttpInfo

      public org.springframework.http.ResponseEntity<String> updateDedicatedCashWalletDraftStatusWithHttpInfo(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementCreateWalletResponse accountmanagementCreateWalletResponse) throws org.springframework.web.client.RestClientResponseException
      Update Dedicated Cash Wallet Creation Draft Status ## Description Submit update of an existing Dedicated Cash Wallet Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7

      200 - Wallet Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Wallet Draft ID
      status - Wallet Draft Status
      accountmanagementCreateWalletResponse - Update Wallet Draft
      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateDedicatedCashWalletDraftStatusWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec updateDedicatedCashWalletDraftStatusWithResponseSpec(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementCreateWalletResponse accountmanagementCreateWalletResponse) throws org.springframework.web.client.RestClientResponseException
      Update Dedicated Cash Wallet Creation Draft Status ## Description Submit update of an existing Dedicated Cash Wallet Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7

      200 - Wallet Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Wallet Draft ID
      status - Wallet Draft Status
      accountmanagementCreateWalletResponse - Update Wallet Draft
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API