package RPS::Import::Merlin::v62;

use strict;
use warnings;

use lib '/app/tools/rps/lib';
use RPS::Import::ServiceMap;

use parent 'RPS::Import::Merlin::v59';

sub _fieldMapExtended {
    {
        digital => {
            option1 => {
                labelName    => 'F',
                countryCode  => 'M',
                dateBegin    => 'B',
                dateEnd      => 'C',
                productType  => 'K',
                formatType   => 'O',
                artistName   => 'H',
                upc          => 'J',
                albumName    => 'G',
                isrc         => 'K',
                trackName    => 'I',
                units        => 'P',
                currencyCode => 'S',
                price        => 'S',
                mediaType    => 'N',
            }
        }
    };
}

sub serviceID { Client::Service::DSP_TENCENT }

sub upc {
    my $self = shift;

    my $upc = $self->_getByFieldName('upc') || 0;
    return $upc;
}


1;
