square_api_client/models/create_customer_group_request.rs
1//! Request body struct for the Create Customer Group API
2
3/// This is a model struct for CreateCustomerGroupRequest type
4use serde::Serialize;
5
6use super::CustomerGroup;
7
8#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
9pub struct CreateCustomerGroupRequest {
10 /// The idempotency key for the request. For more information, see
11 /// [Idempotency](https://developer.squareup.com/docs/working-with-apis/idempotency).
12 pub idempotency_key: Option<String>,
13 /// The customer group to create.
14 pub group: CustomerGroup,
15}