Method: ActiveMerchant::Billing::UsaEpayAdvancedGateway#get_customer_payment_methods

Defined in:
lib/active_merchant/billing/gateways/usa_epay_advanced.rb

#get_customer_payment_methods(options = {}) ⇒ Object

Retrieve all of the payment methods belonging to a customer

Required

  • :customer_number

Response

  • #message – either a single hash or an array of hashes of payment methods



497
498
499
500
501
502
# File 'lib/active_merchant/billing/gateways/usa_epay_advanced.rb', line 497

def get_customer_payment_methods(options = {})
  requires! options, :customer_number

  request = build_request(__method__, options)
  commit(__method__, request)
end