Struct stripe::CreateCustomerTax
source · pub struct CreateCustomerTax {
pub ip_address: Option<String>,
}
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.
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