Class: Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::Summary
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(currency:, customer_credits:, settlement_amount:, settlement_currency:, total_amount:, settlement_tax: nil, tax: nil) ⇒ Object
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 357
|
Instance Attribute Details
325
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 325
required :currency, enum: -> { Dodopayments::Currency }
|
#customer_credits ⇒ Integer
330
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 330
required :customer_credits, Integer
|
#settlement_amount ⇒ Integer
335
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 335
required :settlement_amount, Integer
|
340
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 340
required :settlement_currency, enum: -> { Dodopayments::Currency }
|
#settlement_tax ⇒ Integer?
350
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 350
optional :settlement_tax, Integer, nil?: true
|
#tax ⇒ Integer?
355
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 355
optional :tax, Integer, nil?: true
|
#total_amount ⇒ Integer
345
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 345
required :total_amount, Integer
|