Class: Stripe::V2::Tax::ManualRuleCreateParams::Location

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(country: nil, state: nil) ⇒ Location

Returns a new instance of Location.



14
15
16
17
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 14

def initialize(country: nil, state: nil)
  @country = country
  @state = state
end

Instance Attribute Details

#countryObject

Country ISO-3166.



10
11
12
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 10

def country
  @country
end

#stateObject

State ISO-3166.



12
13
14
# File 'lib/stripe/params/v2/tax/manual_rule_create_params.rb', line 12

def state
  @state
end