Skip to content

CancelBookingResult

Fields

bookingBooking
refundRefund

Deprecated: select refunds instead.

The card refund, when there was one. Null when the cancellation policy returned nothing, and null for a place that cost nothing to begin with.

A refund goes back across every source that funded the order, which is one Refund row per source, so a cancel that also returned store credit reports only the card half of it here. refunds carries every row. This field stays for the shipped native apps that already ask for it.

refunds[Refund!]!

Every Refund row the cancellation wrote — one per funding source, so a place paid half on a card and half from a gift card returns both. Empty when the policy returned nothing, and empty for a place that cost nothing to begin with.

errors[OperationError!]!

Used in