square_api_client/models/update_customer_group_response.rs
1//! Response body struct for the Update Customer Group API
2
3use serde::Deserialize;
4
5use super::{errors::Error, CustomerGroup};
6
7/// This is a model struct for UpdateCustomerGroupResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct UpdateCustomerGroupResponse {
10 /// Any errors that occurred during the request.
11 pub errors: Option<Vec<Error>>,
12 /// The successfully updated customer group.
13 pub group: CustomerGroup,
14}