pub struct CreateCustomerTax {
pub ip_address: Option<String>,
pub validate_location: Option<CreateCustomerTaxValidateLocation>,
}
Fields§
§ip_address: Option<String>
A recent IP address of the customer used for tax reporting and tax location inference.
Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes.
validate_location: Option<CreateCustomerTaxValidateLocation>
A flag that indicates when Stripe should validate the customer tax location.
Defaults to deferred
.
Trait Implementations§
source§impl Clone for CreateCustomerTax
impl Clone for CreateCustomerTax
source§fn clone(&self) -> CreateCustomerTax
fn clone(&self) -> CreateCustomerTax
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 Debug for CreateCustomerTax
impl Debug for CreateCustomerTax
source§impl Default for CreateCustomerTax
impl Default for CreateCustomerTax
source§fn default() -> CreateCustomerTax
fn default() -> CreateCustomerTax
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCustomerTax
impl<'de> Deserialize<'de> for CreateCustomerTax
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 CreateCustomerTax
impl Send for CreateCustomerTax
impl Sync for CreateCustomerTax
impl Unpin for CreateCustomerTax
impl UnwindSafe for CreateCustomerTax
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