View Source Chargebeex.Item (chargebeex v0.1.0)
Struct that represent a Chargebee's API item resource.
Link to this section Summary
Types
"web" | "app_store" | "play_store"
"all" | "restricted"
"active" | "archived" | "deleted"
"plan" | "addon" | "charge"
"sum_of_usages" | "last_usage" | "max_usage"
Functions
Callback implementation for Chargebeex.Resource.build/1
.
Callback implementation for Chargebeex.Resource.create/1
.
Callback implementation for Chargebeex.Resource.delete/1
.
Callback implementation for Chargebeex.Resource.list/1
.
Callback implementation for Chargebeex.Resource.retrieve/1
.
Callback implementation for Chargebeex.Resource.update/2
.
Link to this section Types
@type channel() :: String.t()
"web" | "app_store" | "play_store"
@type item_applicability() :: String.t()
"all" | "restricted"
@type status() :: String.t()
"active" | "archived" | "deleted"
@type t() :: %Chargebeex.Item{ applicable_items: [%{id: String.t()}], archived_at: non_neg_integer() | nil, channel: channel() | nil, description: String.t() | nil, enabled_for_checkout: boolean(), enabled_in_portal: boolean(), external_name: String.t() | nil, gift_claim_redirect_url: String.t() | nil, id: String.t(), included_in_mrr: boolean() | nil, is_giftable: boolean(), is_shippable: boolean(), item_applicability: item_applicability() | nil, item_family_id: String.t() | nil, metadata: %{} | nil, metered: boolean(), name: String.t(), redirect_url: String.t() | nil, resource_version: non_neg_integer() | nil, status: status() | nil, type: type() | nil, unit: String.t() | nil, updated_at: non_neg_integer() | nil, usage_calculation: usage_calculation() | nil }
@type type() :: String.t()
"plan" | "addon" | "charge"
@type usage_calculation() :: String.t()
"sum_of_usages" | "last_usage" | "max_usage"
Link to this section Functions
Callback implementation for Chargebeex.Resource.build/1
.
Callback implementation for Chargebeex.Resource.create/1
.
Callback implementation for Chargebeex.Resource.delete/1
.
Callback implementation for Chargebeex.Resource.list/1
.
Callback implementation for Chargebeex.Resource.retrieve/1
.
Callback implementation for Chargebeex.Resource.update/2
.