package BookPub::Import::Importer::Chegg::Version15;

use strict;

use base 'BookPub::Import::Importer::Chegg::Version10';

sub _fieldMap {
    {
        rPurchaseType      => 'F',
        currencyCode       => 'T',
        countryCode        => 'Y',
        rState             => 'W',
        rPostalCode        => 'X',
        dateBegin          => 'A',
        rIsbn13            => 'K',
        rTitle             => 'G',
        rAuthor            => 'J',
        rReturns           => 'R',
        rListPrice         => 'Q',
        rListPriceCurrency => 'Q',
        rPurchasePrice     => 'O',
        rRevenue           => 'T',
        rInstitution       => 'U',
        rDuration          => 'F',
        rPromoCode         => 'E',
    };
}

sub rProductType { BookPub::DB::Item::Sale::kProductTypeEBook }
sub rFormat      { BookPub::DB::Item::Sale::kFormatTypePDF }
sub rPriceType   { 'rrp' }
sub rServiceName { 'Chegg' }

1;
