Struct stripe::CreatePaymentLinkAutomaticTax
source · pub struct CreatePaymentLinkAutomaticTax {
pub enabled: bool,
pub liability: Option<CreatePaymentLinkAutomaticTaxLiability>,
}
Fields§
§enabled: bool
If true
, tax will be calculated automatically using the customer’s location.
liability: Option<CreatePaymentLinkAutomaticTaxLiability>
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 CreatePaymentLinkAutomaticTax
impl Clone for CreatePaymentLinkAutomaticTax
source§fn clone(&self) -> CreatePaymentLinkAutomaticTax
fn clone(&self) -> CreatePaymentLinkAutomaticTax
Returns a copy 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 Default for CreatePaymentLinkAutomaticTax
impl Default for CreatePaymentLinkAutomaticTax
source§fn default() -> CreatePaymentLinkAutomaticTax
fn default() -> CreatePaymentLinkAutomaticTax
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentLinkAutomaticTax
impl<'de> Deserialize<'de> for CreatePaymentLinkAutomaticTax
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CreatePaymentLinkAutomaticTax
impl Send for CreatePaymentLinkAutomaticTax
impl Sync for CreatePaymentLinkAutomaticTax
impl Unpin for CreatePaymentLinkAutomaticTax
impl UnwindSafe for CreatePaymentLinkAutomaticTax
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