class PayPal::SDK::REST::DataTypes::CreditCardList

Public Class Methods

list(options={}) click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1160
def list(options={})
  # for entire list of filter options, see https://developer.paypal.com/webapps/developer/docs/api/#list-credit-card-resources
  path = "v1/vault/credit-cards"
  response = api.get(path, options)
  self.new(response)
end
load_members() click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1152
def self.load_members
  array_of  :items, CreditCard
  object_of :total_items, Integer
  object_of :total_pages, Integer
  array_of :links, Links
end