formatos-febraban 0.3.59 → 0.3.60
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: 074dff54a3a05b5471a4b492b10ede367a9a3f8b
|
4
|
+
data.tar.gz: d1c425a3b723559e1bf99d2d84143d518d5345a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0204641ca3c432c52aea428749adc84b26d9ced32d1c05ebe52651de099fb811adb5c46ed3baac092ef6468efa4186ecb38a39016299b7735348c0d5845afa5e
|
7
|
+
data.tar.gz: 4595aebaafd618fa6a95a1f6202c6866b84c7cb3123b12f40722b2dd8c158258459ebf0ea3fdd3c07ff60109730c8ad34dd5a93176a024572d3ec76894a20cba
|
@@ -119,14 +119,14 @@ class CieloDetalhe < FormatSection
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def success?
|
122
|
-
self.
|
122
|
+
self.get_status_venda() == '00'
|
123
123
|
end
|
124
124
|
|
125
125
|
def soft_bounce?
|
126
126
|
codes = ["04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "20", "21",
|
127
127
|
"22", "23", "54", "77", "81", "88", "95", "99"]
|
128
128
|
|
129
|
-
!self.success? && codes.include?(self.
|
129
|
+
!self.success? && codes.include?(self.get_status_venda())
|
130
130
|
end
|
131
131
|
|
132
132
|
def hard_bounce?
|
@@ -183,12 +183,12 @@ class Febraban150F < FormatSection
|
|
183
183
|
end
|
184
184
|
|
185
185
|
def success?
|
186
|
-
self.get_codigo_retorno == 0
|
186
|
+
self.get_codigo_retorno() == 0
|
187
187
|
end
|
188
188
|
|
189
189
|
def soft_bounce?
|
190
190
|
codes = [1, 5, 18, 31]
|
191
|
-
!self.success? && codes.include?(self.get_codigo_retorno)
|
191
|
+
!self.success? && codes.include?(self.get_codigo_retorno())
|
192
192
|
end
|
193
193
|
|
194
194
|
def hard_bounce?
|