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