package BookPub::RDAS::URL::ProductPrice::Apple;

use URI::Escape;

use lib '/app/tools/bookpub/lib';
use BookPub::RDAS::Request::ProductSearch::Amazon;
use BookPub::DB::Item::BookProduct;
use BookPub::Catalog::Product::Book;
use BookPub::Catalog::Book;
use BookPub::Tracker::Service;

use base 'BookPub::RDAS::URL::ProductPrice';

sub SiteLoginURL   { BookPub::RDAS::URL::ProductPrice::Apple::SiteURL() . '/WebObjects/iTunesConnect.woa' }
sub SiteURL        { 'https://itunesconnect.apple.com' }
sub ProductPageURL { 'http://itunes.apple.com/us/book/id' }

sub serviceID { return BookPub::Tracker::Service::APPLE() }

sub _generateURL {
    my $self = shift;

    return $self->SiteLoginURL;
}

# Don't store Apple URLs automatically, we only store them after we get an Apple ID
# That means the only way this URL gets set is explicitly using the replaceURL method.
sub _storeURL { }

1;
