Class: PayPal::AdaptivePayments::PaymentInfoList

Inherits:
Object
  • Object
show all
Includes:
Common::Base
Defined in:
lib/paypal/adaptive_payments/payment_info_list.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

#payment_infoObject

Returns the value of attribute payment_info.



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

def payment_info
  @payment_info
end

Instance Method Details

#set_payment_info(value) ⇒ Object



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

def set_payment_info(value)
  self.payment_info = build_value(PaymentInfo, value)
end