Plan
Returned directly or within a successful result object from the following requests:
Attributes
getAddOns()
arrayThe collection of add-ons associated with a subscription.
The value that specifies the day of the month that the gateway will charge the subscription on every billing cycle.
Specifies the billing interval of the plan in months.
getCreatedAt()
CalendarThe date/time the plan was created. Returned in UTC.
getCurrencyIsoCode()
stringThe currency for the transaction (e.g. "USD" for US dollars). See the ISO 4217 codes.
getDescription()
stringA description of the plan.
getDiscounts()
arrayA collection of discounts associated with this subscription.
getId()
stringThe plan identifier.
getName()
stringThe name of the plan.
Specifies the number of billing cycles of the plan.
getPrice()
BigDecimalThe base price specified for a plan, formatted like "10" or "10.00".
The trial timeframe specified in a plan.
getTrialDurationUnit()
stringThe trial unit specified in a plan. Specify day
or month
. Specifying a trial duration unit via the API will override the subscription's plan details.
A value indicating whether a subscription should begin with a trial period. Specifying a trial period via the API will override the subscription's plan details.
getUpdatedAt()
CalendarThe date/time the plan was last updated. Returned in UTC.