Class: MetronomeSDK::Models::V1::Contracts::RateCardCreateParams::CreditTypeConversion

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/contracts/rate_card_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(custom_credit_type_id: , fiat_per_custom_credit: ) ⇒ Object

Parameters:

  • custom_credit_type_id (String) (defaults to: )
  • fiat_per_custom_credit (Float) (defaults to: )


# File 'lib/metronome_sdk/models/v1/contracts/rate_card_create_params.rb', line 103


Instance Attribute Details

#custom_credit_type_idString

Returns:

  • (String)


96
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_create_params.rb', line 96

required :custom_credit_type_id, String

#fiat_per_custom_creditFloat

Returns:

  • (Float)


101
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_create_params.rb', line 101

required :fiat_per_custom_credit, Float