Cancels the invoicing of the movements received.
Cancels the invoicing of the movements received.
true or false depending on the success of the operation
Changes the price of the movements received.
Changes the price of the movements received.
true or false depending on the success of the operation.
Creates an com.atomizesoftware.spin.models.IncidentType.
Creates an com.atomizesoftware.spin.models.IncidentType.
the newly created incident type.
Creates a new movement based on the movement received and the rules defined in the handlers.
Creates a new movement based on the movement received and the rules defined in the handlers.
a Success with the created movement or a Failure with the thrown exception.
Creates a com.atomizesoftware.spin.models.MovementStatus.
the newly created movement status.
Creates a com.atomizesoftware.spin.models.MovementType.
Creates a com.atomizesoftware.spin.models.MovementType.
movement type created
Creates a movement when its movement type didn't match any of those defined in create movement.
Creates a movement when its movement type didn't match any of those defined in create movement.
Success with the new movement if successful, Failure with the exception otherwise.
Invoices the received movements.
Invoices the received movements.
true or false depending on the success of the operation
Invoices all the movements that correspond to the search parameters.
Invoices all the movements that correspond to the search parameters.
true or false depending on the success of the operation
Verifies if the conditions to lock a movement are met and locks it, or not.
Verifies if the conditions to lock a movement are met and locks it, or not.
a Movement if the lock operation was successful, None otherwise
Checks if the provided movements all exist and if they weren't already invoiced.
Checks if the provided movements all exist and if they weren't already invoiced.
a list of the movements to change
if one or more of the movements don't exist or if one of them was already invoiced
Unlocks a movement so other users can execute it.
Unlocks a movement so other users can execute it.
true if successful, false otherwise
Updates a com.atomizesoftware.spin.models.IncidentType.
Updates a com.atomizesoftware.spin.models.IncidentType.
to update
true if incident type was updated, false otherwise.
Updates a movement using the movement repository.
Updates a com.atomizesoftware.spin.models.MovementStatus.
to update
true if movement status was updated, false otherwise
Updates a com.atomizesoftware.spin.models.MovementType.
Updates a com.atomizesoftware.spin.models.MovementType.
to update
true if movement type was updated, false otherwise
Updates a several movements using the movement repository.