api_banking 0.1.26 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/api_banking/json/singlePayment.rb +4 -1
- data/lib/api_banking/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24ecb89ff177dde647e08124897820e759882e08
|
4
|
+
data.tar.gz: d60d693dca5ccec346f355a4851ac3dcb39d8d93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8585e614ab297bc1761d01b29e9ef578dbcdec76dad5dd1e5da5fc52342807b8414a09478950beb9641b302130993796628dd7803f0a515bba82e236f686db42
|
7
|
+
data.tar.gz: 00286dac549fa1e09c7e3d0ff715f541f2dce95288e9805c0f0fe8ec821a26a9b2382d2c41e30cad58b462514798bd55b9255897dd66e8012461ef818c5a24ac
|
@@ -6,7 +6,7 @@ module ApiBanking
|
|
6
6
|
attr_accessor :request, :result
|
7
7
|
|
8
8
|
ReqHeader = Struct.new(:tranID, :corpID, :approverID)
|
9
|
-
Remitter = Struct.new(:accountNo, :accountName)
|
9
|
+
Remitter = Struct.new(:accountNo, :accountName, :accountIFSC, :mobileNo)
|
10
10
|
Beneficiary = Struct.new(:accountIFSC, :accountNo, :fullName, :address, :email, :mobileNo)
|
11
11
|
ReqBody = Struct.new(:amount, :remitter, :beneficiary, :modeOfPay, :remarks)
|
12
12
|
Request = Struct.new(:header, :body)
|
@@ -41,11 +41,14 @@ module ApiBanking
|
|
41
41
|
dataHash[:Single_Payment_Corp_Req][:Body][:Amount] = request.body.amount
|
42
42
|
dataHash[:Single_Payment_Corp_Req][:Body][:Debit_Acct_No] = request.body.remitter.accountNo
|
43
43
|
dataHash[:Single_Payment_Corp_Req][:Body][:Debit_Acct_Name] = request.body.remitter.accountName
|
44
|
+
dataHash[:Single_Payment_Corp_Req][:Body][:Debit_IFSC] = request.body.remitter.accountIFSC
|
45
|
+
dataHash[:Single_Payment_Corp_Req][:Body][:Debit_Mobile] = request.body.remitter.mobileNo
|
44
46
|
|
45
47
|
dataHash[:Single_Payment_Corp_Req][:Body][:Ben_IFSC] = request.body.beneficiary.accountIFSC
|
46
48
|
dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Acct_No] = request.body.beneficiary.accountNo
|
47
49
|
dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Name] = request.body.beneficiary.fullName
|
48
50
|
dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Address] = request.body.beneficiary.address
|
51
|
+
dataHash[:Single_Payment_Corp_Req][:Body][:Ben_BankName] = request.body.beneficiary.accountIFSC[0..3]
|
49
52
|
dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Email] = request.body.beneficiary.email
|
50
53
|
dataHash[:Single_Payment_Corp_Req][:Body][:Ben_Mobile] = request.body.beneficiary.mobileNo
|
51
54
|
dataHash[:Single_Payment_Corp_Req][:Body][:Mode_of_Pay] = request.body.modeOfPay
|
data/lib/api_banking/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_banking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akil
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|