Class: PayPal::AdaptivePayments::PaymentInfo
- Inherits:
-
Object
- Object
- PayPal::AdaptivePayments::PaymentInfo
- Includes:
- Common::Base
- Defined in:
- lib/paypal/adaptive_payments/payment_info.rb
Instance Attribute Summary collapse
-
#pending_reason ⇒ Object
Returns the value of attribute pending_reason.
-
#pending_refund ⇒ Object
Returns the value of attribute pending_refund.
-
#receiver ⇒ Object
Returns the value of attribute receiver.
-
#refunded_amount ⇒ Object
Returns the value of attribute refunded_amount.
-
#sender_transaction_id ⇒ Object
Returns the value of attribute sender_transaction_id.
-
#sender_transaction_status ⇒ Object
Returns the value of attribute sender_transaction_status.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
-
#transaction_status ⇒ Object
Returns the value of attribute transaction_status.
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
#pending_reason ⇒ Object
Returns the value of attribute pending_reason.
12 13 14 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 12 def pending_reason @pending_reason end |
#pending_refund ⇒ Object
Returns the value of attribute pending_refund.
9 10 11 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 9 def pending_refund @pending_refund end |
#receiver ⇒ Object
Returns the value of attribute receiver.
7 8 9 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 7 def receiver @receiver end |
#refunded_amount ⇒ Object
Returns the value of attribute refunded_amount.
8 9 10 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 8 def refunded_amount @refunded_amount end |
#sender_transaction_id ⇒ Object
Returns the value of attribute sender_transaction_id.
10 11 12 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 10 def sender_transaction_id @sender_transaction_id end |
#sender_transaction_status ⇒ Object
Returns the value of attribute sender_transaction_status.
11 12 13 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 11 def sender_transaction_status @sender_transaction_status end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
5 6 7 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 5 def transaction_id @transaction_id end |
#transaction_status ⇒ Object
Returns the value of attribute transaction_status.
6 7 8 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 6 def transaction_status @transaction_status end |
Instance Method Details
#set_receiver(value) ⇒ Object
14 15 16 |
# File 'lib/paypal/adaptive_payments/payment_info.rb', line 14 def set_receiver(value) self.receiver = build_value(Receiver, value) end |