Module: Lanmao::Api::Trade::ConfirmCheckfile

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

Instance Method Summary collapse

Instance Method Details

#confirm_checkfile(flow_id, file_date, detail, file_type) ⇒ Hash

对账文件确认

Returns:

  • (Hash)

    结果集

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

    • :request_params [Hash] 请求参数

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

    • :code [String] 结果代码

    • :msg [String] 结果信息

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

      * :code [Enum] 


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/lanmao/api/trade/confirm_checkfile.rb', line 20

def confirm_checkfile(flow_id, file_date, detail, file_type)

  service = "CONFIRM_CHECKFILE"

  params = {
    requestNo: flow_id,
    fileDate: file_date,
    detail: detail,
    fileType: file_type
  }

  res = operate_post(:operate, service, params, :service)
  
  res
end