Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.19 KB

AddonSchema.md

File metadata and controls

34 lines (25 loc) · 1.19 KB

AddonSchema

Properties

Name Type Description Notes
addon_id str Add-on ID
name str Add-on display name
amount MoneyInputSchema
quantity int Quantity (>= 1)
taxes_and_fees List[TaxFeeConfigSchema] Tax/fee configuration for this addon [optional]
is_default bool Whether this is a default (package) add-on [optional]

Example

from cloudbeds_pms.models.addon_schema import AddonSchema

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

# convert the object into a dict
addon_schema_dict = addon_schema_instance.to_dict()
# create an instance of AddonSchema from a dict
addon_schema_from_dict = AddonSchema.from_dict(addon_schema_dict)

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