code_corps v0.0.1 CodeCorps.StripeConnectPlan View Source

Represents a Plan object created using the Stripe API

Fields

  • amount - A positive integer, the amount in cents to be charged for this plan
  • created - A timestamp, indicating when the plan was created by Stripe
  • id_from_stripe - Stripe’s id
  • name - A friendly display name for the plan

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %CodeCorps.StripeConnectPlan{__meta__: term(), amount: term(), created: term(), id: term(), id_from_stripe: term(), inserted_at: term(), name: term(), project: term(), project_id: term(), updated_at: term()}

Link to this section Functions

Link to this function create_changeset(struct, params \\ %{}) View Source