pub struct PaymentLinksResourceAutomaticTax {
pub enabled: bool,
pub liability: Option<ConnectAccountReference>,
}
Fields§
§enabled: bool
If true
, tax will be calculated automatically using the customer’s location.
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 PaymentLinksResourceAutomaticTax
impl Clone for PaymentLinksResourceAutomaticTax
Source§fn clone(&self) -> PaymentLinksResourceAutomaticTax
fn clone(&self) -> PaymentLinksResourceAutomaticTax
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 PaymentLinksResourceAutomaticTax
impl FromValueOpt for PaymentLinksResourceAutomaticTax
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentLinksResourceAutomaticTax
impl RefUnwindSafe for PaymentLinksResourceAutomaticTax
impl Send for PaymentLinksResourceAutomaticTax
impl Sync for PaymentLinksResourceAutomaticTax
impl Unpin for PaymentLinksResourceAutomaticTax
impl UnwindSafe for PaymentLinksResourceAutomaticTax
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