Class: Stripe::BillingService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::BillingService
- Defined in:
- lib/stripe/services/billing_service.rb
Instance Attribute Summary collapse
-
#alerts ⇒ Object
readonly
Returns the value of attribute alerts.
-
#credit_balance_summary ⇒ Object
readonly
Returns the value of attribute credit_balance_summary.
-
#credit_balance_transactions ⇒ Object
readonly
Returns the value of attribute credit_balance_transactions.
-
#credit_grants ⇒ Object
readonly
Returns the value of attribute credit_grants.
-
#meter_event_adjustments ⇒ Object
readonly
Returns the value of attribute meter_event_adjustments.
-
#meter_events ⇒ Object
readonly
Returns the value of attribute meter_events.
-
#meters ⇒ Object
readonly
Returns the value of attribute meters.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ BillingService
constructor
A new instance of BillingService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ BillingService
Returns a new instance of BillingService.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/stripe/services/billing_service.rb', line 8 def initialize(requestor) super(requestor) @alerts = Stripe::Billing::AlertService.new(@requestor) @credit_balance_summary = Stripe::Billing::CreditBalanceSummaryService.new(@requestor) @credit_balance_transactions = Stripe::Billing::CreditBalanceTransactionService .new(@requestor) @credit_grants = Stripe::Billing::CreditGrantService.new(@requestor) @meters = Stripe::Billing::MeterService.new(@requestor) @meter_events = Stripe::Billing::MeterEventService.new(@requestor) @meter_event_adjustments = Stripe::Billing::MeterEventAdjustmentService.new(@requestor) end |
Instance Attribute Details
#alerts ⇒ Object (readonly)
Returns the value of attribute alerts.
6 7 8 |
# File 'lib/stripe/services/billing_service.rb', line 6 def alerts @alerts end |
#credit_balance_summary ⇒ Object (readonly)
Returns the value of attribute credit_balance_summary.
6 7 8 |
# File 'lib/stripe/services/billing_service.rb', line 6 def credit_balance_summary @credit_balance_summary end |
#credit_balance_transactions ⇒ Object (readonly)
Returns the value of attribute credit_balance_transactions.
6 7 8 |
# File 'lib/stripe/services/billing_service.rb', line 6 def credit_balance_transactions @credit_balance_transactions end |
#credit_grants ⇒ Object (readonly)
Returns the value of attribute credit_grants.
6 7 8 |
# File 'lib/stripe/services/billing_service.rb', line 6 def credit_grants @credit_grants end |
#meter_event_adjustments ⇒ Object (readonly)
Returns the value of attribute meter_event_adjustments.
6 7 8 |
# File 'lib/stripe/services/billing_service.rb', line 6 def meter_event_adjustments @meter_event_adjustments end |
#meter_events ⇒ Object (readonly)
Returns the value of attribute meter_events.
6 7 8 |
# File 'lib/stripe/services/billing_service.rb', line 6 def meter_events @meter_events end |
#meters ⇒ Object (readonly)
Returns the value of attribute meters.
6 7 8 |
# File 'lib/stripe/services/billing_service.rb', line 6 def meters @meters end |