Class: Stripe::TaxService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TaxService
- Defined in:
- lib/stripe/services/tax_service.rb
Instance Attribute Summary collapse
-
#calculations ⇒ Object
readonly
Returns the value of attribute calculations.
-
#registrations ⇒ Object
readonly
Returns the value of attribute registrations.
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
-
#transactions ⇒ Object
readonly
Returns the value of attribute transactions.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ TaxService
constructor
A new instance of TaxService.
Methods inherited from StripeService
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
#calculations ⇒ Object (readonly)
Returns the value of attribute calculations.
6 7 8 |
# File 'lib/stripe/services/tax_service.rb', line 6 def calculations @calculations end |
#registrations ⇒ Object (readonly)
Returns the value of attribute registrations.
6 7 8 |
# File 'lib/stripe/services/tax_service.rb', line 6 def registrations @registrations end |
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
6 7 8 |
# File 'lib/stripe/services/tax_service.rb', line 6 def settings @settings end |
#transactions ⇒ Object (readonly)
Returns the value of attribute transactions.
6 7 8 |
# File 'lib/stripe/services/tax_service.rb', line 6 def transactions @transactions end |