square_api_client/models/
update_invoice_response.rs

1//! Response body struct for the Update Invoice API
2
3use serde::Deserialize;
4
5use super::{errors::Error, Invoice};
6
7/// This is a model struct for UpdateInvoiceResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct UpdateInvoiceResponse {
10    /// The updated invoice.
11    pub invoice: Invoice,
12    /// Information about errors encountered during the request.
13    pub errors: Option<Vec<Error>>,
14}