Struct stripe::generated::checkout::checkout_session::PaymentPagesCheckoutSessionAutomaticTax
source · pub struct PaymentPagesCheckoutSessionAutomaticTax {
pub enabled: bool,
pub liability: Option<ConnectAccountReference>,
pub status: Option<PaymentPagesCheckoutSessionAutomaticTaxStatus>,
}
Fields§
§enabled: bool
Indicates whether automatic tax is enabled for the session.
liability: Option<ConnectAccountReference>
The account that’s liable for tax.
If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
status: Option<PaymentPagesCheckoutSessionAutomaticTaxStatus>
The status of the most recent automated tax calculation for this session.
Trait Implementations§
source§impl Clone for PaymentPagesCheckoutSessionAutomaticTax
impl Clone for PaymentPagesCheckoutSessionAutomaticTax
source§fn clone(&self) -> PaymentPagesCheckoutSessionAutomaticTax
fn clone(&self) -> PaymentPagesCheckoutSessionAutomaticTax
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 PaymentPagesCheckoutSessionAutomaticTax
impl Default for PaymentPagesCheckoutSessionAutomaticTax
source§fn default() -> PaymentPagesCheckoutSessionAutomaticTax
fn default() -> PaymentPagesCheckoutSessionAutomaticTax
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionAutomaticTax
impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionAutomaticTax
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 RefUnwindSafe for PaymentPagesCheckoutSessionAutomaticTax
impl Send for PaymentPagesCheckoutSessionAutomaticTax
impl Sync for PaymentPagesCheckoutSessionAutomaticTax
impl Unpin for PaymentPagesCheckoutSessionAutomaticTax
impl UnwindSafe for PaymentPagesCheckoutSessionAutomaticTax
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