Class: Lithic::Models::CreditProducts::PrimeRateRetrieveResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::CreditProducts::PrimeRateRetrieveResponse::Data
- Defined in:
- lib/lithic/models/credit_products/prime_rate_retrieve_response.rb
Instance Attribute Summary collapse
-
#effective_date ⇒ Date
Date the rate goes into effect.
-
#rate ⇒ String
The rate in decimal format.
Instance Method Summary collapse
- #initialize(effective_date:, rate:) ⇒ Object constructor
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(effective_date:, rate:) ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/lithic/models/credit_products/prime_rate_retrieve_response.rb', line 26 class Data < Lithic::Internal::Type::BaseModel # @!attribute effective_date # Date the rate goes into effect # # @return [Date] required :effective_date, Date # @!attribute rate # The rate in decimal format # # @return [String] required :rate, String # @!method initialize(effective_date:, rate:) # @param effective_date [Date] Date the rate goes into effect # # @param rate [String] The rate in decimal format end |
Instance Attribute Details
#effective_date ⇒ Date
Date the rate goes into effect
31 |
# File 'lib/lithic/models/credit_products/prime_rate_retrieve_response.rb', line 31 required :effective_date, Date |
#rate ⇒ String
The rate in decimal format
37 |
# File 'lib/lithic/models/credit_products/prime_rate_retrieve_response.rb', line 37 required :rate, String |