lucee.Componentcbstripe.Stripe
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
gatewayBaseUrl
|
true
|
false
|
|
any
|
secretKey
|
true
|
false
|
Constructor Summary | |
---|---|
init([string gatewayBaseUrl='https://api.stripe.com/v1/'], [string secretKey=''])
|
Method Summary | |
---|---|
any
|
cancelSubscription([any id], [any plan], [any at_period_end='false'])
|
any
|
createCard(string number, any exp_month, any exp_year, [any cvc=''], [any name=''], [any address_line1=''], [any address_line2=''], [any address_zip=''], [any address_state=''], [any address_country=''])
|
any
|
createCharge(any money, any card, [string description=''])
|
any
|
createCoupon([any id], [any percent_off], [any duration], [any duration_in_months=''], [any max_redemptions=''], [any redeem_by=''])
|
any
|
createCustomer([any card], [string coupon=''], [string email=''], [string description=''], [string plan=''], [any trial_end=''])
|
any
|
createInvoiceItem(any customer, Money money, any description)
|
any
|
createMoney(numeric cents, [any currency='usd'])
|
any
|
createPlan(string id, Money money, any interval, any name, [any trial_period_days])
|
any
|
createToken(any card, [Money money])
|
any
|
dateToUTC(any date)
|
any
|
deleteCoupon(string id)
|
any
|
deleteInvoiceItem(string id)
|
any
|
deletePlan(string id)
|
any
|
doHttp([string url], [struct payload], [string method='post'])
|
string
|
getGatewayBaseUrl()
|
string
|
getSecretKey()
|
any
|
getVersion()
|
any
|
listCharges([numeric count='10'])
|
any
|
listCoupons([numeric count='10'])
|
any
|
listCustomers([numeric count='10'])
|
any
|
listInvoiceItems([numeric count='10'])
|
any
|
listInvoices([numeric count='10'])
|
any
|
listPlans([numeric count='10'])
|
any
|
process([string gatewayUrl], [struct payload], [any method='post'])
|
any
|
refundCharge(string id, [numeric amount])
|
any
|
retrieveCharge(string id)
|
any
|
retrieveCoupon(string id)
|
any
|
retrieveCustomer(string id)
|
any
|
retrieveInvoice(string id)
|
any
|
retrieveInvoiceItem(string id)
|
any
|
retrievePlan(string id)
|
any
|
retrieveToken(string id)
|
any
|
retrieveUpcomingInvoice(string customer)
|
any
|
setGatewayBaseUrl(any gatewayBaseUrl)
|
any
|
setSecretKey(any secretKey)
|
any
|
updateCustomer(string id, [string email], [string description])
|
any
|
updateInvoiceItem(string id, Money money, string description)
|
any
|
updateSubscription([any id], [any plan], [any prorate='true'], [any trial_end=''], [any card=''])
|
any
|
UTCToDate([any utcDate])
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
gatewayBaseUrl
secretKey
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
id
plan
at_period_end
number
exp_month
exp_year
cvc
name
address_line1
address_line2
address_zip
address_state
address_country
money
card
description
id
percent_off
duration
duration_in_months
max_redemptions
redeem_by
card
coupon
email
description
plan
trial_end
customer
money
description
cents
currency
id
money
interval
name
trial_period_days
card
money
date
id
id
id
url
payload
method
count
count
count
count
count
count
gatewayUrl
payload
method
id
amount
id
id
id
id
id
id
id
customer
gatewayBaseUrl
secretKey
id
email
description
id
money
description
id
plan
prorate
trial_end
card
utcDate