-
Notifications
You must be signed in to change notification settings - Fork 22
AddOn Discount
lyang edited this page Mar 16, 2013
·
1 revision
AddOn and Discount are both readonly models. You can only create / update them through Braintree's web UI.
They have exactly the same attributes.
[
:amount, :created_at, :description, :id, :kind, :merchant_id, :name,
:never_expires, :number_of_billing_cycles, :quantity, :updated_at
]
None.
None.
None.
Returns an array of BraintreeRails::AddOn
. Wraps Braintree::AddOn.all
behind the scenes.
A convenient find method is added. It looks for the given id in AddOn.all
.