PHP 클래스 Laravel\Cashier\Http\Controllers\WebhookController

상속: extends Illuminate\Routing\Controller
파일 보기 프로젝트 열기: laravel/cashier-braintree 1 사용 예제들

공개 메소드들

메소드 설명
handleWebhook ( Illuminate\Http\Request $request ) : Response Handle a Braintree webhook call.
missingMethod ( array $parameters = [] ) : mixed Handle calls to missing methods on the controller.

보호된 메소드들

메소드 설명
cancelSubscription ( string $subscriptionId ) : Illuminate\Http\Response Handle a subscription cancellation notification from Braintree.
getSubscriptionById ( string $subscriptionId ) : mixed Get the user for the given subscription ID.
handleSubscriptionCanceled ( WebhookNotification $webhook ) : Illuminate\Http\Response Handle a subscription cancellation notification from Braintree.
handleSubscriptionExpired ( WebhookNotification $webhook ) : Illuminate\Http\Response Handle a subscription expiration notification from Braintree.
parseBraintreeNotification ( Illuminate\Http\Request $request ) : WebhookNotification Parse the given Braintree webhook notification request.

메소드 상세

cancelSubscription() 보호된 메소드

Handle a subscription cancellation notification from Braintree.
protected cancelSubscription ( string $subscriptionId ) : Illuminate\Http\Response
$subscriptionId string
리턴 Illuminate\Http\Response

getSubscriptionById() 보호된 메소드

Get the user for the given subscription ID.
protected getSubscriptionById ( string $subscriptionId ) : mixed
$subscriptionId string
리턴 mixed

handleSubscriptionCanceled() 보호된 메소드

Handle a subscription cancellation notification from Braintree.
protected handleSubscriptionCanceled ( WebhookNotification $webhook ) : Illuminate\Http\Response
$webhook Braintree\WebhookNotification
리턴 Illuminate\Http\Response

handleSubscriptionExpired() 보호된 메소드

Handle a subscription expiration notification from Braintree.
protected handleSubscriptionExpired ( WebhookNotification $webhook ) : Illuminate\Http\Response
$webhook Braintree\WebhookNotification
리턴 Illuminate\Http\Response

handleWebhook() 공개 메소드

Handle a Braintree webhook call.
public handleWebhook ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
리턴 Symfony\Component\HttpFoundation\Response

missingMethod() 공개 메소드

Handle calls to missing methods on the controller.
public missingMethod ( array $parameters = [] ) : mixed
$parameters array
리턴 mixed

parseBraintreeNotification() 보호된 메소드

Parse the given Braintree webhook notification request.
protected parseBraintreeNotification ( Illuminate\Http\Request $request ) : WebhookNotification
$request Illuminate\Http\Request
리턴 Braintree\WebhookNotification