SaaS primary email for the service and notifications
View Source Glific.Partners.Saas (Glific v5.1.6)
Saas is the DB table that holds the various parameters we need to run the service.
Link to this section Summary
Functions
Standard changeset pattern we use for all datat types
Partner API credentials for Guphsup
SaaS organization id to store BQ data under the context of the SaaS org credentials (specifically global stats data)
SaaS Phone to create admin accounts
SaaS primary email for the service and notifications
SaaS stripe ids for billing purpose, convert the string keys to atoms
SaaS tax rates for adding tax to subscription and invoices, convert the string keys to atoms
Link to this section Types
@type t() :: %Glific.Partners.Saas{ __meta__: Ecto.Schema.Metadata.t(), email: String.t() | nil, id: non_neg_integer() | nil, inserted_at: :utc_datetime | nil, isv_credentials: map() | nil, name: String.t() | nil, organization: Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil, organization_id: non_neg_integer() | nil, phone: String.t() | nil, stripe_ids: term(), tax_rates: term(), updated_at: :utc_datetime | nil }
Link to this section Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Standard changeset pattern we use for all datat types
Partner API credentials for Guphsup
@spec organization_id(String.t()) :: non_neg_integer()
SaaS organization id to store BQ data under the context of the SaaS org credentials (specifically global stats data)
SaaS Phone to create admin accounts
SaaS stripe ids for billing purpose, convert the string keys to atoms
SaaS tax rates for adding tax to subscription and invoices, convert the string keys to atoms