Skip to content
gustavonascimento edited this page May 20, 2016 · 11 revisions

Class

  • This class contains all information about payments for enterprises.

Methods

  • def refresh!
  • Finds the payment related with its process, by the CNPJ of the enterprise.

Variables

  • payments_process_number

  • Receives and store the payment found.

  • String identifier

  • Receives and store the id of the payment regarding the enterprise in question.

  • String process_number

  • Receives and store the process number of the payment related.

  • Float initial_value

  • Stores the initial value of the payment in brazilian real (R$).

  • Date sign_date

  • Stores the sign date of the payment.

  • Date start_date

  • Stores the start date of the payment.

  • Date end_date

  • Stores the end date

  • Integer Enterprise_id

  • Stores the id of the enterprise that received the payment.

Clone this wiki locally