Class: Braintree::VenmoProfileData
- Inherits:
-
Object
- Object
- Braintree::VenmoProfileData
- Includes:
- BaseModule
- Defined in:
- lib/braintree/venmo_profile_data.rb
Instance Attribute Summary collapse
-
#billing_address ⇒ Object
readonly
Returns the value of attribute billing_address.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#phone_number ⇒ Object
readonly
Returns the value of attribute phone_number.
-
#shipping_address ⇒ Object
readonly
Returns the value of attribute shipping_address.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes) ⇒ VenmoProfileData
constructor
A new instance of VenmoProfileData.
Methods included from BaseModule
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_address ⇒ Object (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 |
#email ⇒ Object (readonly)
Returns the value of attribute email.
6 7 8 |
# File 'lib/braintree/venmo_profile_data.rb', line 6 def email @email end |
#first_name ⇒ Object (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_name ⇒ Object (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_number ⇒ Object (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_address ⇒ Object (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 |
#username ⇒ Object (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 |