lib/lanmao/form/money/recharge_form.rb in lanmao-0.15.0 vs lib/lanmao/form/money/recharge_form.rb in lanmao-0.16.0

- old
+ new

@@ -28,15 +28,15 @@ # * :transactionTime [String] 交易完成时间 # * :channelErrorCode [String] 支付通道错误码(若快捷充值回调方式传入 DIRECT_CALLBACK,则返回 此参数)技术支持单独提供 # * :channelErrorMessage [String] 支付通道返回错误消息(若快捷充值回调方式传入 DIRECT_CALLBACK, 则返回此参数)技术支持单独提供 # def recharge_form(platform_user_no, request_no, amount, - expect_pay_company, recharge_way="SWIFT", + expect_pay_company, recharge_way, redirect_url, expired, commission, bankcode, pay_type, authtrade_type, authtender_amount, - project_no, callback_mode) + project_no, callback_mode, swift_route='ORIGNAL_SWIFT') service = "RECHARGE" params = { platformUserNo: platform_user_no, @@ -51,9 +51,10 @@ payType: pay_type, authtradeType: authtrade_type, authtenderAmount: authtender_amount, projectNo: project_no, callbackMode: callback_mode, + swiftRoute: swift_route, } res = get_form_data(service, params) res