Module: RegApi2::Bill
Overview
REG.API bill category
Instance Method Summary (collapse)
-
- (Array<Hash>) change_pay_type(opts = {})
You can use this function to change payment methods.
-
- (Array<Hash>) delete(opts = {})
Deletion of unpaid invoices.
-
- (Array<Hash>) get_for_period(opts = {})
Use this function to obtain a list of invoices for the defined period.
-
- (Array<Hash>) get_not_payed(opts = {})
Use this function to obtain a list of unpaid invoices.
-
- (NilClass or Array<Hash>) nop(opts = {})
For testing purposes.
Methods included from Builder
Instance Method Details
- (Array<Hash>) change_pay_type(opts = {})
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 |
- (Array<Hash>) delete(opts = {})
Accessibility: clients
Support of invoice lists: yes
Deletion of unpaid invoices.
78 |
# File 'lib/reg_api2/bill.rb', line 78 define :delete, field: :bills |
- (Array<Hash>) get_for_period(opts = {})
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 |
- (Array<Hash>) get_not_payed(opts = {})
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 |
- (NilClass or Array<Hash>) nop(opts = {})
Accessibility: clients
Support of invoice lists: yes
For testing purposes.
22 |
# File 'lib/reg_api2/bill.rb', line 22 define :nop, field: :bills |