# `PolarExpress.Schemas.ProductCreateRecurring`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/schemas/product_create_recurring.ex#L2)

ProductCreateRecurring

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.ProductCreateRecurring{
  attached_custom_fields:
    [PolarExpress.Schemas.AttachedCustomFieldCreate.t()] | nil,
  description: String.t() | nil,
  medias: [String.t()] | nil,
  metadata:
    %{
      required(String.t()) =&gt; String.t() | integer() | float() | boolean() | nil
    }
    | nil,
  name: String.t() | nil,
  organization_id: String.t() | nil,
  prices:
    [
      PolarExpress.Schemas.ProductPriceFixedCreate.t()
      | PolarExpress.Schemas.ProductPriceCustomCreate.t()
      | PolarExpress.Schemas.ProductPriceFreeCreate.t()
      | PolarExpress.Schemas.ProductPriceSeatBasedCreate.t()
      | PolarExpress.Schemas.ProductPriceMeteredUnitCreate.t()
    ]
    | nil,
  recurring_interval:
    PolarExpress.Schemas.SubscriptionRecurringInterval.t() | nil,
  recurring_interval_count: integer() | nil,
  trial_interval: PolarExpress.Schemas.TrialInterval.t() | nil,
  trial_interval_count: integer() | nil,
  visibility: PolarExpress.Schemas.ProductVisibility.t() | nil
}
```

* `attached_custom_fields` - List of custom fields to attach.
* `description` - The description of the product. Nullable.
* `medias` - List of file IDs. Each one must be on the same organization as the product, of type `product_media` and correctly uploaded. Nullable.
* `metadata` - Key-value object allowing you to store additional information.

The key must be a string with a maximum length of **40 characters**.
The value must be either:

* A string with a maximum length of **500 characters**
* An integer
* A floating-point number
* A boolean

You can store up to **50 key-value pairs**.
* `name` - The name of the product.
* `organization_id` - The ID of the organization owning the product. **Required unless you use an organization token.** Nullable.
* `prices` - List of available prices for this product. It should contain at most one static price (fixed, custom or free), and any number of metered prices. Metered prices are not supported on one-time purchase products.
* `recurring_interval` - The recurring interval of the product.
* `recurring_interval_count` - Number of interval units of the subscription. If this is set to 1 the charge will happen every interval (e.g. every month), if set to 2 it will be every other month, and so on.
* `trial_interval` - The interval unit for the trial period. Nullable.
* `trial_interval_count` - The number of interval units for the trial period. Nullable.
* `visibility` - The visibility of the product.

# `schema_name`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
