class AcceptOn::Plan

Attributes

amount[R]

@attr_reader amount [Integer] The amount of the plan in cents @attr_reader currency [String] The ISO currency code of the refund @attr_reader id [String] The plan identifier @attr_reader name [String] The name of the plan @attr_reader period_unit [String] the billing frequency unit of the plan

@api public

currency[R]

@attr_reader amount [Integer] The amount of the plan in cents @attr_reader currency [String] The ISO currency code of the refund @attr_reader id [String] The plan identifier @attr_reader name [String] The name of the plan @attr_reader period_unit [String] the billing frequency unit of the plan

@api public

id[R]

@attr_reader amount [Integer] The amount of the plan in cents @attr_reader currency [String] The ISO currency code of the refund @attr_reader id [String] The plan identifier @attr_reader name [String] The name of the plan @attr_reader period_unit [String] the billing frequency unit of the plan

@api public

name[R]

@attr_reader amount [Integer] The amount of the plan in cents @attr_reader currency [String] The ISO currency code of the refund @attr_reader id [String] The plan identifier @attr_reader name [String] The name of the plan @attr_reader period_unit [String] the billing frequency unit of the plan

@api public

period_unit[R]

@attr_reader amount [Integer] The amount of the plan in cents @attr_reader currency [String] The ISO currency code of the refund @attr_reader id [String] The plan identifier @attr_reader name [String] The name of the plan @attr_reader period_unit [String] the billing frequency unit of the plan

@api public

Public Instance Methods

created_at() click to toggle source

The time the plan was created

@api public

@return [Time]

# File lib/accepton/plan.rb, line 17
def created_at
  Time.parse(@created_at).utc unless @created_at.nil?
end