namespace App\Integrations\MagentoCustomerPrices;
use JustBetter\MagentoCustomerPrices\Repositories\Repository;
use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;
class MyCustomerPriceRepository implements Repository
{
public function skus(?Carbon $from = null): Collection
{
return collect(['sku_1', 'sku_2']);
}
}
class BaseRepository
{
// How many prices may be retrieved at once when the process job runs
protected int $retrieveLimit = 250;
// How many prices may be updated at once when the process job runs
protected int $updateLimit = 250;
// How many times an update to Magento may fail before it stops trying
protected int $failLimit = 3;
}