squareup 2.13.0

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Model struct for DestinationDetailsCardRefundDetails type

use crate::models::Card;
use crate::models::enums::CardPaymentDetailsEntryMethod;
use serde::{Deserialize, Serialize};

/// Details about a refund's card.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
pub struct DestinationDetailsCardRefundDetails {
    /// The card's non-confidential details.
    pub card: Option<Card>,
    /// The method used to enter the card's details for the refund.
    pub entry_method: Option<CardPaymentDetailsEntryMethod>,
    /// The authorization code provided by the issuer when a refund is approved. Max Length 10
    pub auth_result_code: Option<String>,
}