Class: ODDB::OdbaExporter::AcpricealgExfactoryLine

Inherits:
PackageLine show all
Defined in:
ext/export/src/oddbdat.rb

Constant Summary collapse

LENGTH =
9

Instance Method Summary collapse

Methods inherited from PackageLine

#initialize

Methods inherited from Line

#content, #empty?, #initialize, #to_s

Constructor Details

This class inherits a constructor from ODDB::OdbaExporter::PackageLine

Instance Method Details

#structureObject



488
489
490
491
492
493
494
495
496
497
498
499
# File 'ext/export/src/oddbdat.rb', line 488

def structure
	if(pexf = @package.price_exfactory)
		{
			1		=>	'07',
			2		=>	@date,
			3		=>	@package.oid,
			4		=>	'PSL1',
			5		=>	'4',
			6		=>	sprintf('%2.2f', pexf.to_f),
		}
	end
end