Class: Stripe::Tax::SettingsService::UpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/tax/settings_service.rb

Defined Under Namespace

Classes: Defaults, HeadOffice

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(defaults: nil, expand: nil, head_office: nil) ⇒ UpdateParams

Returns a new instance of UpdateParams.



74
75
76
77
78
# File 'lib/stripe/services/tax/settings_service.rb', line 74

def initialize(defaults: nil, expand: nil, head_office: nil)
  @defaults = defaults
  @expand = expand
  @head_office = head_office
end

Instance Attribute Details

#defaultsObject

Default configuration to be used on Stripe Tax calculations.



68
69
70
# File 'lib/stripe/services/tax/settings_service.rb', line 68

def defaults
  @defaults
end

#expandObject

Specifies which fields in the response should be expanded.



70
71
72
# File 'lib/stripe/services/tax/settings_service.rb', line 70

def expand
  @expand
end

#head_officeObject

The place where your business is located.



72
73
74
# File 'lib/stripe/services/tax/settings_service.rb', line 72

def head_office
  @head_office
end