View Source ExOAPI.Stripe.Schemas.TransformUsage (exoapi_stripe v0.1.4)

:divide_by :: :integer

Divide usage by this number.

:round :: :string

After division, either round the result up or down.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.TransformUsage{
  divide_by: integer() | nil,
  round: (:up | :down) | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()