Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.11 KB

SmartPolicyPaymentsResponseSchema.md

File metadata and controls

35 lines (26 loc) · 2.11 KB

SmartPolicyPaymentsResponseSchema

Properties

Name Type Description Notes
scheduled List[SmartPolicyPaymentItemSchema] Smart Policy payments still scheduled for automatic execution, including future authorization holds.
processed List[SmartPolicyPaymentItemSchema] Smart Policy payments already executed: successful purchases and captures, plus active authorization holds.
canceled_scheduled List[SmartPolicyPaymentItemSchema] Formerly scheduled Smart Policy payments that were canceled (e.g. by turning Smart Policy off).
total_scheduled MoneySchema
total_processed MoneySchema
total_canceled_scheduled MoneySchema
smart_policy_enabled bool Whether Smart Policy automation is currently on for the reservation: true while at least one of its rooms still has the policy active, false once it was turned off (or the reservation has no policy rows).

Example

from cloudbeds_pms.models.smart_policy_payments_response_schema import SmartPolicyPaymentsResponseSchema

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

# convert the object into a dict
smart_policy_payments_response_schema_dict = smart_policy_payments_response_schema_instance.to_dict()
# create an instance of SmartPolicyPaymentsResponseSchema from a dict
smart_policy_payments_response_schema_from_dict = SmartPolicyPaymentsResponseSchema.from_dict(smart_policy_payments_response_schema_dict)

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