Class: Braintree::Transaction::VenmoAccountDetails

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

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

#initialize(attributes) ⇒ VenmoAccountDetails

Returns a new instance of VenmoAccountDetails.


12
13
14
# File 'lib/braintree/transaction/venmo_account_details.rb', line 12

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

Instance Attribute Details

#image_urlObject (readonly)

Returns the value of attribute image_url.


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

def image_url
  @image_url
end

#source_descriptionObject (readonly)

Returns the value of attribute source_description.


7
8
9
# File 'lib/braintree/transaction/venmo_account_details.rb', line 7

def source_description
  @source_description
end

#tokenObject (readonly)

Returns the value of attribute token.


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

def token
  @token
end

#usernameObject (readonly)

Returns the value of attribute username.


9
10
11
# File 'lib/braintree/transaction/venmo_account_details.rb', line 9

def username
  @username
end

#venmo_user_idObject (readonly)

Returns the value of attribute venmo_user_id.


10
11
12
# File 'lib/braintree/transaction/venmo_account_details.rb', line 10

def venmo_user_id
  @venmo_user_id
end