Class: Braintree::Transaction::SubscriptionDetails

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/transaction/subscription_details.rb

Overview

:nodoc:

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods included from BaseModule

included

Methods included from BaseModule::Methods

#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class

Constructor Details

- (SubscriptionDetails) initialize(attributes)

A new instance of SubscriptionDetails



8
9
10
# File 'lib/braintree/transaction/subscription_details.rb', line 8

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

Instance Attribute Details

- (Object) billing_period_end_date (readonly)

Returns the value of attribute billing_period_end_date



6
7
8
# File 'lib/braintree/transaction/subscription_details.rb', line 6

def billing_period_end_date
  @billing_period_end_date
end

- (Object) billing_period_start_date (readonly)

Returns the value of attribute billing_period_start_date



6
7
8
# File 'lib/braintree/transaction/subscription_details.rb', line 6

def billing_period_start_date
  @billing_period_start_date
end