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 UpdateCustomerRequest 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§
Source§impl Clone for UpdateCustomerRequest
impl Clone for UpdateCustomerRequest
Source§fn clone(&self) -> UpdateCustomerRequest
fn clone(&self) -> UpdateCustomerRequest
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UpdateCustomerRequest
impl Debug for UpdateCustomerRequest
Source§impl Default for UpdateCustomerRequest
impl Default for UpdateCustomerRequest
Source§fn default() -> UpdateCustomerRequest
fn default() -> UpdateCustomerRequest
Source§impl PartialEq for UpdateCustomerRequest
impl PartialEq for UpdateCustomerRequest
Source§impl Serialize for UpdateCustomerRequest
impl Serialize for UpdateCustomerRequest
impl Eq for UpdateCustomerRequest
impl StructuralPartialEq for UpdateCustomerRequest
Auto Trait Implementations§
impl Freeze for UpdateCustomerRequest
impl RefUnwindSafe for UpdateCustomerRequest
impl Send for UpdateCustomerRequest
impl Sync for UpdateCustomerRequest
impl Unpin for UpdateCustomerRequest
impl UnwindSafe for UpdateCustomerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.