squareup 2.13.0

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Model struct for DestinationDetails type

use crate::models::DestinationDetailsCardRefundDetails;
use serde::{Deserialize, Serialize};

/// Details about a refund's destination.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
pub struct DestinationDetails {
    /// Details about a card refund. Only populated if the destination_type is CARD.
    pub card_details: Option<DestinationDetailsCardRefundDetails>,
}