Class: Braintree::VenmoProfileData

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

Instance Attribute Summary collapse

Class Method 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) ⇒ VenmoProfileData

Returns a new instance of VenmoProfileData.



13
14
15
# File 'lib/braintree/venmo_profile_data.rb', line 13

def initialize(attributes)
  set_instance_variables_from_hash(attributes)
end

Instance Attribute Details

#billing_addressObject (readonly)

Returns the value of attribute billing_address.



5
6
7
# File 'lib/braintree/venmo_profile_data.rb', line 5

def billing_address
  @billing_address
end

#emailObject (readonly)

Returns the value of attribute email.



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

def email
  @email
end

#first_nameObject (readonly)

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#last_nameObject (readonly)

Returns the value of attribute last_name.



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

def last_name
  @last_name
end

#phone_numberObject (readonly)

Returns the value of attribute phone_number.



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

def phone_number
  @phone_number
end

#shipping_addressObject (readonly)

Returns the value of attribute shipping_address.



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

def shipping_address
  @shipping_address
end

#usernameObject (readonly)

Returns the value of attribute username.



11
12
13
# File 'lib/braintree/venmo_profile_data.rb', line 11

def username
  @username
end

Class Method Details

._new(*args) ⇒ Object



21
22
23
# File 'lib/braintree/venmo_profile_data.rb', line 21

def self._new(*args)
  self.new(*args)
end