pub struct CreateCheckoutSessionTaxIdCollection {
pub enabled: bool,
pub required: Option<CreateCheckoutSessionTaxIdCollectionRequired>,
}Expand description
Controls tax ID collection during checkout.
Fields§
§enabled: boolEnable tax ID collection during checkout. Defaults to false.
required: Option<CreateCheckoutSessionTaxIdCollectionRequired>Describes whether a tax ID is required during checkout.
Defaults to never.
You can’t set this parameter if ui_mode is custom.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionTaxIdCollection
impl Clone for CreateCheckoutSessionTaxIdCollection
Source§fn clone(&self) -> CreateCheckoutSessionTaxIdCollection
fn clone(&self) -> CreateCheckoutSessionTaxIdCollection
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 Eq for CreateCheckoutSessionTaxIdCollection
impl StructuralPartialEq for CreateCheckoutSessionTaxIdCollection
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionTaxIdCollection
impl RefUnwindSafe for CreateCheckoutSessionTaxIdCollection
impl Send for CreateCheckoutSessionTaxIdCollection
impl Sync for CreateCheckoutSessionTaxIdCollection
impl Unpin for CreateCheckoutSessionTaxIdCollection
impl UnsafeUnpin for CreateCheckoutSessionTaxIdCollection
impl UnwindSafe for CreateCheckoutSessionTaxIdCollection
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