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

ProductPriceMeteredUnitCreate

Schema to create a metered price with a fixed unit price.

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.ProductPriceMeteredUnitCreate{
  amount_type: String.t() | nil,
  cap_amount: integer() | nil,
  meter_id: String.t() | nil,
  price_currency: PolarExpress.Schemas.PresentmentCurrency.t() | nil,
  tax_behavior: PolarExpress.Schemas.TaxBehaviorOption.t() | nil,
  unit_amount: float() | String.t() | nil
}
```

* `amount_type`
* `cap_amount` - Optional maximum amount in cents that can be charged, regardless of the number of units consumed. Nullable.
* `meter_id` - The ID of the meter associated to the price. Format: uuid4.
* `price_currency` - The currency in which the customer will be charged.
* `tax_behavior` - The tax behavior of the price. If not set, it will default to the organization's default tax behavior. Nullable.
* `unit_amount` - The price per unit in cents. Supports up to 12 decimal places.

# `schema_name`

---

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