Class: Payrix::Resource::InvoiceLineItems
- Defined in:
- lib/payrix/resource/invoice_line_items.rb
Constant Summary collapse
- ATTRS =
[:id, :created, :modified, :creator, :modifier, :invoice, :invoiceItem, :quantity, :price, :discount, :total]
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ InvoiceLineItems
constructor
A new instance of InvoiceLineItems.
Methods inherited from Base
#create, #delete, #details, #has_errors?, #has_more?, #request_options, #request_options=, #response, #retrieve, #set, #status, #to_json, #totals, #update
Constructor Details
#initialize(params) ⇒ InvoiceLineItems
Returns a new instance of InvoiceLineItems.
5 6 7 8 9 |
# File 'lib/payrix/resource/invoice_line_items.rb', line 5 def initialize(params) super(params, ATTRS) @resource_name = 'invoiceLineItems' end |