square_rust/api/models/response/create_customer/versions/
v20230925.rs

1//! Models for responses from the create_customer endpoint.
2
3use serde::{Deserialize, Serialize};
4
5use crate::api::models::objects::customer::Customer;
6use crate::api::models::objects::error::SquareError;
7
8/// CreateCustomerResponse for 2023-09-25 api version
9#[derive(Debug, Clone, Serialize, Deserialize)]
10pub struct CreateCustomerResponseV20230925 {
11    errors: Option<Vec<SquareError>>,
12    customer: Option<Customer>,
13}