<!--
This file was generated by Spark. Do not edit it by hand.
-->
# AshBilling.Subscription

A Spark DSL extension for Ash resources storing subscriptions in the database.

## Usage

    defmodule MyApp.Billing.Subscription do
      use Ash.Resource,
        domain: MyApp.Billing,
        extensions: [AshBilling.Subscription]

      billing_subscription do
        customer_relationship :user
        provider AshBilling.Providers.Stripe
      end
    end


## billing_subscription
Configuration for billing subscription resources.






### Options

| Name | Type | Default | Docs |
|------|------|---------|------|
| [`provider`](#billing_subscription-provider){: #billing_subscription-provider } | `module` | `AshBilling.Providers.Stripe` | The billing provider module. |
| [`customer_relationship`](#billing_subscription-customer_relationship){: #billing_subscription-customer_relationship } | `atom` |  | The relationship linking to the customer resource. |







<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>
