Payment-specific fields. Only present on transactions where internalCodeGroup=PAYMENT. Enriched via batch PaymentService lookup.
| Name | Type | Description | Notes |
|---|---|---|---|
| transaction_type | str | Payment processing transaction type | [optional] |
| payment_method | str | Payment method code (e.g. "cash", "cards", "terminal", "ebanking", "pay_pal", "oxxo") | [optional] |
| gateway | str | Payment gateway identifier (e.g. "StripeConnectGateway", "AdyenGateway") | [optional] |
| credit_card_type | str | Card brand code (e.g. "visa", "master", "amex") | [optional] |
| card_trailing_digits | str | Last 4 digits of the card number | [optional] |
| amount_paid | float | Total captured/paid amount | [optional] |
| amount_refunded | float | Total refunded amount | [optional] |
| processing_status | str | Payment processing status (for scheduled payments) | [optional] |
from cloudbeds_accounting.models.payment_details import PaymentDetails
# TODO update the JSON string below
json = "{}"
# create an instance of PaymentDetails from a JSON string
payment_details_instance = PaymentDetails.from_json(json)
# print the JSON string representation of the object
print(PaymentDetails.to_json())
# convert the object into a dict
payment_details_dict = payment_details_instance.to_dict()
# create an instance of PaymentDetails from a dict
payment_details_from_dict = PaymentDetails.from_dict(payment_details_dict)