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 385
|
Instance Attribute Details
353
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 353
required :currency, enum: -> { Dodopayments::Currency }
|
#customer_credits ⇒ Integer
358
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 358
required :customer_credits, Integer
|
#settlement_amount ⇒ Integer
363
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 363
required :settlement_amount, Integer
|
368
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 368
required :settlement_currency, enum: -> { Dodopayments::Currency }
|
#settlement_tax ⇒ Integer?
378
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 378
optional :settlement_tax, Integer, nil?: true
|
#tax ⇒ Integer?
383
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 383
optional :tax, Integer, nil?: true
|
#total_amount ⇒ Integer
373
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 373
required :total_amount, Integer
|