deltavista_crif_dva_interface 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,7 @@ module DeltavistaCrifDvaInterface
|
|
12
12
|
# @param collection [Hash<Symbol, String>] collection data
|
13
13
|
# @return [Hash] check result
|
14
14
|
def private_collection_check(address, collection)
|
15
|
+
insert_reference_number address[:id]
|
15
16
|
insert_private_address address
|
16
17
|
envelope[:report_type] = 'COLLECTION_CHECK_CONSUMER'
|
17
18
|
envelope[:target_report_format] = 'NONE'
|
@@ -25,6 +26,7 @@ module DeltavistaCrifDvaInterface
|
|
25
26
|
# @param collection [Hash<Symbol, String>] collection data
|
26
27
|
# @return [Hash] check result
|
27
28
|
def business_collection_check(address, collection)
|
29
|
+
insert_reference_number address[:id]
|
28
30
|
insert_company_address address
|
29
31
|
envelope[:report_type] = 'COLLECTION_CHECK_BUSINESS'
|
30
32
|
envelope[:target_report_format] = 'NONE'
|
@@ -32,7 +32,6 @@ module DeltavistaCrifDvaInterface
|
|
32
32
|
@response = options.response
|
33
33
|
insert_control
|
34
34
|
insert_identity
|
35
|
-
insert_reference_number
|
36
35
|
end
|
37
36
|
|
38
37
|
def commit
|
@@ -47,8 +46,8 @@ module DeltavistaCrifDvaInterface
|
|
47
46
|
end
|
48
47
|
end
|
49
48
|
|
50
|
-
def insert_reference_number
|
51
|
-
envelope[:reference_number] =
|
49
|
+
def insert_reference_number(reference_number)
|
50
|
+
envelope[:reference_number] = reference_number
|
52
51
|
end
|
53
52
|
|
54
53
|
def insert_identity
|