Class: Stripe::Invoice::CreatePreviewParams::CustomerDetails::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Invoice::CreatePreviewParams::CustomerDetails::Tax
- Defined in:
- lib/stripe/resources/invoice.rb
Instance Attribute Summary collapse
-
#ip_address ⇒ Object
A recent IP address of the customer used for tax reporting and tax location inference.
Instance Method Summary collapse
-
#initialize(ip_address: nil) ⇒ Tax
constructor
A new instance of Tax.
Methods inherited from RequestParams
Constructor Details
#initialize(ip_address: nil) ⇒ Tax
Returns a new instance of Tax.
2354 2355 2356 |
# File 'lib/stripe/resources/invoice.rb', line 2354 def initialize(ip_address: nil) @ip_address = ip_address end |
Instance Attribute Details
#ip_address ⇒ Object
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.
2352 2353 2354 |
# File 'lib/stripe/resources/invoice.rb', line 2352 def ip_address @ip_address end |