pub struct UpdateCustomerTax {
pub ip_address: Option<String>,
pub validate_location: Option<UpdateCustomerTaxValidateLocation>,
}
Expand description
Tax details about the customer.
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<UpdateCustomerTaxValidateLocation>
A flag that indicates when Stripe should validate the customer tax location. Defaults to auto
.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateCustomerTax
impl Clone for UpdateCustomerTax
Source§fn clone(&self) -> UpdateCustomerTax
fn clone(&self) -> UpdateCustomerTax
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 Debug for UpdateCustomerTax
impl Debug for UpdateCustomerTax
Source§impl Default for UpdateCustomerTax
impl Default for UpdateCustomerTax
Auto Trait Implementations§
impl Freeze for UpdateCustomerTax
impl RefUnwindSafe for UpdateCustomerTax
impl Send for UpdateCustomerTax
impl Sync for UpdateCustomerTax
impl Unpin for UpdateCustomerTax
impl UnwindSafe for UpdateCustomerTax
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