View Source Chargebeex.QuotedSubscription (chargebeex v0.4.0)

Struct that represent a Chargebee's API quoted subscription.

Summary

Types

@type t() :: %Chargebeex.QuotedSubscription{
  billing_period: non_neg_integer() | nil,
  billing_period_unit: String.t() | nil,
  change_option: String.t() | nil,
  changes_scheduled_at: non_neg_integer() | nil,
  contract_term_billing_cycle_on_renewal: non_neg_integer() | nil,
  coupons: list() | nil,
  discounts: list() | nil,
  remaining_billing_cycles: non_neg_integer() | nil,
  start_date: non_neg_integer() | nil,
  subscription_items: list() | nil,
  trial_end: non_neg_integer() | nil
}

Functions

Link to this function

build(map_or_kwlist, opts \\ [])

View Source
@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Chargebeex.QuotedSubscription{
    billing_period: term(),
    billing_period_unit: term(),
    change_option: term(),
    changes_scheduled_at: term(),
    contract_term_billing_cycle_on_renewal: term(),
    coupons: term(),
    discounts: term(),
    remaining_billing_cycles: term(),
    start_date: term(),
    subscription_items: term(),
    trial_end: term()
  }