class SubscriptionService extends Controller (View source)

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Methods

__construct()

No description

Response
index()

Display a listing of the resource.

Response
swapForFree( Subscription $subscription)

Swap subscription.

cart( Subscription $subscription)

No description

checkout( Subscription $subscription, SubscriptionPurchaseRequest $request)

No description

Details

at line line 18
__construct()

at line line 31
Response index()

Display a listing of the resource.

Return Value

Response

at line line 48
Response swapForFree( Subscription $subscription)

Swap subscription.

Parameters

Subscription $subscription

Return Value

Response

at line line 61
cart( Subscription $subscription)

Parameters

Subscription $subscription

at line line 77
checkout( Subscription $subscription, SubscriptionPurchaseRequest $request)

Parameters

Subscription $subscription
SubscriptionPurchaseRequest $request