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