<?php


namespace App\Extensions;


use App\Repositories\StripeRepository;
use App\Subscription;
use App\UserSubscription;
use Laravel\Cashier\Billable;

trait CustomStripeUserBillableTrait {
    use Billable;

    /**
     * Get the default Stripe API options for the current Billable model.
     *
     * @param  array  $options
     * @return array
     */
    public function stripeOptions(array $options = []) {
        return StripeRepository::stripeOptions($this->company_id, $options);
    }

}
