Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Laravel
Cashier
SubscriptionBuilder
withCoupon
Laravel\Cashier\SubscriptionBuilder::withCoupon PHP Method
SubscriptionBuilder Class Documentation
Datei anzeigen
Open project: laravel/cashier-braintree
withCoupon()
public
method
The coupon to apply to a new subscription.
public
withCoupon
(
string
$coupon
)
$coupon
string
public function withCoupon($coupon) { $this->coupon = $coupon; return $this; }
SubscriptionBuilder
__construct
add
addCouponToPayload
create
getBraintreeCustomer
getSubscriptionPayload
skipTrial
trialDays
withCoupon