Class Class03DedicatedCashWallet2StepsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDedicatedCashWallet(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> createDedicatedCashWalletWithHttpInfo(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.web.client.RestClient.ResponseSpeccreateDedicatedCashWalletWithResponseSpec(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.getDedicatedCashWalletDraftById(String ncb, String id) 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.7org.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.7org.springframework.web.client.RestClient.ResponseSpecRetrieve 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.7voidsetApiClient(ApiClient apiClient) 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> updateDedicatedCashWalletDraftStatusWithHttpInfo(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.web.client.RestClient.ResponseSpecupdateDedicatedCashWalletDraftStatusWithResponseSpec(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.
-
Constructor Details
-
Class03DedicatedCashWallet2StepsApi
public Class03DedicatedCashWallet2StepsApi() -
Class03DedicatedCashWallet2StepsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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.7201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameaccountmanagementCreateWallet- 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.7201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameaccountmanagementCreateWallet- 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.7201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
409 - Conflict
500 - Internal Server Error
- Parameters:
ncb- NCB Short NameaccountmanagementCreateWallet- 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.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- 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.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- 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.7200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- 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.7200 - Wallet Draft Updated Successfully
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Wallet Draft IDstatus- Wallet Draft StatusaccountmanagementCreateWalletResponse- 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.7200 - Wallet Draft Updated Successfully
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Wallet Draft IDstatus- Wallet Draft StatusaccountmanagementCreateWalletResponse- 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.7200 - Wallet Draft Updated Successfully
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Wallet Draft IDstatus- Wallet Draft StatusaccountmanagementCreateWalletResponse- Update Wallet Draft- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-