Class: Stigg::Models::V1::SubscriptionPreviewResponse::Data::RecurringInvoice::Discount
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::SubscriptionPreviewResponse::Data::RecurringInvoice::Discount
- Defined in:
- lib/stigg/models/v1/subscription_preview_response.rb,
sig/stigg/models/v1/subscription_preview_response.rbs
Instance Attribute Summary collapse
-
#amount ⇒ Float
Discount amount.
-
#currency ⇒ String
Currency code.
-
#description ⇒ String
Discount description.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, 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
#initialize ⇒ Object
410 |
# File 'sig/stigg/models/v1/subscription_preview_response.rbs', line 410
def initialize: (
|
Instance Attribute Details
#amount ⇒ Float
Discount amount
473 |
# File 'lib/stigg/models/v1/subscription_preview_response.rb', line 473 required :amount, Float |
#currency ⇒ String
Currency code
479 |
# File 'lib/stigg/models/v1/subscription_preview_response.rb', line 479 required :currency, String |
#description ⇒ String
Discount description
485 |
# File 'lib/stigg/models/v1/subscription_preview_response.rb', line 485 required :description, String |
Instance Method Details
#to_hash ⇒ {
416 |
# File 'sig/stigg/models/v1/subscription_preview_response.rbs', line 416
def to_hash: -> {
|