Class: Stripe::InvoiceCreatePreviewParams::CustomerDetails::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_create_preview_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(ip_address: nil) ⇒ Tax

Returns a new instance of Tax.



110
111
112
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 110

def initialize(ip_address: nil)
  @ip_address = ip_address
end

Instance Attribute Details

#ip_addressObject

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.



108
109
110
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 108

def ip_address
  @ip_address
end