Class: Credigy::LegalTermsAcceptanceResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/credigy/legal_terms_acceptance_response.rb

Instance Attribute Summary

Attributes inherited from Response

#raw_response, #requester

Instance Method Summary collapse

Methods inherited from Response

#body, #initialize, #root_key

Constructor Details

This class inherits a constructor from Credigy::Response

Instance Method Details

#debtor_agreement_idObject



5
6
7
# File 'lib/credigy/legal_terms_acceptance_response.rb', line 5

def debtor_agreement_id
  body[:debtor_agreement_id]
end

#invoice_numberObject



9
10
11
# File 'lib/credigy/legal_terms_acceptance_response.rb', line 9

def invoice_number
  body[:invoice_number]
end

#sub_root_keyObject



13
14
15
# File 'lib/credigy/legal_terms_acceptance_response.rb', line 13

def sub_root_key
  :negotiation_result
end