class Braintree::Transaction::SubscriptionDetails
Attributes
billing_period_end_date[R]
billing_period_start_date[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/braintree/transaction/subscription_details.rb, line 9 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? @billing_period_start_date = Date.parse(billing_period_start_date) unless billing_period_start_date.nil? @billing_period_end_date = Date.parse(billing_period_end_date) unless billing_period_end_date.nil? end