package BookPub::Import::Importer::OLF::Version6;

use strict;

use Common::Country;
use BookPub::Tracker::Service;

use lib '/app/tools/bookpub/lib';
use base 'BookPub::Import::Importer::OLF::Base';

sub _fieldMap {
    {
        # Header
        dateEnd => 'O',

        # Data
        countryCode => 'A',
        rIsbn13     => 'I',
        rTitle      => 'J',
        rAuthor     => 'L',
        rUnits      => 'P',
        rListPrice  => 'U',
        rDiscount   => 'V',
        rRevenue    => 'X',
    };
}

sub currencyCode { 'GBP' }
sub _dateFormat { [ 'eur', 'iso' ] }

1;
