Skip to content

Amount

Source code in docs_src/capo_billing/types/amount.py
class Amount(TypedDict, closed=True):
    currency_code: "capo_billing.types.currency_code.CurrencyCode"
    """<p>The ISO 4217 currency code for the amount (for example, <code>USD</code>).</p>"""
    currency_amount: "capo_billing.types.currency_amount.CurrencyAmount"
    """<p>The amount as a decimal string (for example, <code>"743.21"</code>). Negative values represent credits that reduce a bill.</p>"""

currency_amount instance-attribute

currency_amount: CurrencyAmount

The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.

currency_code instance-attribute

currency_code: CurrencyCode

The ISO 4217 currency code for the amount (for example, USD).