Class: Stigg::Models::V1::Subscriptions::UsageChargeUsageResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::Subscriptions::UsageChargeUsageResponse::Data
- Defined in:
- lib/stigg/models/v1/subscriptions/usage_charge_usage_response.rb
Overview
Defined Under Namespace
Classes: UsageCharged
Instance Attribute Summary collapse
-
#invoice_billing_id ⇒ String?
The invoice ID in the billing integration.
-
#period_end ⇒ Time
End of the usage billing period.
-
#period_start ⇒ Time
Start of the usage billing period.
-
#subscription_id ⇒ String
The subscription ID for which usage was charged.
-
#usage_charged ⇒ Array<Stigg::Models::V1::Subscriptions::UsageChargeUsageResponse::Data::UsageCharged>
Usage items that were charged.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from Stigg::Internal::Type::BaseModel
Instance Attribute Details
#invoice_billing_id ⇒ String?
The invoice ID in the billing integration
30 |
# File 'lib/stigg/models/v1/subscriptions/usage_charge_usage_response.rb', line 30 required :invoice_billing_id, String, api_name: :invoiceBillingId, nil?: true |
#period_end ⇒ Time
End of the usage billing period
36 |
# File 'lib/stigg/models/v1/subscriptions/usage_charge_usage_response.rb', line 36 required :period_end, Time, api_name: :periodEnd |
#period_start ⇒ Time
Start of the usage billing period
42 |
# File 'lib/stigg/models/v1/subscriptions/usage_charge_usage_response.rb', line 42 required :period_start, Time, api_name: :periodStart |
#subscription_id ⇒ String
The subscription ID for which usage was charged
48 |
# File 'lib/stigg/models/v1/subscriptions/usage_charge_usage_response.rb', line 48 required :subscription_id, String, api_name: :subscriptionId |
#usage_charged ⇒ Array<Stigg::Models::V1::Subscriptions::UsageChargeUsageResponse::Data::UsageCharged>
Usage items that were charged
54 55 56 |
# File 'lib/stigg/models/v1/subscriptions/usage_charge_usage_response.rb', line 54 required :usage_charged, -> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1::Subscriptions::UsageChargeUsageResponse::Data::UsageCharged] }, api_name: :usageCharged |