Recurrent Transfers
useRecurrentTransfer
Functionality
Save the information the user provides to schedule a recurring transfer
Return Object
Object Property | Type | Description |
---|---|---|
recurrentTransferValues | RecurrentTransfer state | Save the information the user provides to schedule a recurring transfer |
updateRecurrentTransfer | Function | Function that updates the values that the user selects to schedule a recurring transfer |
isDisabledRecurrentTransfer | Function boolean | Function that returns a boolean to determine that the fields were completed |
useRecurrentTransferById
Functionality
Obtain the detail of a scheduled transfer and the detail of a transfer that is about to be executed
Return Const
Const Property | Type | Description |
---|---|---|
fetchRecurrentTransferById | Function | Obtains the information of a transfer by the id |
recurrentTransferData | GetRecurrentTransferDetails state | State where the information of a transfer obtained is stored |
recurrentTransferDataLoading | boolean state | Boolean that determines the time in which the request is made |
getRecurrentTransferSuccess | boolean state | Boolean that determines the success when requesting the information of a recurrent transfer |
fetchRecurrentTransferJobById | Function | Obtains the information of an upcoming transfer by id |
recurrentTransferJobData | GetRecurrentTransferDetails state | State where the information of an upcoming transfer obtained is stored |
useRecurrentTransferScreen
Functionality
Obtains the information of the last three scheduled transfers
Const Property | Type | Description |
---|---|---|
fetchRecurrentTransfers | Function | Function that obtains a certain number of the last scheduled transfers |
recurrentTransferData | RecurringTransfer[] state | Array containing the elements obtained with function |
recurrentTransferDataLoading | boolean state | Boolean that determines the time in which the request is made |
useScheduleTransfer
Functionality
Schedule a recurring transfer according to type
Const Property | Type | Description |
---|---|---|
onPressScheduleTransfer | Function | Function that schedules a recurring transfer |
sendTransferIsLoading | boolean state | State that determines the charging time when programming the transfer |
sendTransferSuccess | boolean state | Estate that determines success or failure when scheduling a recurring transfer |
useUpdateRecurrentTransfer
Last updated