Class: RS::Factura

Inherits:
Object
  • Object
show all
Includes:
Initializable
Defined in:
lib/rs/models/factura.rb

Constant Summary collapse

STATUS_START =

Source invoice – პირველადი ა/ფ

0
STATUS_SENT =
1
STATUS_CONFIRMED =
2
STATUS_CORRECTED =
3
STATUS_CORR_START =

Correction invoice – კორექტირებული ა/ფ

4
STATUS_CORR_SENT =
5
STATUS_CORR_CONFIRMED =
8
STATUS_CANCELED =

Canceled – გაუქმებულია

6
STATUS_CONFIRMED_CANCELED =
7

Instance Attribute Summary collapse

Method Summary

Methods included from Initializable

#initialize

Instance Attribute Details

#buyer_idObject

Returns the value of attribute buyer_id.



22
23
24
# File 'lib/rs/models/factura.rb', line 22

def buyer_id
  @buyer_id
end

#buyer_su_idObject

Returns the value of attribute buyer_su_id.



22
23
24
# File 'lib/rs/models/factura.rb', line 22

def buyer_su_id
  @buyer_su_id
end

#correction_ofObject

Returns the value of attribute correction_of.



25
26
27
# File 'lib/rs/models/factura.rb', line 25

def correction_of
  @correction_of
end

#correction_typeObject

Returns the value of attribute correction_type.



25
26
27
# File 'lib/rs/models/factura.rb', line 25

def correction_type
  @correction_type
end

#idObject

Returns the value of attribute id.



19
20
21
# File 'lib/rs/models/factura.rb', line 19

def id
  @id
end

#indexObject

Returns the value of attribute index.



20
21
22
# File 'lib/rs/models/factura.rb', line 20

def index
  @index
end

#numberObject

Returns the value of attribute number.



20
21
22
# File 'lib/rs/models/factura.rb', line 20

def number
  @number
end

#operation_dateObject

Returns the value of attribute operation_date.



21
22
23
# File 'lib/rs/models/factura.rb', line 21

def operation_date
  @operation_date
end

#registration_dateObject

Returns the value of attribute registration_date.



21
22
23
# File 'lib/rs/models/factura.rb', line 21

def registration_date
  @registration_date
end

#seller_idObject

Returns the value of attribute seller_id.



22
23
24
# File 'lib/rs/models/factura.rb', line 22

def seller_id
  @seller_id
end

#statusObject

Returns the value of attribute status.



23
24
25
# File 'lib/rs/models/factura.rb', line 23

def status
  @status
end

#waybill_dateObject

Returns the value of attribute waybill_date.



24
25
26
# File 'lib/rs/models/factura.rb', line 24

def waybill_date
  @waybill_date
end

#waybill_numberObject

Returns the value of attribute waybill_number.



24
25
26
# File 'lib/rs/models/factura.rb', line 24

def waybill_number
  @waybill_number
end