Module: Lanmao::Api::Trade::DownloadCheckfile

Defined in:
lib/lanmao/api/trade/download_checkfile.rb

Instance Method Summary collapse

Instance Method Details

#download_checkfile(file_date) ⇒ Hash

对账文件下载

Returns:

  • (Hash)

    结果集

    • :result [String] “S”/“F”/“P”

    • :request_params [Hash] 请求参数

    • :response [Object] 请求返回对象

    • :code [String] 结果代码

    • :msg [String] 结果信息

    • :data: 具体业务返回信息

      * :File [file] 对账文件
      


17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/lanmao/api/trade/download_checkfile.rb', line 17

def download_checkfile(file_date)

  service = "DOWNLOAD_CHECKFILE"

  params = {
    fileDate: file_date
  }

  res = download_post(service, params, :download)

  res
end