Struct stripe::generated::tax_calculation::tax_product_resource_customer_details::TaxProductResourceCustomerDetails
source · pub struct TaxProductResourceCustomerDetails {
pub address: Option<TaxProductResourcePostalAddress>,
pub address_source: Option<TaxProductResourceCustomerDetailsAddressSource>,
pub ip_address: Option<String>,
pub tax_ids: Vec<TaxProductResourceCustomerDetailsResourceTaxId>,
pub taxability_override: TaxProductResourceCustomerDetailsTaxabilityOverride,
}
Expand description
The resource representing a Stripe “TaxProductResourceCustomerDetails”.
Fields§
§address: Option<TaxProductResourcePostalAddress>
The customer’s postal address (for example, home or business location).
address_source: Option<TaxProductResourceCustomerDetailsAddressSource>
The type of customer address provided.
ip_address: Option<String>
The customer’s IP address (IPv4 or IPv6).
tax_ids: Vec<TaxProductResourceCustomerDetailsResourceTaxId>
The customer’s tax IDs (for example, EU VAT numbers).
taxability_override: TaxProductResourceCustomerDetailsTaxabilityOverride
The taxability override used for taxation.
Trait Implementations§
source§impl Clone for TaxProductResourceCustomerDetails
impl Clone for TaxProductResourceCustomerDetails
source§fn clone(&self) -> TaxProductResourceCustomerDetails
fn clone(&self) -> TaxProductResourceCustomerDetails
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 TaxProductResourceCustomerDetails
impl Default for TaxProductResourceCustomerDetails
source§fn default() -> TaxProductResourceCustomerDetails
fn default() -> TaxProductResourceCustomerDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaxProductResourceCustomerDetails
impl<'de> Deserialize<'de> for TaxProductResourceCustomerDetails
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 Freeze for TaxProductResourceCustomerDetails
impl RefUnwindSafe for TaxProductResourceCustomerDetails
impl Send for TaxProductResourceCustomerDetails
impl Sync for TaxProductResourceCustomerDetails
impl Unpin for TaxProductResourceCustomerDetails
impl UnwindSafe for TaxProductResourceCustomerDetails
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