Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mcoil.corals.io/vendor/laravel/cashier/src/Concerns/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mcoil.corals.io/vendor/laravel/cashier/src/Concerns/Prorates.php
<?php

namespace Laravel\Cashier\Concerns;

trait Prorates
{
    /**
     * Indicates if the price change should be prorated.
     *
     * @var string
     */
    protected $prorationBehavior = 'create_prorations';

    /**
     * Indicate that the price change should not be prorated.
     *
     * @return $this
     */
    public function noProrate()
    {
        $this->prorationBehavior = 'none';

        return $this;
    }

    /**
     * Indicate that the price change should be prorated.
     *
     * @return $this
     */
    public function prorate()
    {
        $this->prorationBehavior = 'create_prorations';

        return $this;
    }

    /**
     * Indicate that the price change should always be invoiced.
     *
     * @return $this
     */
    public function alwaysInvoice()
    {
        $this->prorationBehavior = 'always_invoice';

        return $this;
    }

    /**
     * Set the prorating behavior.
     *
     * @param  string  $prorationBehavior
     * @return $this
     */
    public function setProrationBehavior($prorationBehavior)
    {
        $this->prorationBehavior = $prorationBehavior;

        return $this;
    }

    /**
     * Determine the prorating behavior when updating the subscription.
     *
     * @return string
     */
    public function prorateBehavior()
    {
        return $this->prorationBehavior;
    }
}

Spamworldpro Mini