Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.15 KB

DomainListItemSubscription.md

File metadata and controls

45 lines (36 loc) · 2.15 KB

DomainListItemSubscription

Subscription info.

Properties

Name Type Description Notes
renew_action Dict[str, Optional[object]] Renewal action configuration (varies by billing backend).
domain str Domain identifier.
billing_type str Billing type.
billing_backend str Billing backend (stripe, etc.).
billing_id str External billing identifier.
next_bill datetime ISO timestamp of next billing date.
usage_based bool Whether billing is usage-based.
last_usage_bill datetime ISO timestamp of last usage bill.
last_payment_amount float Last payment amount, in cents.
usage_bill_interval_days float Interval in days between usage bills.
usage_billing_threshold_dollars float Dollar threshold that triggers a usage bill.
past_due bool Whether the subscription is past due.
payment_attempts float Number of payment attempts.
last_payment_attempt datetime ISO timestamp of last payment attempt.
created_at datetime ISO timestamp of subscription creation.
updated_at datetime ISO timestamp of last subscription update.

Example

from corellium.models.domain_list_item_subscription import DomainListItemSubscription

# TODO update the JSON string below
json = "{}"
# create an instance of DomainListItemSubscription from a JSON string
domain_list_item_subscription_instance = DomainListItemSubscription.from_json(json)
# print the JSON string representation of the object
print(DomainListItemSubscription.to_json())

# convert the object into a dict
domain_list_item_subscription_dict = domain_list_item_subscription_instance.to_dict()
# create an instance of DomainListItemSubscription from a dict
domain_list_item_subscription_from_dict = DomainListItemSubscription.from_dict(domain_list_item_subscription_dict)

[Back to Model list] [Back to API list] [Back to README]