Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/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; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка