ex_cart
v1.0.0

      View Source ExCart.Server (ex_cart v1.0.0)

      Summary

      Functions

      add_adjustment(pid, adjustment)
      add_item(pid, item)
      child_spec(init_arg)

      Returns a specification to start this module under a supervisor.

      clear(pid)
      clear_adjustments(pid)
      clear_items(pid)
      init(_)

      Callback implementation for GenServer.init/1.

      remove_adjustment(pid, adjustment)
      start_link()
      state(pid)
      subtotal(pid)
      total(pid)

      Functions

      Link to this function

      add_adjustment(pid, adjustment)

      View Source
      Link to this function

      add_item(pid, item)

      View Source
      Link to this function

      child_spec(init_arg)

      View Source

      Returns a specification to start this module under a supervisor.

      See Supervisor.

      Link to this function

      clear(pid)

      View Source
      Link to this function

      clear_adjustments(pid)

      View Source
      Link to this function

      clear_items(pid)

      View Source
      Link to this function

      init(_)

      View Source

      Callback implementation for GenServer.init/1.

      Link to this function

      remove_adjustment(pid, adjustment)

      View Source
      Link to this function

      start_link()

      View Source
      Link to this function

      state(pid)

      View Source
      Link to this function

      subtotal(pid)

      View Source
      Link to this function

      total(pid)

      View Source

      Hex Package Hex Preview (current file) Download ePub version

      Built using ExDoc (v0.30.9) for the Elixir programming language