Class: Paypal::Payment::Response::Reference

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/payment/response/reference.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Util

#==, formatted_amount, #numeric_attribute?, to_numeric

Constructor Details

#initialize(attributes = {}) ⇒ Reference

Returns a new instance of Reference.



8
9
10
11
# File 'lib/paypal/payment/response/reference.rb', line 8

def initialize(attributes = {})
  super
  store_payee_info(attributes) if attributes[:payee_email]
end

Instance Attribute Details

#infoObject

Returns the value of attribute info.



6
7
8
# File 'lib/paypal/payment/response/reference.rb', line 6

def info
  @info
end

#payee_infoObject

Returns the value of attribute payee_info.



6
7
8
# File 'lib/paypal/payment/response/reference.rb', line 6

def payee_info
  @payee_info
end