code_corps v0.0.1 CodeCorps.StripeService.StripeInvoiceService View Source

Link to this section Summary

Link to this section Functions

Link to this function create(invoice_id_from_stripe, customer_id_from_stripe) View Source
create(binary(), binary()) ::
  {:ok, %CodeCorps.StripeInvoice{ending_balance: term(), tax: term(), subtotal: term(), id: term(), webhooks_delievered_at: term(), inserted_at: term(), forgiven: term(), period_end: term(), customer_id_from_stripe: term(), application_fee: term(), tax_percent: term(), attempt_count: term(), attempted: term(), user: term(), subscription_proration_date: term(), updated_at: term(), next_payment_attempt: term(), closed: term(), period_start: term(), stripe_connect_subscription: term(), statement_descriptor: term(), receipt_number: term(), __meta__: term(), charge_id_from_stripe: term(), user_id: term(), date: term(), amount_due: term(), id_from_stripe: term(), starting_balance: term(), stripe_connect_subscription_id: term(), subscription_id_from_stripe: term(), currency: term(), total: term(), paid: term(), description: term()}} |
  {:error, %Ecto.Changeset{action: term(), changes: term(), constraints: term(), data: term(), empty_values: term(), errors: term(), filters: term(), params: term(), prepare: term(), repo: term(), repo_opts: term(), required: term(), types: term(), valid?: term(), validations: term()}}