import type * as Square from "../index"; /** * Details about a refund's destination. */ export interface DestinationDetails { /** Details about a card refund. Only populated if the destination_type is `CARD`. */ cardDetails?: Square.DestinationDetailsCardRefundDetails; /** Details about a cash refund. Only populated if the destination_type is `CASH`. */ cashDetails?: Square.DestinationDetailsCashRefundDetails; /** Details about an external refund. Only populated if the destination_type is `EXTERNAL`. */ externalDetails?: Square.DestinationDetailsExternalRefundDetails; }