class Billogram::Invoice
Constants
- COMMANDS
Attributes
attachment[RW]
attested_at[RW]
automatic_reminders[RW]
created_at[RW]
creditor_unique_value[RW]
currency[RW]
delivery_method[RW]
detailed_sums[RW]
due_date[RW]
due_days[RW]
flags[RW]
id[RW]
interest_fee[RW]
interest_rate[RW]
invoice_date[RW]
invoice_fee[RW]
invoice_fee_vat[RW]
invoice_no[RW]
ocr_number[RW]
offers[RW]
pdf[RW]
recipient_url[RW]
remaining_sum[RW]
reminder_count[RW]
reminder_fee[RW]
respite_date[RW]
rounding_value[RW]
sales_accepted[RW]
show_item_gross_prices[RW]
state[RW]
total_sum[RW]
updated_at[RW]
url[RW]
Public Instance Methods
send!(method:)
click to toggle source
# File lib/billogram/resources/invoice.rb, line 40 def send!(method:) send_command(:send, { method: method }) end
Private Instance Methods
send_command(command, options = {})
click to toggle source
# File lib/billogram/resources/invoice.rb, line 46 def send_command(command, options = {}) path = "#{endpoint}/#{id}/command/#{command}" self.class.perform_request(:post, path, options) end