<?php

namespace Bixo\Payment\Providers;

use Litepie\Foundation\Support\Providers\ActionServiceProvider as ServiceProvider;

class ActionServiceProvider extends ServiceProvider
{
    /**
     * Indicates if loading of the provider is deferred.
     *
     * @var bool
     */
    protected $defer = true;

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function actions()
    {
        return [
            \Bixo\Payment\Models\Detail::class
                 => config('bixo.payment.detail.actions')        \Bixo\Payment\Models\Refund::class
                 => config('bixo.payment.refund.actions')        \Bixo\Payment\Models\Invoice::class
                 => config('bixo.payment.invoice.actions')        \Bixo\Payment\Models\Gateway::class
                 => config('bixo.payment.gateway.actions')        \Bixo\Payment\Models\Payment::class
                 => config('bixo.payment.payment.actions')
            ];
    }

}