Class: Agris::Api::AccountsReceivables::SpecificInvoiceExtract

Inherits:
Object
  • Object
show all
Includes:
XmlModel
Defined in:
lib/agris/api/accounts_receivables/specific_invoice_extract.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XmlModel

included

Constructor Details

#initialize(invoice_location, invoice_number) ⇒ SpecificInvoiceExtract

Returns a new instance of SpecificInvoiceExtract.



10
11
12
13
# File 'lib/agris/api/accounts_receivables/specific_invoice_extract.rb', line 10

def initialize(invoice_location, invoice_number)
  @invoice_location = invoice_location
  @invoice_no = invoice_number
end

Instance Attribute Details

#invoice_locationObject

Returns the value of attribute invoice_location.



8
9
10
# File 'lib/agris/api/accounts_receivables/specific_invoice_extract.rb', line 8

def invoice_location
  @invoice_location
end

#invoice_noObject

Returns the value of attribute invoice_no.



8
9
10
# File 'lib/agris/api/accounts_receivables/specific_invoice_extract.rb', line 8

def invoice_no
  @invoice_no
end