pub struct CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability {
pub account: Option<String>,
pub type_: CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityType,
}
Expand description
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.
Fields§
§account: Option<String>
The connected account being referenced when type
is account
.
type_: CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityType
Type of the account referenced in the request.
Implementations§
Source§impl CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
impl CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
pub fn new( type_: impl Into<CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiabilityType>, ) -> Self
Trait Implementations§
Source§impl Clone for CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
impl Clone for CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
Source§fn clone(
&self,
) -> CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
fn clone( &self, ) -> CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
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 CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
impl RefUnwindSafe for CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
impl Send for CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
impl Sync for CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
impl Unpin for CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
impl UnwindSafe for CreateSubscriptionScheduleDefaultSettingsAutomaticTaxLiability
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