Struct square_api_client::models::UpdateCustomerRequest
source · [−]pub struct UpdateCustomerRequest {
pub email_address: Option<String>,
pub family_name: Option<String>,
pub given_name: Option<String>,
pub phone_number: Option<String>,
pub address: Option<Address>,
pub birthday: Option<String>,
pub reference_id: Option<String>,
pub tax_ids: Option<CustomerTaxIds>,
}
Expand description
This is a model struct for UpdateOrderRequest type.
Fields
email_address: Option<String>
The email address associated with the customer profile.
family_name: Option<String>
The family name (that is, the last name) associated with the customer profile.
given_name: Option<String>
phone_number: Option<String>
The 11-digit phone number associated with the customer profile.
address: Option<Address>
Represents a postal address in a country. For more information, see Working with Addresses.
birthday: Option<String>
The birthday associated with the customer profile, in RFC 3339 format. The year is optional.
The timezone and time are not allowed. For example, 0000-09-21T00:00:00-00:00
represents a
birthday on September 21 and 1998-09-21T00:00:00-00:00
represents a birthday on September
21, 1998. You can also specify this value in YYYY-MM-DD
format.
reference_id: Option<String>
An optional second ID used to associate the customer profile with an entity in another system.
tax_ids: Option<CustomerTaxIds>
Represents the tax ID associated with a customer profile. The corresponding
tax_ids
field is available only for customers of sellers in EU countries or the United
Kingdom. For more information, see Customer tax
IDs.
Trait Implementations
sourceimpl Clone for UpdateCustomerRequest
impl Clone for UpdateCustomerRequest
sourcefn clone(&self) -> UpdateCustomerRequest
fn clone(&self) -> UpdateCustomerRequest
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for UpdateCustomerRequest
impl Debug for UpdateCustomerRequest
sourceimpl Default for UpdateCustomerRequest
impl Default for UpdateCustomerRequest
sourcefn default() -> UpdateCustomerRequest
fn default() -> UpdateCustomerRequest
sourceimpl PartialEq<UpdateCustomerRequest> for UpdateCustomerRequest
impl PartialEq<UpdateCustomerRequest> for UpdateCustomerRequest
sourcefn eq(&self, other: &UpdateCustomerRequest) -> bool
fn eq(&self, other: &UpdateCustomerRequest) -> bool
sourceimpl Serialize for UpdateCustomerRequest
impl Serialize for UpdateCustomerRequest
impl Eq for UpdateCustomerRequest
impl StructuralEq for UpdateCustomerRequest
impl StructuralPartialEq for UpdateCustomerRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateCustomerRequest
impl Send for UpdateCustomerRequest
impl Sync for UpdateCustomerRequest
impl Unpin for UpdateCustomerRequest
impl UnwindSafe for UpdateCustomerRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.