Class: Stripe::V2::Core::AccountCreateParams::Configuration::Customer::AutomaticIndirectTax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(exempt: nil, ip_address: nil) ⇒ AutomaticIndirectTax

Returns a new instance of AutomaticIndirectTax.



16
17
18
19
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 16

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

Instance Attribute Details

#exemptObject

Describes the customer’s tax exemption status, which is ‘none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.



12
13
14
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 12

def exempt
  @exempt
end

#ip_addressObject

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_create_params.rb', line 14

def ip_address
  @ip_address
end