square_api_client/models/
update_subscription_response.rs

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