Nested struct within the parent resource.
Summary
Types
@type t() :: %Stripe.Resources.Invoice.TotalDiscountAmounts{ amount: integer() | nil, discount: String.t() | Stripe.Resources.Discount.t() | nil }
amount- The amount, in cents (or local equivalent), of the discount.discount- The discount that was applied to get this discount amount.