Class: PayPal::AdaptivePayments::Response::BaseAddress

Inherits:
Object
  • Object
show all
Includes:
Common::Base
Defined in:
lib/paypal/adaptive_payments/response/base_address.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Common::Base

#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore

Instance Attribute Details

#cityObject

Returns the value of attribute city.



7
8
9
# File 'lib/paypal/adaptive_payments/response/base_address.rb', line 7

def city
  @city
end

#country_codeObject

Returns the value of attribute country_code.



10
11
12
# File 'lib/paypal/adaptive_payments/response/base_address.rb', line 10

def country_code
  @country_code
end

#line1Object

Returns the value of attribute line1.



5
6
7
# File 'lib/paypal/adaptive_payments/response/base_address.rb', line 5

def line1
  @line1
end

#line2Object

Returns the value of attribute line2.



6
7
8
# File 'lib/paypal/adaptive_payments/response/base_address.rb', line 6

def line2
  @line2
end

#postal_codeObject

Returns the value of attribute postal_code.



9
10
11
# File 'lib/paypal/adaptive_payments/response/base_address.rb', line 9

def postal_code
  @postal_code
end

#stateObject

Returns the value of attribute state.



8
9
10
# File 'lib/paypal/adaptive_payments/response/base_address.rb', line 8

def state
  @state
end

#typeObject

Returns the value of attribute type.



11
12
13
# File 'lib/paypal/adaptive_payments/response/base_address.rb', line 11

def type
  @type
end