Class: Stripe::V2::TaxService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::TaxService
- Defined in:
- lib/stripe/services/v2/tax_service.rb
Instance Attribute Summary collapse
-
#manual_rules ⇒ Object
readonly
Returns the value of attribute manual_rules.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
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.
9 10 11 12 13 |
# File 'lib/stripe/services/v2/tax_service.rb', line 9 def initialize(requestor) super @manual_rules = Stripe::V2::Tax::ManualRuleService.new(@requestor) @operations = Stripe::V2::Tax::OperationService.new(@requestor) end |
Instance Attribute Details
#manual_rules ⇒ Object (readonly)
Returns the value of attribute manual_rules.
7 8 9 |
# File 'lib/stripe/services/v2/tax_service.rb', line 7 def manual_rules @manual_rules end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
7 8 9 |
# File 'lib/stripe/services/v2/tax_service.rb', line 7 def operations @operations end |