pub struct CreateCheckoutSessionCustomerUpdate {
pub address: Option<CreateCheckoutSessionCustomerUpdateAddress>,
pub name: Option<CreateCheckoutSessionCustomerUpdateName>,
pub shipping: Option<CreateCheckoutSessionCustomerUpdateShipping>,
}
Fields§
§address: Option<CreateCheckoutSessionCustomerUpdateAddress>
Describes whether Checkout saves the billing address onto customer.address
.
To always collect a full billing address, use billing_address_collection
.
Defaults to never
.
name: Option<CreateCheckoutSessionCustomerUpdateName>
Describes whether Checkout saves the name onto customer.name
.
Defaults to never
.
shipping: Option<CreateCheckoutSessionCustomerUpdateShipping>
Describes whether Checkout saves shipping information onto customer.shipping
.
To collect shipping information, use shipping_address_collection
.
Defaults to never
.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionCustomerUpdate
impl Clone for CreateCheckoutSessionCustomerUpdate
source§fn clone(&self) -> CreateCheckoutSessionCustomerUpdate
fn clone(&self) -> CreateCheckoutSessionCustomerUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateCheckoutSessionCustomerUpdate
impl Default for CreateCheckoutSessionCustomerUpdate
source§fn default() -> CreateCheckoutSessionCustomerUpdate
fn default() -> CreateCheckoutSessionCustomerUpdate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomerUpdate
impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomerUpdate
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomerUpdate
impl RefUnwindSafe for CreateCheckoutSessionCustomerUpdate
impl Send for CreateCheckoutSessionCustomerUpdate
impl Sync for CreateCheckoutSessionCustomerUpdate
impl Unpin for CreateCheckoutSessionCustomerUpdate
impl UnwindSafe for CreateCheckoutSessionCustomerUpdate
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
Mutably borrows from an owned value. Read more