Class: PayPal::AdaptivePayments::Response::RefundInfo

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

#encrypted_refund_transaction_idObject

Returns the value of attribute encrypted_refund_transaction_id.



12
13
14
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 12

def encrypted_refund_transaction_id
  @encrypted_refund_transaction_id
end

#error_listObject

Returns the value of attribute error_list.



14
15
16
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 14

def error_list
  @error_list
end

#receiverObject

Returns the value of attribute receiver.



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

def receiver
  @receiver
end

#refund_fee_amountObject

Returns the value of attribute refund_fee_amount.



8
9
10
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 8

def refund_fee_amount
  @refund_fee_amount
end

#refund_gross_amountObject

Returns the value of attribute refund_gross_amount.



9
10
11
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 9

def refund_gross_amount
  @refund_gross_amount
end

#refund_has_become_fullObject

Returns the value of attribute refund_has_become_full.



11
12
13
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 11

def refund_has_become_full
  @refund_has_become_full
end

#refund_net_amountObject

Returns the value of attribute refund_net_amount.



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

def refund_net_amount
  @refund_net_amount
end

#refund_statusObject

Returns the value of attribute refund_status.



6
7
8
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 6

def refund_status
  @refund_status
end

#refund_transaction_statusObject

Returns the value of attribute refund_transaction_status.



13
14
15
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 13

def refund_transaction_status
  @refund_transaction_status
end

#total_of_all_refundsObject

Returns the value of attribute total_of_all_refunds.



10
11
12
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 10

def total_of_all_refunds
  @total_of_all_refunds
end

Instance Method Details

#errorsObject



20
21
22
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 20

def errors
  self.error_list.error
end

#set_receiver(value) ⇒ Object



16
17
18
# File 'lib/paypal/adaptive_payments/response/refund_info.rb', line 16

def set_receiver(value)
  self.receiver = build_value(Receiver, value)
end