pub struct OrderFulfillmentRecipient {
pub customer_id: Option<String>,
pub display_name: Option<String>,
pub email_address: Option<String>,
pub phone_number: Option<String>,
pub address: Option<Address>,
}
Expand description
Contains information about the recipient of a fulfillment.
Fields§
§customer_id: Option<String>
The customer ID of the customer associated with the fulfillment.
If customer_id
is provided, the fulfillment recipient’s display_name
, email_address
,
and phone_number
are automatically populated from the targeted customer profile. If these
fields are set in the request, the request values overrides the information from the
customer profile. If the targeted customer profile does not contain the necessary
information and these fields are left unset, the request results in an error.
display_name: Option<String>
The display name of the fulfillment recipient.
If provided, the display name overrides the value pulled from the customer profile indicated
by customer_id
.
email_address: Option<String>
The email address of the fulfillment recipient.
If provided, the email address overrides the value pulled from the customer profile
indicated by customer_id
.
phone_number: Option<String>
The phone number of the fulfillment recipient.
If provided, the phone number overrides the value pulled from the customer profile indicated
by customer_id
.
address: Option<Address>
The address of the fulfillment recipient.
If provided, the address overrides the value pulled from the customer profile indicated by
customer_id
.
Trait Implementations§
Source§impl Clone for OrderFulfillmentRecipient
impl Clone for OrderFulfillmentRecipient
Source§fn clone(&self) -> OrderFulfillmentRecipient
fn clone(&self) -> OrderFulfillmentRecipient
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 OrderFulfillmentRecipient
impl Debug for OrderFulfillmentRecipient
Source§impl Default for OrderFulfillmentRecipient
impl Default for OrderFulfillmentRecipient
Source§fn default() -> OrderFulfillmentRecipient
fn default() -> OrderFulfillmentRecipient
Source§impl<'de> Deserialize<'de> for OrderFulfillmentRecipient
impl<'de> Deserialize<'de> for OrderFulfillmentRecipient
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for OrderFulfillmentRecipient
impl StructuralPartialEq for OrderFulfillmentRecipient
Auto Trait Implementations§
impl Freeze for OrderFulfillmentRecipient
impl RefUnwindSafe for OrderFulfillmentRecipient
impl Send for OrderFulfillmentRecipient
impl Sync for OrderFulfillmentRecipient
impl Unpin for OrderFulfillmentRecipient
impl UnwindSafe for OrderFulfillmentRecipient
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.