Class: ActiveMerchant::Billing::PaypalPaymentDetailsResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb

Instance Attribute Summary

Attributes inherited from Response

#authorization, #avs_result, #cvv_result, #message, #params, #test

Instance Method Summary collapse

Methods inherited from Response

#fraud_review?, #initialize, #success?, #test?

Constructor Details

This class inherits a constructor from ActiveMerchant::Billing::Response

Instance Method Details

#action_typeObject



4
5
6
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 4

def action_type
  @params['action_type']
end

#cancel_urlObject



8
9
10
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 8

def cancel_url
  @params['cancel_url']
end

#currency_codeObject



12
13
14
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 12

def currency_code
  @params['currency_code']
end

#fees_payerObject



16
17
18
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 16

def fees_payer
  @params['fees_payer']
end

#ipn_notification_urlObject



20
21
22
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 20

def ipn_notification_url
  @params['ipn_notification_url']
end

#log_default_shipping_addressObject



60
61
62
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 60

def log_default_shipping_address
  @params['log_default_shipping_address'] == 'true'
end

#memoObject



24
25
26
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 24

def memo
  @params['memo']
end

#payment_listObject



28
29
30
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 28

def payment_list
  @params['payment_list']
end

#preapproval_keyObject



64
65
66
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 64

def preapproval_key
  @params['preapproval_key']
end

#return_urlObject



32
33
34
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 32

def return_url
  @params['return_url']
end

#reverse_all_parallel_payments_on_errorObject



56
57
58
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 56

def reverse_all_parallel_payments_on_error
  @params['reverse_all_parallel_payments_on_error'] == 'true'
end

#sender_emailObject



40
41
42
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 40

def sender_email
  @params['sender_email']
end

#statusObject



44
45
46
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 44

def status
  @params['status']
end

#tracking_idObject



48
49
50
# File 'lib/active_merchant/billing/gateways/paypal/paypal_payment_details_response.rb', line 48

def tracking_id
  @params['tracking_id']
end