reapal 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be60bcdf7da673c1efec99bbb980d48439b104f5
|
4
|
+
data.tar.gz: beac703ef85c812561cac626da97f90cd332b6ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621e5854d95d556e914f4d7c5ae8c48817dde78d02b202de2737c8953998d69d3a6aa43fa6169fda10c5ad3789955ccdf6c26a3a27570cbdc0e3eaf19446a50f
|
7
|
+
data.tar.gz: 6e0df7c26be03fbac1abfd14afc227b7f75eb46fd5c1ea0482f6e780e08f84ccd93a8901a3526f1e5ecc7b143d8f52a3fd4bf93ffda0b0ff510099b66dc1e207
|
@@ -16,6 +16,10 @@ module Reapal
|
|
16
16
|
# @param guarant_contract [String] 担保方协议号
|
17
17
|
# @param commissioned_contract [String] 受托方协议号
|
18
18
|
# @param tender_status [String] 标的状态 02:募集中 03:已放款 04:已结清
|
19
|
+
# @param returned_principal [BigDecimal] 历史已还款金额
|
20
|
+
# @param returned_interest [BigDecimal] 历史已还款利息
|
21
|
+
# @param returned_fee [BigDecimal] 历史已还款手续费
|
22
|
+
# @param returned_def_amount [BigDecimal] 历史已还款罚息
|
19
23
|
# @param busway [String] 设备通道, '00':PC端;'01':手机端(默认);'02':Pad端;'03':其它
|
20
24
|
# @param remark [String] 备注
|
21
25
|
#
|
@@ -30,8 +34,11 @@ module Reapal
|
|
30
34
|
# * :resultCode [String] 结果代码 0000:成功
|
31
35
|
#
|
32
36
|
def history_tender_info_modify(flow_id, tender_no, fee_amount, refund_term,
|
33
|
-
tender_type, debit_contracts, guarant_contract=
|
34
|
-
commissioned_contract=
|
37
|
+
tender_type, debit_contracts, guarant_contract='',
|
38
|
+
commissioned_contract='', tender_status='',
|
39
|
+
returned_principal=0, returned_interest=0,
|
40
|
+
returned_fee=0, returned_def_amount=0,
|
41
|
+
busway='01', remark='')
|
35
42
|
service = 'reapal.trust.historyTenderInfoModify'
|
36
43
|
post_path = '/tender/rest.htm'
|
37
44
|
|
@@ -45,6 +52,10 @@ module Reapal
|
|
45
52
|
guarantContract: guarant_contract,
|
46
53
|
commissionedContract: commissioned_contract,
|
47
54
|
tenderStatus: tender_status,
|
55
|
+
hisAmount: returned_principal,
|
56
|
+
hisIntAmount: returned_interest,
|
57
|
+
hisFeeAmount: returned_fee,
|
58
|
+
hisDefAmount: returned_def_amount,
|
48
59
|
busway: busway,
|
49
60
|
remark: remark,
|
50
61
|
applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
|
@@ -22,6 +22,10 @@ module Reapal
|
|
22
22
|
# @param debit_contracts [String] 借款方协议号
|
23
23
|
# @param guarant_contract [String] 担保方协议号
|
24
24
|
# @param commissioned_contract [String] 受托方协议号
|
25
|
+
# @param returned_principal [BigDecimal] 历史已还款金额
|
26
|
+
# @param returned_interest [BigDecimal] 历史已还款利息
|
27
|
+
# @param returned_fee [BigDecimal] 历史已还款手续费
|
28
|
+
# @param returned_def_amount [BigDecimal] 历史已还款罚息
|
25
29
|
# @param busway [String] 设备通道, '00':PC端;'01':手机端(默认);'02':Pad端;'03':其它
|
26
30
|
# @param remark [String] 备注
|
27
31
|
#
|
@@ -36,8 +40,9 @@ module Reapal
|
|
36
40
|
# * :resultCode [String] 结果代码
|
37
41
|
#
|
38
42
|
def tender_history_apply(flow_id, tender_no, tender_name, money, rate, fee_amount, refund_term,
|
39
|
-
|
40
|
-
|
43
|
+
debit_term, debit_type, repay_date, expiry_date, tender_type, debit_contracts,
|
44
|
+
guarant_contract='', commissioned_contract='', returned_principal=0, returned_interest=0,
|
45
|
+
returned_fee=0, returned_def_amount=0, busway='01', remark='')
|
41
46
|
service = 'reapal.trust.tenderHistoryApply'
|
42
47
|
post_path = '/tender/rest.htm'
|
43
48
|
|
@@ -57,6 +62,10 @@ module Reapal
|
|
57
62
|
debitContracts: debit_contracts,
|
58
63
|
guarantContract: guarant_contract,
|
59
64
|
commissionedContract: commissioned_contract,
|
65
|
+
hisAmount: returned_principal,
|
66
|
+
hisIntAmount: returned_interest,
|
67
|
+
hisFeeAmount: returned_fee,
|
68
|
+
hisDefAmount: returned_def_amount,
|
60
69
|
busway: busway,
|
61
70
|
remark: remark,
|
62
71
|
applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
|
@@ -11,7 +11,6 @@ module Reapal
|
|
11
11
|
# @param com_license [ String ] 组织机构代码/社会征信号
|
12
12
|
# @param lic_start_date [ Time ] 企业组织机构证起始日
|
13
13
|
# @param lic_end_date [ Time ] 企业组织机构证截止日
|
14
|
-
# @param phone [ String ] 手机号
|
15
14
|
# @param bank_code [ String ] 银行编码
|
16
15
|
# @param user_type [ String ] 注册类别 01:出借人 02:借款人 03:担保人 04:受托方
|
17
16
|
# @param email [ String ] 企业邮箱
|
@@ -30,9 +29,9 @@ module Reapal
|
|
30
29
|
# * :data
|
31
30
|
#
|
32
31
|
def com_contract_form(flow_id, corp_name, identity_id, com_name, com_license,
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
lic_start_date, lic_end_date, bank_code,
|
33
|
+
user_type, email, return_url, notify_url,
|
34
|
+
busway='01', remark='')
|
36
35
|
|
37
36
|
service = 'reapal.trust.comContract'
|
38
37
|
post_path = '/agreement/agree.htm'
|
@@ -45,7 +44,6 @@ module Reapal
|
|
45
44
|
comLicense: com_license,
|
46
45
|
licStartDate: lic_start_date.strftime("%Y%m%d"),
|
47
46
|
licEndDate: lic_end_date.strftime("%Y%m%d"),
|
48
|
-
bankMobile: phone,
|
49
47
|
bankCode: bank_code,
|
50
48
|
userType: user_type,
|
51
49
|
email: email,
|
@@ -52,7 +52,8 @@ module Reapal
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.tender_onekey_invest
|
55
|
-
@_tender_onekey_invest ||= %w(0519 0522 0536 0600 0601 0602 0603 0606 0607
|
55
|
+
@_tender_onekey_invest ||= %w(0519 0522 0536 0600 0601 0602 0603 0606 0607
|
56
|
+
0608 0609 1343) | tender_common
|
56
57
|
end
|
57
58
|
|
58
59
|
def self.tender_onekey_refund
|
data/lib/reapal/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reapal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tony
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|