Subscription
Table of Contents
Properties
-
$has_payment_data
: mixed
-
$stripe
: mixed
-
$upcoming
: mixed
-
$plans
: mixed
Methods
-
__construct()
: mixed
-
checkForErrors()
: mixed
-
createOrUpdateFromForm()
: mixed
-
delete_from_redis()
: mixed
-
invoices()
: mixed
-
quota_status()
: mixed
-
redis_reset_quota()
: mixed
-
redis_update_max()
: mixed
-
update_email()
: mixed
-
update_payment_method()
: mixed
-
add_subscription()
: mixed
-
checkPaymentGivenIfNeeded()
: mixed
-
checkValidPlan()
: mixed
-
getFields()
: mixed
-
update_customer()
: mixed
-
update_subscription()
: mixed
$has_payment_data
public
mixed
$has_payment_data
= false
$stripe
public
mixed
$stripe
$upcoming
public
mixed
$upcoming
$plans
private
static mixed
$plans
= ['twfy-1k', 'twfy-5k', 'twfy-10k', 'twfy-0k']
__construct()
public
__construct(mixed $arg) : mixed
Parameters
-
$arg
: mixed
-
checkForErrors()
public
checkForErrors() : mixed
public
createOrUpdateFromForm() : mixed
delete_from_redis()
public
delete_from_redis() : mixed
invoices()
public
invoices() : mixed
quota_status()
public
quota_status() : mixed
redis_reset_quota()
public
redis_reset_quota() : mixed
redis_update_max()
public
redis_update_max(mixed $plan) : mixed
Parameters
-
$plan
: mixed
-
update_email()
public
update_email(mixed $email) : mixed
Parameters
-
$email
: mixed
-
update_payment_method()
public
update_payment_method(mixed $payment_method) : mixed
Parameters
-
$payment_method
: mixed
-
add_subscription()
private
add_subscription(mixed $form_data) : mixed
Parameters
-
$form_data
: mixed
-
checkPaymentGivenIfNeeded()
private
checkPaymentGivenIfNeeded() : mixed
checkValidPlan()
private
checkValidPlan() : mixed
getFields()
private
getFields() : mixed
update_customer()
private
update_customer(mixed $args) : mixed
Parameters
-
$args
: mixed
-
update_subscription()
private
update_subscription(mixed $form_data) : mixed
Parameters
-
$form_data
: mixed
-