Class: PayPal::Invoice::PayPalPaymentDetails

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/invoice/paypal_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.



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

def date
  @date
end

#transaction_idObject

Returns the value of attribute transaction_id.



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

def transaction_id
  @transaction_id
end

Instance Method Details

#set_date(value) ⇒ Object



7
8
9
# File 'lib/paypal/invoice/paypal_payment_details.rb', line 7

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