code_corps v0.0.1 CodeCorps.StripeService.StripeConnectPlanService View Source
Used to perform actions on StripeConnectPlan records
while at the same time propagating to and from associated Stripe.Plan
records.
Link to this section Summary
Functions
Creates a new Stripe.Plan record on Stripe API, as well as an associated local
StripeConnectPlan record
Link to this section Functions
Link to this function
create(attributes)
View Source
create(map()) ::
{:ok, CodeCorps.StripeConnectPlan.t()} |
{:error, Ecto.Changeset.t()} |
{:error, Stripe.Error.t()} |
{:error, :project_not_ready} |
{:error, :not_found}
Creates a new Stripe.Plan record on Stripe API, as well as an associated local
StripeConnectPlan record