Class: Files::PaypalExpressInfo
- Inherits:
-
Object
- Object
- Files::PaypalExpressInfo
- Defined in:
- lib/files.com/models/paypal_express_info.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#billing_address ⇒ Object
string - Paypal billing address.
-
#billing_address_2 ⇒ Object
string - Paypal billing address 2.
-
#billing_city ⇒ Object
string - Paypal billing city.
-
#billing_company_name ⇒ Object
string - Paypal billing company name.
-
#billing_country ⇒ Object
string - Paypal billing country.
-
#billing_email ⇒ Object
email - Paypal billing email.
-
#billing_name ⇒ Object
string - Paypal billing name.
-
#billing_phone ⇒ Object
string - Paypal billing phone.
-
#billing_state ⇒ Object
string - Paypal billing state.
-
#billing_zip ⇒ Object
string - Paypal billing zipcode.
-
#initialize(attributes = {}, options = {}) ⇒ PaypalExpressInfo
constructor
A new instance of PaypalExpressInfo.
-
#paypal_payer_id ⇒ Object
int64 - Paypal payer ID.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ PaypalExpressInfo
Returns a new instance of PaypalExpressInfo.
7 8 9 10 |
# File 'lib/files.com/models/paypal_express_info.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/paypal_express_info.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/paypal_express_info.rb', line 5 def @options end |
Instance Method Details
#billing_address ⇒ Object
string - Paypal billing address
23 24 25 |
# File 'lib/files.com/models/paypal_express_info.rb', line 23 def billing_address @attributes[:billing_address] end |
#billing_address_2 ⇒ Object
string - Paypal billing address 2
28 29 30 |
# File 'lib/files.com/models/paypal_express_info.rb', line 28 def billing_address_2 @attributes[:billing_address_2] end |
#billing_city ⇒ Object
string - Paypal billing city
33 34 35 |
# File 'lib/files.com/models/paypal_express_info.rb', line 33 def billing_city @attributes[:billing_city] end |
#billing_company_name ⇒ Object
string - Paypal billing company name
18 19 20 |
# File 'lib/files.com/models/paypal_express_info.rb', line 18 def billing_company_name @attributes[:billing_company_name] end |
#billing_country ⇒ Object
string - Paypal billing country
43 44 45 |
# File 'lib/files.com/models/paypal_express_info.rb', line 43 def billing_country @attributes[:billing_country] end |
#billing_email ⇒ Object
email - Paypal billing email
13 14 15 |
# File 'lib/files.com/models/paypal_express_info.rb', line 13 def billing_email @attributes[:billing_email] end |
#billing_name ⇒ Object
string - Paypal billing name
53 54 55 |
# File 'lib/files.com/models/paypal_express_info.rb', line 53 def billing_name @attributes[:billing_name] end |
#billing_phone ⇒ Object
string - Paypal billing phone
58 59 60 |
# File 'lib/files.com/models/paypal_express_info.rb', line 58 def billing_phone @attributes[:billing_phone] end |
#billing_state ⇒ Object
string - Paypal billing state
38 39 40 |
# File 'lib/files.com/models/paypal_express_info.rb', line 38 def billing_state @attributes[:billing_state] end |
#billing_zip ⇒ Object
string - Paypal billing zipcode
48 49 50 |
# File 'lib/files.com/models/paypal_express_info.rb', line 48 def billing_zip @attributes[:billing_zip] end |
#paypal_payer_id ⇒ Object
int64 - Paypal payer ID
63 64 65 |
# File 'lib/files.com/models/paypal_express_info.rb', line 63 def paypal_payer_id @attributes[:paypal_payer_id] end |