Skip to content
Snippets Groups Projects
  1. Sep 07, 2021
  2. Aug 16, 2021
  3. Jul 15, 2021
  4. Jul 13, 2021
  5. May 27, 2021
  6. May 07, 2021
    • Andreas Ellewsen's avatar
      Refactor models and methods for batches · d987abc4
      Andreas Ellewsen authored
      Instead of mixing the Batch model for batches sent *to* with batches
      received *from* SETRA, we switch to using an InputBatch and an
      OutputBatch. The InputBatch contains the fields that can be used when
      sending a Batch (with Vouchers and Transactions), and the OutputBatch
      contains all the information one receives from SETRA when fetching a
      single batch from the batch/ endpoint, or multiple using the search
      functionality.
      
      The get_batch method is reduced to only fetch a single batch, while the
      new search_batches method takes the role of searching based on creation
      date and interface. In addition, the return_list_of_obj parameter is
      removed in favor of the return_objects class attribute.
      
      This commit expects that SETRA includes the id field in Batches.
      d987abc4
  7. Apr 28, 2021
  8. Apr 27, 2021
  9. Apr 26, 2021
  10. Apr 23, 2021
  11. Mar 30, 2021
  12. Mar 29, 2021
  13. Mar 23, 2021
  14. Mar 22, 2021
  15. Mar 15, 2021
  16. Mar 11, 2021
  17. Mar 08, 2021
Loading