pub struct CreateCheckoutSessionNameCollection {
pub business: Option<CreateCheckoutSessionNameCollectionBusiness>,
pub individual: Option<CreateCheckoutSessionNameCollectionIndividual>,
}Expand description
Controls name collection settings for the session.
You can configure Checkout to collect your customers’ business names, individual names, or both. Each name field can be either required or optional.
If a Customer is created or provided, the names can be saved to the Customer object as well.
Fields§
§business: Option<CreateCheckoutSessionNameCollectionBusiness>Controls settings applied for collecting the customer’s business name on the session.
individual: Option<CreateCheckoutSessionNameCollectionIndividual>Controls settings applied for collecting the customer’s individual name on the session.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionNameCollection
impl Clone for CreateCheckoutSessionNameCollection
Source§fn clone(&self) -> CreateCheckoutSessionNameCollection
fn clone(&self) -> CreateCheckoutSessionNameCollection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CreateCheckoutSessionNameCollection
impl Eq for CreateCheckoutSessionNameCollection
impl StructuralPartialEq for CreateCheckoutSessionNameCollection
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionNameCollection
impl RefUnwindSafe for CreateCheckoutSessionNameCollection
impl Send for CreateCheckoutSessionNameCollection
impl Sync for CreateCheckoutSessionNameCollection
impl Unpin for CreateCheckoutSessionNameCollection
impl UnsafeUnpin for CreateCheckoutSessionNameCollection
impl UnwindSafe for CreateCheckoutSessionNameCollection
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