Module: RegApi2::Bill
Overview
REG.API bill category
Instance Method Summary collapse
-
#change_pay_type(opts = {}) ⇒ Array<Hash>
You can use this function to change payment methods.
-
#delete(opts = {}) ⇒ Array<Hash>
Deletion of unpaid invoices.
-
#get_for_period(opts = {}) ⇒ Array<Hash>
Use this function to obtain a list of invoices for the defined period.
-
#get_not_payed(opts = {}) ⇒ Array<Hash>
Use this function to obtain a list of unpaid invoices.
-
#nop(opts = {}) ⇒ NilClass or Array<Hash>
For testing purposes.
Methods included from Builder
Instance Method Details
#change_pay_type(opts = {}) ⇒ Array<Hash>
Accessibility: clients
Support of invoice lists: yes
You can use this function to change payment methods. Some of the methods allow issue of invoices in the defined payment systems, advance payments are made immediately.
66 |
# File 'lib/reg_api2/bill.rb', line 66 define :change_pay_type, required: %w[ currency pay_type ], field: :bills |
#delete(opts = {}) ⇒ Array<Hash>
Accessibility: clients
Support of invoice lists: yes
Deletion of unpaid invoices.
78 |
# File 'lib/reg_api2/bill.rb', line 78 define :delete, field: :bills |
#get_for_period(opts = {}) ⇒ Array<Hash>
Accessibility: partners
Support of invoice lists: yes
Use this function to obtain a list of invoices for the defined period.
51 |
# File 'lib/reg_api2/bill.rb', line 51 define :get_for_period, required: { start_date: { iso_date: true }, end_date: { iso_date: true } }, field: :bills |
#get_not_payed(opts = {}) ⇒ Array<Hash>
Accessibility: clients
Support of invoice lists: yes
Use this function to obtain a list of unpaid invoices.
32 |
# File 'lib/reg_api2/bill.rb', line 32 define :get_not_payed, field: :bills |
#nop(opts = {}) ⇒ NilClass or Array<Hash>
Accessibility: clients
Support of invoice lists: yes
For testing purposes.
22 |
# File 'lib/reg_api2/bill.rb', line 22 define :nop, field: :bills |