Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2 KB

SubscriptionBalanceDto.md

File metadata and controls

37 lines (29 loc) · 2 KB

SubscriptionBalanceDto

The information about the current subscription and its unused balance.

Properties

Name Type Description Notes
total_cost float The total cost of the current billing period (the sum across all subscription items). [optional]
currency str The three-character ISO 4217 currency symbol of the subscription. [optional]
period_start datetime The start of the current billing period. [optional]
period_end datetime The end of the current billing period. [optional]
period_used_until datetime The boundary of the used part of the period (the moment of the request). [optional]
days_elapsed int The number of days elapsed since the start of the period (inclusive). [optional]
remaining_balance float The unused balance of the subscription, in the subscription currency. [optional]
remaining_balance_in_wallet_currency float The unused balance of the subscription, converted to the wallet currency. [optional]
wallet_currency str The three-character ISO 4217 currency symbol of the wallet. [optional]

Example

from docspace_api_sdk.models.subscription_balance_dto import SubscriptionBalanceDto

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

# convert the object into a dict
subscription_balance_dto_dict = subscription_balance_dto_instance.to_dict()
# create an instance of SubscriptionBalanceDto from a dict
subscription_balance_dto_from_dict = SubscriptionBalanceDto.from_dict(subscription_balance_dto_dict)

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