Class: PayPal::Invoice::BusinessInfo
- Defined in:
- lib/paypal/invoice/business_info.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#business_name ⇒ Object
Returns the value of attribute business_name.
-
#custom_value ⇒ Object
Returns the value of attribute custom_value.
-
#fax ⇒ Object
Returns the value of attribute fax.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#website ⇒ Object
Returns the value of attribute website.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Common::Base
#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
11 12 13 |
# File 'lib/paypal/invoice/business_info.rb', line 11 def address @address end |
#business_name ⇒ Object
Returns the value of attribute business_name.
6 7 8 |
# File 'lib/paypal/invoice/business_info.rb', line 6 def business_name @business_name end |
#custom_value ⇒ Object
Returns the value of attribute custom_value.
10 11 12 |
# File 'lib/paypal/invoice/business_info.rb', line 10 def custom_value @custom_value end |
#fax ⇒ Object
Returns the value of attribute fax.
8 9 10 |
# File 'lib/paypal/invoice/business_info.rb', line 8 def fax @fax end |
#first_name ⇒ Object
Returns the value of attribute first_name.
4 5 6 |
# File 'lib/paypal/invoice/business_info.rb', line 4 def first_name @first_name end |
#last_name ⇒ Object
Returns the value of attribute last_name.
5 6 7 |
# File 'lib/paypal/invoice/business_info.rb', line 5 def last_name @last_name end |
#phone ⇒ Object
Returns the value of attribute phone.
7 8 9 |
# File 'lib/paypal/invoice/business_info.rb', line 7 def phone @phone end |
#website ⇒ Object
Returns the value of attribute website.
9 10 11 |
# File 'lib/paypal/invoice/business_info.rb', line 9 def website @website end |
Instance Method Details
#set_address(value) ⇒ Object
13 14 15 |
# File 'lib/paypal/invoice/business_info.rb', line 13 def set_address(value) self.address = build_value(BaseAddress, value) end |