Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Laravel
Cashier
Subscription
valid
Laravel\Cashier\Subscription::valid PHP Method
Subscription Class Documentation
Show file
Open project: laravel/cashier-braintree
valid()
public
method
Determine if the subscription is active, on trial, or within its grace period.
public
valid
( ) :
boolean
return
boolean
public function valid() { return $this->active() || $this->onTrial() || $this->onGracePeriod(); }
Subscription
active
applyCoupon
asBraintreeSubscription
cancel
cancelNow
cancelled
currentDiscounts
getDiscountForSwitchToMonthly
getDiscountForSwitchToYearly
markAsCancelled
moneyRemainingOnYearlyPlan
onGracePeriod
onTrial
resume
swap
swapAcrossFrequencies
switchingToMonthlyPlan
user
valid
wouldChangeBillingFrequency