Class: XmlConv::Model::Bsr

Inherits:
Object
  • Object
show all
Includes:
PartyContainer
Defined in:
lib/xmlconv/model/bsr.rb

Instance Attribute Summary collapse

Attributes included from PartyContainer

#bill_to, #customer, #employee, #seller, #ship_to

Instance Method Summary collapse

Methods included from PartyContainer

#add_party, #parties

Instance Attribute Details

#interfaceObject

Returns the value of attribute interface.



10
11
12
# File 'lib/xmlconv/model/bsr.rb', line 10

def interface
  @interface
end

#nounObject

Returns the value of attribute noun.



10
11
12
# File 'lib/xmlconv/model/bsr.rb', line 10

def noun
  @noun
end

#timestampObject

Returns the value of attribute timestamp.



10
11
12
# File 'lib/xmlconv/model/bsr.rb', line 10

def timestamp
  @timestamp
end

#verbObject

Returns the value of attribute verb.



10
11
12
# File 'lib/xmlconv/model/bsr.rb', line 10

def verb
  @verb
end

Instance Method Details

#bsr_idObject



11
12
13
# File 'lib/xmlconv/model/bsr.rb', line 11

def bsr_id
	@customer.party_id unless(@customer.nil?)
end