Search documentation of stripe_elixir

# StripeElixir.Params.PriceCreateParams.CustomUnitAmount (stripe_elixir v0.1.0)

Copy Markdown View Source

Nested parameters.

## Summary

### Types

t()

## Types

# t()

    @type t() :: %StripeElixir.Params.PriceCreateParams.CustomUnitAmount{
      enabled: boolean() | nil,
      maximum: integer() | nil,
      minimum: integer() | nil,
      preset: integer() | nil
    }

- `enabled` - Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`.
- `maximum` - The maximum unit amount the customer can specify for this item.
- `minimum` - The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
- `preset` - The starting unit amount which can be updated by the customer.