Class: Dinie::RangeInstallmentCreditOffer
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::RangeInstallmentCreditOffer
- Defined in:
- lib/dinie/generated/types/credit_offer.rb
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Class Method Summary collapse
Methods inherited from Internal::Model
#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Dinie::Internal::Model
Class Method Details
.deserialize(raw) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/dinie/generated/types/credit_offer.rb', line 32 def self.deserialize(raw) new( approved_amount: raw[:approved_amount], created_at: raw[:created_at], customer_id: raw[:customer_id], due_date_rule: raw[:due_date_rule], external_id: raw[:external_id], id: raw[:id], max_installments: raw[:max_installments], min_amount: raw[:min_amount], min_installments: raw[:min_installments], monthly_interest_rate: raw[:monthly_interest_rate], status: raw[:status], updated_at: raw[:updated_at], valid_until: raw[:valid_until] ) end |