Class: XmlConv::Model::Transaction
- Inherits:
-
Object
- Object
- XmlConv::Model::Transaction
- Includes:
- FreeTextContainer, IdContainer, ItemContainer, PartyContainer, PriceContainer
- Defined in:
- lib/xmlconv/model/transaction.rb
Instance Attribute Summary collapse
-
#agreement ⇒ Object
Returns the value of attribute agreement.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_date ⇒ Object
Returns the value of attribute status_date.
-
#transport_cost ⇒ Object
Returns the value of attribute transport_cost.
Attributes included from PartyContainer
#bill_to, #customer, #employee, #seller, #ship_to
Attributes included from FreeTextContainer
Instance Method Summary collapse
Methods included from PriceContainer
#add_price, #get_price, #prices
Methods included from PartyContainer
Methods included from FreeTextContainer
Methods included from ItemContainer
Methods included from IdContainer
#acc_id, #add_id, #id_table, #ids
Instance Attribute Details
#agreement ⇒ Object
Returns the value of attribute agreement.
18 19 20 |
# File 'lib/xmlconv/model/transaction.rb', line 18 def agreement @agreement end |
#status ⇒ Object
Returns the value of attribute status.
18 19 20 |
# File 'lib/xmlconv/model/transaction.rb', line 18 def status @status end |
#status_date ⇒ Object
Returns the value of attribute status_date.
18 19 20 |
# File 'lib/xmlconv/model/transaction.rb', line 18 def status_date @status_date end |
#transport_cost ⇒ Object
Returns the value of attribute transport_cost.
18 19 20 |
# File 'lib/xmlconv/model/transaction.rb', line 18 def transport_cost @transport_cost end |
Instance Method Details
#customer_id ⇒ Object
20 21 22 |
# File 'lib/xmlconv/model/transaction.rb', line 20 def customer_id self.id_table['customer'] end |
#reference_id ⇒ Object
23 24 25 |
# File 'lib/xmlconv/model/transaction.rb', line 23 def reference_id self.id_table['acc'] end |