Class Subscription
Describes a recurring product
- mcfedr\Paypal\Products\Product
- mcfedr\Paypal\Products\Subscription
public
|
|
public
|
string |
DAYS
|
'D' |
|
string |
WEEKS
|
'W' |
|
string |
MONTHS
|
'M' |
|
string |
YEARS
|
'Y' |
public
integer
|
$duration |
|
#
The length of the subscription |
public
string
|
$units |
|
#
Unit used for |
public
float
|
$trialAmount |
|
#
Trial price of the product |
public
integer
|
$trialDuration |
|
#
The length of the trial subscription |
public
string
|
$trialUnits |
|
#
Unit used for |
public
boolean
|
$recurring | true |
#
Is this a recurring subscription |
public
integer
|
$recurLimit |
|
#
Number of times to recur |
public
boolean
|
$reattempt | true |
#
Whether to reattempt collection of payment when it fails |
public
boolean
|
$allowNew | true |
#
Can the user signup for a new subscription with this button |
public
boolean
|
$allowModify | false |
#
Can the user modify their existing subscription with this button |
public
boolean
|
$generateUsernameAndPassword | false |
#
Let paypal generate a username and password |
public
string
|
$subscriptionId |
|
#
The paypal id for this subscription Set for notification |
public
string
|
$username |
|
#
The generated username |
public
string
|
$password |
|
#
The generated password |
$amount,
$fee,
$id,
$name
|