Class: Stripe::V2::Core::AccountUpdateParams::Configuration::Customer::AutomaticIndirectTax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountUpdateParams::Configuration::Customer::AutomaticIndirectTax
- Defined in:
- lib/stripe/params/v2/core/account_update_params.rb
Instance Attribute Summary collapse
-
#exempt ⇒ Object
The customer account’s tax exemption status: ‘none`, `exempt`, or `reverse`.
-
#ip_address ⇒ Object
A recent IP address of the customer used for tax reporting and tax location inference.
-
#validate_location ⇒ Object
A per-request flag that indicates when Stripe should validate the customer tax location - defaults to ‘auto`.
Instance Method Summary collapse
-
#initialize(exempt: nil, ip_address: nil, validate_location: nil) ⇒ AutomaticIndirectTax
constructor
A new instance of AutomaticIndirectTax.
Methods inherited from RequestParams
Constructor Details
#initialize(exempt: nil, ip_address: nil, validate_location: nil) ⇒ AutomaticIndirectTax
Returns a new instance of AutomaticIndirectTax.
18 19 20 21 22 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 18 def initialize(exempt: nil, ip_address: nil, validate_location: nil) @exempt = exempt @ip_address = ip_address @validate_location = validate_location end |
Instance Attribute Details
#exempt ⇒ Object
The customer account’s tax exemption status: ‘none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include “Reverse charge”.
12 13 14 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 12 def exempt @exempt end |
#ip_address ⇒ Object
A recent IP address of the customer used for tax reporting and tax location inference.
14 15 16 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 14 def ip_address @ip_address end |
#validate_location ⇒ Object
A per-request flag that indicates when Stripe should validate the customer tax location - defaults to ‘auto`.
16 17 18 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 16 def validate_location @validate_location end |