Ecto schema for the accrue_invoice_coupons redemption link table (D3-16).
Records that a coupon was applied to an invoice and the resulting
discount amount in minor units. This is the redemption ledger — the
accrue_coupons row holds the coupon definition, this row records
application.
Summary
Functions
Builds a changeset for creating an InvoiceCoupon redemption row.
Types
Functions
@spec changeset( %Accrue.Billing.InvoiceCoupon{ __meta__: term(), amount_off_minor: term(), coupon: term(), coupon_id: term(), id: term(), inserted_at: term(), invoice: term(), invoice_id: term() } | Ecto.Changeset.t(), map() ) :: Ecto.Changeset.t()
Builds a changeset for creating an InvoiceCoupon redemption row.