NAME

WebService::Braintree::_::Plan

PURPOSE

This class represents a subscription plan.

This class will only be created as part of a response or error response.

ATTRIBUTES

add_ons()

This returns the plan's discounts. This will be an arrayref of add-ons.

billing_day_of_month()

This returns the plan's billing day of month.

billing_frequency()

This returns the plan's billing frequency.

created_at()

This returns when this plan was created.

currency_iso_code()

This returns the plan's currency ISO code.

description()

This returns the plan's description.

discounts()

This returns the plan's discounts. This will be an arrayref of discounts.

id()

This returns the plan's ID.

merchant_id()

This returns the plan's merchant ID.

name()

This returns the plan's name.

number_of_billing_cycles()

This returns the plan's number of billing cycles.

price()

This returns the plan's price.

trial_duration()

This returns the plan's trial duration.

trial_duration_unit()

This returns the plan's unit of time for the trial duration.

trial_period()

This returns the plan's trial period.

updated_at()

This returns when this plan was last updated.