Class: Dinie::Events::LoanProcessingData

Inherits:
Internal::Model show all
Defined in:
lib/dinie/generated/events/loan_processing.rb,
sig/dinie/generated/events/loan_processing.rbs

Constant Summary

Constants inherited from Internal::Model

Internal::Model::REDACTED_ATTRIBUTES

Instance Attribute Summary collapse

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

Instance Attribute Details

#ccb_number ⇒ String? (readonly)

Returns the value of attribute ccb_number.

Returns:

  • (String, nil)


7
8
9
# File 'sig/dinie/generated/events/loan_processing.rbs', line 7

def ccb_number
  @ccb_number
end

#credit_offer_id ⇒ credit_offer_id (readonly)

Returns the value of attribute credit_offer_id.

Returns:



8
9
10
# File 'sig/dinie/generated/events/loan_processing.rbs', line 8

def credit_offer_id
  @credit_offer_id
end

#customer_id ⇒ customer_id (readonly)

Returns the value of attribute customer_id.

Returns:



9
10
11
# File 'sig/dinie/generated/events/loan_processing.rbs', line 9

def customer_id
  @customer_id
end

#disbursement_method ⇒ String? (readonly)

Returns the value of attribute disbursement_method.

Returns:

  • (String, nil)


10
11
12
# File 'sig/dinie/generated/events/loan_processing.rbs', line 10

def disbursement_method
  @disbursement_method
end

#id ⇒ loan_id (readonly)

Returns the value of attribute id.

Returns:

  • (loan_id)


11
12
13
# File 'sig/dinie/generated/events/loan_processing.rbs', line 11

def id
  @id
end

#status ⇒ loan_status (readonly)

Returns the value of attribute status.

Returns:

  • (loan_status)


12
13
14
# File 'sig/dinie/generated/events/loan_processing.rbs', line 12

def status
  @status
end

Class Method Details

.deserialize(raw) ⇒ LoanProcessingData

Parameters:

  • raw (Hash[Symbol, untyped])

Returns:



11
12
13
14
15
16
17
18
19
20
# File 'lib/dinie/generated/events/loan_processing.rb', line 11

def self.deserialize(raw)
  new(
    ccb_number: raw[:ccb_number],
    credit_offer_id: raw[:credit_offer_id],
    customer_id: raw[:customer_id],
    disbursement_method: raw[:disbursement_method],
    id: raw[:id],
    status: raw[:status]
  )
end