square_api_client/models/create_customer_response.rs
1//! Model struct for CreateCustomerResponse type
2
3/// This is a model struct for CreateCustomerResponse type
4use serde::Deserialize;
5
6use super::errors::Error;
7use super::Customer;
8
9#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
10pub struct CreateCustomerResponse {
11 /// Any errors that occurred during the request.
12 pub errors: Option<Vec<Error>>,
13 /// Represents a Square customer profile in the Customer Directory of a Square seller.
14 pub customer: Customer,
15}