module Braintree
  class Transaction
    class SubscriptionDetails # :nodoc:
      include BaseModule

      attr_reader :billing_period_start_date, :billing_period_end_date

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
      end
    end
  end
end
