Class: PayPal::AdaptivePayments::Response::Address

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

Returns the value of attribute address_id.



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

def address_id
  @address_id
end

#address_nameObject

Returns the value of attribute address_name.



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

def address_name
  @address_name
end

#base_addressObject

Returns the value of attribute base_address.



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

def base_address
  @base_address
end

Instance Method Details

#set_base_address(value) ⇒ Object



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

def set_base_address(value)
  self.base_address = build_value(BaseAddress, value)
end