Skip to content

SplitPortion

Source code in docs_src/capo_billing/types/split_portion.py
class SplitPortion(TypedDict, closed=True):
    amount: "capo_billing.types.decimal_amount_string.DecimalAmountString"
    """<p>The amount of the new credit, in the currency of the credit that you split. The amount must be at least 100.00 in that currency. For example, if the credit is in USD, the amount must be at least USD $100.00.</p>"""
    description: NotRequired["str"]
    """<p>The description of the new credit. If you omit it, the new credit gets the original credit's description followed by its position in the request, for example <code>MAP credit - 1/3</code>. If you split that credit again, the name extends, for example <code>MAP credit - 1/3 - 2/2</code>. A generated name is at most 93 characters. If it would be longer, the name keeps only the beginning of the original description.</p>"""

amount instance-attribute

The amount of the new credit, in the currency of the credit that you split. The amount must be at least 100.00 in that currency. For example, if the credit is in USD, the amount must be at least USD $100.00.

description instance-attribute

description: NotRequired[str]

The description of the new credit. If you omit it, the new credit gets the original credit's description followed by its position in the request, for example MAP credit - 1/3. If you split that credit again, the name extends, for example MAP credit - 1/3 - 2/2. A generated name is at most 93 characters. If it would be longer, the name keeps only the beginning of the original description.