The Entities resource: read-only access to the legal business entities under a Ramp account (relevant for multi-entity businesses).
Summary
Functions
Returns a lazily auto-paginating Stream of Ramp.Entities.Entitys.
Fetches a single page of entities. See Ramp.Page.
Types
@type list_opt() :: {:start, String.t()} | {:page_size, pos_integer()}
Functions
@spec list(Ramp.Client.t(), [list_opt()]) :: Enumerable.t(Ramp.Entities.Entity.t())
Returns a lazily auto-paginating Stream of Ramp.Entities.Entitys.
@spec list_page(Ramp.Client.t(), [list_opt()]) :: {:ok, Ramp.Page.t(Ramp.Entities.Entity.t())} | {:error, Ramp.Error.t()}
Fetches a single page of entities. See Ramp.Page.