Class: Stripe::TaxService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/tax_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ TaxService

Returns a new instance of TaxService.



8
9
10
11
12
13
14
# File 'lib/stripe/services/tax_service.rb', line 8

def initialize(requestor)
  super(requestor)
  @calculations = Stripe::Tax::CalculationService.new(@requestor)
  @registrations = Stripe::Tax::RegistrationService.new(@requestor)
  @settings = Stripe::Tax::SettingsService.new(@requestor)
  @transactions = Stripe::Tax::TransactionService.new(@requestor)
end

Instance Attribute Details

#calculationsObject (readonly)

Returns the value of attribute calculations.



6
7
8
# File 'lib/stripe/services/tax_service.rb', line 6

def calculations
  @calculations
end

#registrationsObject (readonly)

Returns the value of attribute registrations.



6
7
8
# File 'lib/stripe/services/tax_service.rb', line 6

def registrations
  @registrations
end

#settingsObject (readonly)

Returns the value of attribute settings.



6
7
8
# File 'lib/stripe/services/tax_service.rb', line 6

def settings
  @settings
end

#transactionsObject (readonly)

Returns the value of attribute transactions.



6
7
8
# File 'lib/stripe/services/tax_service.rb', line 6

def transactions
  @transactions
end