square_api_client/models/get_payment_refund_response.rs
1//! Model struct for GetPaymentRefundResponse type
2
3use serde::Deserialize;
4
5use super::{errors::Error, PaymentRefund};
6
7/// This is a model struct for GetPaymentRefundResponse type
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct GetPaymentRefundResponse {
10 /// Information about errors encountered during the request.
11 pub errors: Option<Vec<Error>>,
12 /// The requested `PaymentRefund`.
13 pub refund: Option<PaymentRefund>,
14}