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
sourceimpl Clone for OrderFulfillmentRecipient
impl Clone for OrderFulfillmentRecipient
sourcefn clone(&self) -> OrderFulfillmentRecipient
fn clone(&self) -> OrderFulfillmentRecipient
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for OrderFulfillmentRecipient
impl Debug for OrderFulfillmentRecipient
sourceimpl Default for OrderFulfillmentRecipient
impl Default for OrderFulfillmentRecipient
sourcefn default() -> OrderFulfillmentRecipient
fn default() -> OrderFulfillmentRecipient
sourceimpl<'de> Deserialize<'de> for OrderFulfillmentRecipient
impl<'de> Deserialize<'de> for OrderFulfillmentRecipient
sourcefn 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>,
sourceimpl PartialEq<OrderFulfillmentRecipient> for OrderFulfillmentRecipient
impl PartialEq<OrderFulfillmentRecipient> for OrderFulfillmentRecipient
sourcefn eq(&self, other: &OrderFulfillmentRecipient) -> bool
fn eq(&self, other: &OrderFulfillmentRecipient) -> bool
sourceimpl Serialize for OrderFulfillmentRecipient
impl Serialize for OrderFulfillmentRecipient
impl Eq for OrderFulfillmentRecipient
impl StructuralEq for OrderFulfillmentRecipient
impl StructuralPartialEq for OrderFulfillmentRecipient
Auto Trait Implementations
impl RefUnwindSafe for OrderFulfillmentRecipient
impl Send for OrderFulfillmentRecipient
impl Sync for OrderFulfillmentRecipient
impl Unpin for OrderFulfillmentRecipient
impl UnwindSafe for OrderFulfillmentRecipient
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.