Class: PayPal::Invoice::OtherPaymentDetails

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/invoice/other_payment_details.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#request_envelope

Instance Method Summary collapse

Methods inherited from Base

#request

Methods included from Common::Base

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

Instance Attribute Details

#dateObject

Returns the value of attribute date.



6
7
8
# File 'lib/paypal/invoice/other_payment_details.rb', line 6

def date
  @date
end

#methodObject

Returns the value of attribute method.



4
5
6
# File 'lib/paypal/invoice/other_payment_details.rb', line 4

def method
  @method
end

#noteObject

Returns the value of attribute note.



5
6
7
# File 'lib/paypal/invoice/other_payment_details.rb', line 5

def note
  @note
end

Instance Method Details

#set_date(value) ⇒ Object



8
9
10
# File 'lib/paypal/invoice/other_payment_details.rb', line 8

def set_date(value)
  self.date = build_datetime(value)
end