pub struct UpdateSubscriptionAutomaticTax {
pub enabled: bool,
pub liability: Option<UpdateSubscriptionAutomaticTaxLiability>,
}
Expand description
Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
Fields§
§enabled: bool
Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
liability: Option<UpdateSubscriptionAutomaticTaxLiability>
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.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateSubscriptionAutomaticTax
impl Clone for UpdateSubscriptionAutomaticTax
Source§fn clone(&self) -> UpdateSubscriptionAutomaticTax
fn clone(&self) -> UpdateSubscriptionAutomaticTax
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 moreAuto Trait Implementations§
impl Freeze for UpdateSubscriptionAutomaticTax
impl RefUnwindSafe for UpdateSubscriptionAutomaticTax
impl Send for UpdateSubscriptionAutomaticTax
impl Sync for UpdateSubscriptionAutomaticTax
impl Unpin for UpdateSubscriptionAutomaticTax
impl UnwindSafe for UpdateSubscriptionAutomaticTax
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