Class: PayPal::ExpressCheckout::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/paypal/express_checkout/account.rb

Constant Summary

Constants included from Fields

Fields::ASSOCIATIONS, Fields::ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Base

#initialize, #request, #run

Methods included from Fields

#field_map, #group_collect, #group_fields, #has_fields?, #has_many?, included, #inverted_field_map

Constructor Details

This class inherits a constructor from PayPal::ExpressCheckout::Base

Instance Method Details

#balanceObject



10
11
12
13
# File 'lib/paypal/express_checkout/account.rb', line 10

def balance
  params = collect(:all_currencies)
  run(:balance, params)
end

#pal_detailsObject



6
7
8
# File 'lib/paypal/express_checkout/account.rb', line 6

def pal_details
  run(:pal_details)
end