geee_pay 0.1.0 → 0.1.1

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: cacbe0b1d32942e528058c590c7116067385377d
4
- data.tar.gz: d2fe88fc9e2a79ebcf78025fdfd2066d66882e43
3
+ metadata.gz: a92f8d1307051c523b24f69407dba85adf50732d
4
+ data.tar.gz: db1e468cf0cec62ca519aa18c750ff09dea9b5fc
5
5
  SHA512:
6
- metadata.gz: 3bc6580e8b97c679bd56f77748d09aa4c086ce5d11fa1acc1f26abf9ed9a87995fcee2a3c477bfe22a42f5282581d372dd9c7a0d518e45471a122cfeb9e63f19
7
- data.tar.gz: e5e9a525d3afb1dd1e2e1cf8d04e937db13b013303859a43d25f52f20418e89303e907a861a9b5a02dccc1cd2d353b12d8b387874841d884322694d3e8380ecf
6
+ metadata.gz: 8ad5238ea634198199332bb352d21fef25a10ce05184196f4981c5b93ee545536d31a6fa396c5fa388e2089379237cc692f03658559918de90ed768e7db68b26
7
+ data.tar.gz: 907f9f02e69d5c94d04da9d1312c0f7f03f67f6030e37fe140f62931859b90734f880d5d188a136aed648029cbeec1204d3678a8120e0180aaf9cfbc77ccdc79
@@ -6,7 +6,7 @@ module GeeePay
6
6
 
7
7
 
8
8
  # 网关支付-银行编码
9
- BANK_CODE_MAP = {
9
+ LV_BANK_CODE_MAP = {
10
10
  '102' => '工商银行',
11
11
  '103' => '农业银行',
12
12
  '104' => '中国银行',
@@ -31,6 +31,47 @@ module GeeePay
31
31
  '440' => '徽商银行'
32
32
  }
33
33
 
34
+ # 扫码支付方式
35
+ LV_SCAN_PAY_MODE = {
36
+ '00021' => '支付宝扫码',
37
+ '00022' => '微信扫码',
38
+ '00032' => 'QQ扫码',
39
+ '00027' => '京东扫码'
40
+ }
41
+
42
+ LV_PAY_MODE = {
43
+ '00020' => '银行卡',
44
+ '00023' => '快捷',
45
+ '00024' => '支付宝Wap'
46
+ }
47
+
48
+ # 到账类型
49
+ LV_RECEIVABLE_TYPE = { 'D00' => 'D+0', 'T01' => 'T+1', 'D01' => 'D+1'}
50
+
51
+ # 业务类型
52
+ LV_WITHDRAW_TYPE = { '0' => '对私', '1' => '对公' }
53
+
54
+ # 账户类型
55
+ LV_ACCOUNT_TYPE = { '0' => '借记卡', '1' => '贷记卡' }
56
+
57
+ # 订单状态:交易订单
58
+ LV_TRAN_ORDER_STATUS= {
59
+ '00' => '未支付',
60
+ '01' => '支付成功',
61
+ '02' => '银行处理中',
62
+ '14' => '冻结',
63
+ '19' => '待处理'
64
+ }
65
+
66
+ # 订单状态:代付订单
67
+ LV_OTH_ORDER_STATUS = {
68
+ '00' => '未支付',
69
+ '01' => '已完成',
70
+ '14' => '冻结',
71
+ '02' => '银行处理中',
72
+ '22' => '退还支付账户'
73
+ }
74
+
34
75
  def initialize(result)
35
76
  self.raw = result.to_s
36
77
  self.msg = result
@@ -1,3 +1,3 @@
1
1
  module GeeePay
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geee_pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry.Tu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-08 00:00:00.000000000 Z
11
+ date: 2018-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday