pub struct SubscriptionAutomaticTax {
pub disabled_reason: Option<SubscriptionAutomaticTaxDisabledReason>,
pub enabled: bool,
pub liability: Option<ConnectAccountReference>,
}
Fields§
§disabled_reason: Option<SubscriptionAutomaticTaxDisabledReason>
If Stripe disabled automatic tax, this enum describes why.
enabled: bool
Whether Stripe automatically computes tax on this subscription.
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.
Trait Implementations§
Source§impl Clone for SubscriptionAutomaticTax
impl Clone for SubscriptionAutomaticTax
Source§fn clone(&self) -> SubscriptionAutomaticTax
fn clone(&self) -> SubscriptionAutomaticTax
Returns a duplicate 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 Debug for SubscriptionAutomaticTax
impl Debug for SubscriptionAutomaticTax
Source§impl FromValueOpt for SubscriptionAutomaticTax
impl FromValueOpt for SubscriptionAutomaticTax
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for SubscriptionAutomaticTax
impl RefUnwindSafe for SubscriptionAutomaticTax
impl Send for SubscriptionAutomaticTax
impl Sync for SubscriptionAutomaticTax
impl Unpin for SubscriptionAutomaticTax
impl UnwindSafe for SubscriptionAutomaticTax
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