Class: Files::PaypalExpressInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/files.com/models/paypal_express_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = {}, options = {})
  @attributes = attributes || {}
  @options = options || {}
end

Instance Attribute Details

#attributesObject (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

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/files.com/models/paypal_express_info.rb', line 5

def options
  @options
end

Instance Method Details

#billing_addressObject

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_2Object

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_cityObject

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_nameObject

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_countryObject

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_emailObject

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_nameObject

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_phoneObject

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_stateObject

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_zipObject

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_idObject

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