module GeeePay

encoding: utf-8

Constants

API_POST_NOTICE_URL

接口路径

SERVICE_BALANCE_QUERY

帐户余额查询-接口

SERVICE_ORDER_QUERY

订单状态查询-接口

SERVICE_PAY_APPLY

网银支付申请-接口

SERVICE_SCAN_PAY_APPLY

扫码支付申请-接口

SERVICE_WITHDRAW_APPLY

提现申请-接口

VERSION

Attributes

api_base_url[R]
debug_mode[RW]

mer_id 商户账号 mer_key 加密key

mer_id[RW]

mer_id 商户账号 mer_key 加密key

mer_key[RW]

mer_id 商户账号 mer_key 加密key

Public Class Methods

api_base_url=(url) click to toggle source
# File lib/geee_pay.rb, line 40
def api_base_url=(url)
  @api_base_url = url
end
client_params() click to toggle source
# File lib/geee_pay.rb, line 44
def client_params
  params = {"versionId" => @version,
            "merId" => @mer_id,
            "transType" => @trans_type,
            "signType" => @sign_type}
  @client_params = params
  @client_params
end
client_query_params() click to toggle source
# File lib/geee_pay.rb, line 53
def client_query_params
  params = {"merId" => @mer_id,
            "signType" => @sign_type}
  @client_query_params = params
  @client_query_params
end
debug_mode?() click to toggle source
# File lib/geee_pay.rb, line 60
def debug_mode?
  @debug_mode
end