Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.4 KB

PaymentMethodSchema.md

File metadata and controls

31 lines (22 loc) · 1.4 KB

PaymentMethodSchema

Properties

Name Type Description Notes
type PaymentMethodTypeSchema
sdk_token str SDK token (cbpm1_*) generated by the Cloudbeds Payment SDK. Required when type is 'sdk_token'. [optional]
payment_method_id UUID A stored payment method, as a UUID. Either a Cloudbeds permanent card token issued by POST /vault/v1/tokens/card, or the paymentMethodId returned in a previous response from this endpoint. Required when type is 'payment_method_id'. [optional]

Example

from cloudbeds_pms.models.payment_method_schema import PaymentMethodSchema

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

# convert the object into a dict
payment_method_schema_dict = payment_method_schema_instance.to_dict()
# create an instance of PaymentMethodSchema from a dict
payment_method_schema_from_dict = PaymentMethodSchema.from_dict(payment_method_schema_dict)

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