Class: PayPal::AdaptivePayments::Response::ShippingAddress
- Inherits:
-
Object
- Object
- PayPal::AdaptivePayments::Response::ShippingAddress
- Includes:
- Common::Response
- Defined in:
- lib/paypal/adaptive_payments/response/shipping_address.rb
Instance Attribute Summary collapse
-
#selectedAddress ⇒ Object
Returns the value of attribute selectedAddress.
Attributes included from Common::Response
Instance Method Summary collapse
Methods included from Common::Response
#errors, #set_error, #set_response_envelope, #success?, #valid?
Methods included from Common::Base
#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore
Instance Attribute Details
#selectedAddress ⇒ Object
Returns the value of attribute selectedAddress.
5 6 7 |
# File 'lib/paypal/adaptive_payments/response/shipping_address.rb', line 5 def selectedAddress @selectedAddress end |
Instance Method Details
#set_selected_address(value) ⇒ Object
7 8 9 |
# File 'lib/paypal/adaptive_payments/response/shipping_address.rb', line 7 def set_selected_address(value) self.selected_address = build_value(Address, value) end |