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

:amount :: :integer

The amount discounted.

:discount :: ExOAPI.Stripe.Schemas.Discount

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.LineItemsDiscountAmount{
  amount: integer() | nil,
  discount: ExOAPI.Stripe.Schemas.Discount.t() | nil
}

Link to this section Functions

Link to this function

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

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