treezor_client 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -0
- data/docs/SepaSctrInst.md +26 -0
- data/lib/treezor_client/models/sepa_sctr_inst.rb +347 -0
- data/lib/treezor_client/version.rb +1 -1
- data/lib/treezor_client.rb +1 -0
- data/spec/models/sepa_sctr_inst_spec.rb +149 -0
- data/treezor_api_spec.yaml +45 -0
- metadata +6 -4
- data/pkg/treezor_client-1.12.0.gem +0 -0
- data/pkg/treezor_client-2.0.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47fa7b5eb4f6bb378727d8f5949ee122d06587706b12ce53111f118627b01852
|
4
|
+
data.tar.gz: ac93f4bb8ef481db906bdadc1a2f5582d76c746fa1c06814a3e7e91e4b5bdc1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcfd473ac7b425423d9e033756bb2aa2c4d5e0fee000489e3727fe1311a6710adcb3c610c3b09ebd95e404392de99ac8ed9c4521025965b0928700fabf48995a
|
7
|
+
data.tar.gz: 0efe68ae719bec13f40046838f9724e644d50657ba6415e679f65edf855b6924edc7af9081adeaf3e80c6dce66b190d17e3850f3509d216e783cbbad24b57e48
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
treezor_client (2.
|
4
|
+
treezor_client (2.1.0)
|
5
5
|
addressable (~> 2.3, >= 2.3.0)
|
6
6
|
json (~> 2.1, >= 2.1.0)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -27,7 +27,7 @@ GEM
|
|
27
27
|
hashdiff (1.0.0)
|
28
28
|
json (2.6.1)
|
29
29
|
public_suffix (4.0.6)
|
30
|
-
rake (13.0.
|
30
|
+
rake (13.0.6)
|
31
31
|
rspec (3.9.0)
|
32
32
|
rspec-core (~> 3.9.0)
|
33
33
|
rspec-expectations (~> 3.9.0)
|
data/README.md
CHANGED
@@ -268,6 +268,7 @@ Class | Method | HTTP request | Description
|
|
268
268
|
- [TreezorClient::Payinrefund](docs/Payinrefund.md)
|
269
269
|
- [TreezorClient::Payout](docs/Payout.md)
|
270
270
|
- [TreezorClient::PayoutRefund](docs/PayoutRefund.md)
|
271
|
+
- [TreezorClient::SepaSctrInst](docs/SepaSctrInst.md)
|
271
272
|
- [TreezorClient::TaxResidence](docs/TaxResidence.md)
|
272
273
|
- [TreezorClient::Transaction](docs/Transaction.md)
|
273
274
|
- [TreezorClient::Transfer](docs/Transfer.md)
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# TreezorClient::SepaSctrInst
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**wallet_id** | **Integer** | | [optional]
|
7
|
+
**debtor_bic** | **String** | | [optional]
|
8
|
+
**debtor_iban** | **String** | | [optional]
|
9
|
+
**debitor_name** | **String** | | [optional]
|
10
|
+
**debitor_country** | **String** | | [optional]
|
11
|
+
**debitor_address_line** | **String** | | [optional]
|
12
|
+
**creditor_bic** | **String** | | [optional]
|
13
|
+
**creditor_iban** | **String** | | [optional]
|
14
|
+
**creditor_name** | **String** | | [optional]
|
15
|
+
**creditor_address_line** | **String** | | [optional]
|
16
|
+
**creditor_country** | **String** | | [optional]
|
17
|
+
**transaction_id** | **String** | | [optional]
|
18
|
+
**virtual_iban_id** | **String** | | [optional]
|
19
|
+
**settlement_date** | **String** | RFC 3339 | [optional]
|
20
|
+
**settlement_amount** | **String** | | [optional]
|
21
|
+
**return_reason_code** | **String** | | [optional]
|
22
|
+
**virtual_iban_reference** | **String** | | [optional]
|
23
|
+
**remittance_information** | **String** | | [optional]
|
24
|
+
**transaction_end_to_end_id** | **String** | | [optional]
|
25
|
+
|
26
|
+
|
@@ -0,0 +1,347 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module TreezorClient
|
16
|
+
class SepaSctrInst
|
17
|
+
attr_accessor :wallet_id
|
18
|
+
|
19
|
+
attr_accessor :debtor_bic
|
20
|
+
|
21
|
+
attr_accessor :debtor_iban
|
22
|
+
|
23
|
+
attr_accessor :debitor_name
|
24
|
+
|
25
|
+
attr_accessor :debitor_country
|
26
|
+
|
27
|
+
attr_accessor :debitor_address_line
|
28
|
+
|
29
|
+
attr_accessor :creditor_bic
|
30
|
+
|
31
|
+
attr_accessor :creditor_iban
|
32
|
+
|
33
|
+
attr_accessor :creditor_name
|
34
|
+
|
35
|
+
attr_accessor :creditor_address_line
|
36
|
+
|
37
|
+
attr_accessor :creditor_country
|
38
|
+
|
39
|
+
attr_accessor :transaction_id
|
40
|
+
|
41
|
+
attr_accessor :virtual_iban_id
|
42
|
+
|
43
|
+
# RFC 3339
|
44
|
+
attr_accessor :settlement_date
|
45
|
+
|
46
|
+
attr_accessor :settlement_amount
|
47
|
+
|
48
|
+
attr_accessor :return_reason_code
|
49
|
+
|
50
|
+
attr_accessor :virtual_iban_reference
|
51
|
+
|
52
|
+
attr_accessor :remittance_information
|
53
|
+
|
54
|
+
attr_accessor :transaction_end_to_end_id
|
55
|
+
|
56
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
57
|
+
def self.attribute_map
|
58
|
+
{
|
59
|
+
:'wallet_id' => :'walletId',
|
60
|
+
:'debtor_bic' => :'debtorBic',
|
61
|
+
:'debtor_iban' => :'debtorIban',
|
62
|
+
:'debitor_name' => :'debitorName',
|
63
|
+
:'debitor_country' => :'debitorCountry',
|
64
|
+
:'debitor_address_line' => :'debitorAddressLine',
|
65
|
+
:'creditor_bic' => :'creditorBIC',
|
66
|
+
:'creditor_iban' => :'creditorIban',
|
67
|
+
:'creditor_name' => :'creditorName',
|
68
|
+
:'creditor_address_line' => :'creditorAddressLine',
|
69
|
+
:'creditor_country' => :'creditorCountry',
|
70
|
+
:'transaction_id' => :'transactionId',
|
71
|
+
:'virtual_iban_id' => :'virtualIbanId',
|
72
|
+
:'settlement_date' => :'settlementDate',
|
73
|
+
:'settlement_amount' => :'settlementAmount',
|
74
|
+
:'return_reason_code' => :'return_reason_code',
|
75
|
+
:'virtual_iban_reference' => :'virtualIbanReference',
|
76
|
+
:'remittance_information' => :'remittanceInformation',
|
77
|
+
:'transaction_end_to_end_id' => :'transactionEndToEndId'
|
78
|
+
}
|
79
|
+
end
|
80
|
+
|
81
|
+
# Attribute type mapping.
|
82
|
+
def self.swagger_types
|
83
|
+
{
|
84
|
+
:'wallet_id' => :'Integer',
|
85
|
+
:'debtor_bic' => :'String',
|
86
|
+
:'debtor_iban' => :'String',
|
87
|
+
:'debitor_name' => :'String',
|
88
|
+
:'debitor_country' => :'String',
|
89
|
+
:'debitor_address_line' => :'String',
|
90
|
+
:'creditor_bic' => :'String',
|
91
|
+
:'creditor_iban' => :'String',
|
92
|
+
:'creditor_name' => :'String',
|
93
|
+
:'creditor_address_line' => :'String',
|
94
|
+
:'creditor_country' => :'String',
|
95
|
+
:'transaction_id' => :'String',
|
96
|
+
:'virtual_iban_id' => :'String',
|
97
|
+
:'settlement_date' => :'String',
|
98
|
+
:'settlement_amount' => :'String',
|
99
|
+
:'return_reason_code' => :'String',
|
100
|
+
:'virtual_iban_reference' => :'String',
|
101
|
+
:'remittance_information' => :'String',
|
102
|
+
:'transaction_end_to_end_id' => :'String'
|
103
|
+
}
|
104
|
+
end
|
105
|
+
|
106
|
+
# Initializes the object
|
107
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
108
|
+
def initialize(attributes = {})
|
109
|
+
return unless attributes.is_a?(Hash)
|
110
|
+
|
111
|
+
# convert string to symbol for hash key
|
112
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
113
|
+
|
114
|
+
if attributes.has_key?(:'walletId')
|
115
|
+
self.wallet_id = attributes[:'walletId']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes.has_key?(:'debtorBic')
|
119
|
+
self.debtor_bic = attributes[:'debtorBic']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.has_key?(:'debtorIban')
|
123
|
+
self.debtor_iban = attributes[:'debtorIban']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.has_key?(:'debitorName')
|
127
|
+
self.debitor_name = attributes[:'debitorName']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes.has_key?(:'debitorCountry')
|
131
|
+
self.debitor_country = attributes[:'debitorCountry']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.has_key?(:'debitorAddressLine')
|
135
|
+
self.debitor_address_line = attributes[:'debitorAddressLine']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes.has_key?(:'creditorBIC')
|
139
|
+
self.creditor_bic = attributes[:'creditorBIC']
|
140
|
+
end
|
141
|
+
|
142
|
+
if attributes.has_key?(:'creditorIban')
|
143
|
+
self.creditor_iban = attributes[:'creditorIban']
|
144
|
+
end
|
145
|
+
|
146
|
+
if attributes.has_key?(:'creditorName')
|
147
|
+
self.creditor_name = attributes[:'creditorName']
|
148
|
+
end
|
149
|
+
|
150
|
+
if attributes.has_key?(:'creditorAddressLine')
|
151
|
+
self.creditor_address_line = attributes[:'creditorAddressLine']
|
152
|
+
end
|
153
|
+
|
154
|
+
if attributes.has_key?(:'creditorCountry')
|
155
|
+
self.creditor_country = attributes[:'creditorCountry']
|
156
|
+
end
|
157
|
+
|
158
|
+
if attributes.has_key?(:'transactionId')
|
159
|
+
self.transaction_id = attributes[:'transactionId']
|
160
|
+
end
|
161
|
+
|
162
|
+
if attributes.has_key?(:'virtualIbanId')
|
163
|
+
self.virtual_iban_id = attributes[:'virtualIbanId']
|
164
|
+
end
|
165
|
+
|
166
|
+
if attributes.has_key?(:'settlementDate')
|
167
|
+
self.settlement_date = attributes[:'settlementDate']
|
168
|
+
end
|
169
|
+
|
170
|
+
if attributes.has_key?(:'settlementAmount')
|
171
|
+
self.settlement_amount = attributes[:'settlementAmount']
|
172
|
+
end
|
173
|
+
|
174
|
+
if attributes.has_key?(:'return_reason_code')
|
175
|
+
self.return_reason_code = attributes[:'return_reason_code']
|
176
|
+
end
|
177
|
+
|
178
|
+
if attributes.has_key?(:'virtualIbanReference')
|
179
|
+
self.virtual_iban_reference = attributes[:'virtualIbanReference']
|
180
|
+
end
|
181
|
+
|
182
|
+
if attributes.has_key?(:'remittanceInformation')
|
183
|
+
self.remittance_information = attributes[:'remittanceInformation']
|
184
|
+
end
|
185
|
+
|
186
|
+
if attributes.has_key?(:'transactionEndToEndId')
|
187
|
+
self.transaction_end_to_end_id = attributes[:'transactionEndToEndId']
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
192
|
+
# @return Array for valid properties with the reasons
|
193
|
+
def list_invalid_properties
|
194
|
+
invalid_properties = Array.new
|
195
|
+
invalid_properties
|
196
|
+
end
|
197
|
+
|
198
|
+
# Check to see if the all the properties in the model are valid
|
199
|
+
# @return true if the model is valid
|
200
|
+
def valid?
|
201
|
+
true
|
202
|
+
end
|
203
|
+
|
204
|
+
# Checks equality by comparing each attribute.
|
205
|
+
# @param [Object] Object to be compared
|
206
|
+
def ==(o)
|
207
|
+
return true if self.equal?(o)
|
208
|
+
self.class == o.class &&
|
209
|
+
wallet_id == o.wallet_id &&
|
210
|
+
debtor_bic == o.debtor_bic &&
|
211
|
+
debtor_iban == o.debtor_iban &&
|
212
|
+
debitor_name == o.debitor_name &&
|
213
|
+
debitor_country == o.debitor_country &&
|
214
|
+
debitor_address_line == o.debitor_address_line &&
|
215
|
+
creditor_bic == o.creditor_bic &&
|
216
|
+
creditor_iban == o.creditor_iban &&
|
217
|
+
creditor_name == o.creditor_name &&
|
218
|
+
creditor_address_line == o.creditor_address_line &&
|
219
|
+
creditor_country == o.creditor_country &&
|
220
|
+
transaction_id == o.transaction_id &&
|
221
|
+
virtual_iban_id == o.virtual_iban_id &&
|
222
|
+
settlement_date == o.settlement_date &&
|
223
|
+
settlement_amount == o.settlement_amount &&
|
224
|
+
return_reason_code == o.return_reason_code &&
|
225
|
+
virtual_iban_reference == o.virtual_iban_reference &&
|
226
|
+
remittance_information == o.remittance_information &&
|
227
|
+
transaction_end_to_end_id == o.transaction_end_to_end_id
|
228
|
+
end
|
229
|
+
|
230
|
+
# @see the `==` method
|
231
|
+
# @param [Object] Object to be compared
|
232
|
+
def eql?(o)
|
233
|
+
self == o
|
234
|
+
end
|
235
|
+
|
236
|
+
# Calculates hash code according to all attributes.
|
237
|
+
# @return [Fixnum] Hash code
|
238
|
+
def hash
|
239
|
+
[wallet_id, debtor_bic, debtor_iban, debitor_name, debitor_country, debitor_address_line, creditor_bic, creditor_iban, creditor_name, creditor_address_line, creditor_country, transaction_id, virtual_iban_id, settlement_date, settlement_amount, return_reason_code, virtual_iban_reference, remittance_information, transaction_end_to_end_id].hash
|
240
|
+
end
|
241
|
+
|
242
|
+
# Builds the object from hash
|
243
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
244
|
+
# @return [Object] Returns the model itself
|
245
|
+
def build_from_hash(attributes)
|
246
|
+
return nil unless attributes.is_a?(Hash)
|
247
|
+
self.class.swagger_types.each_pair do |key, type|
|
248
|
+
if type =~ /\AArray<(.*)>/i
|
249
|
+
# check to ensure the input is an array given that the attribute
|
250
|
+
# is documented as an array but the input is not
|
251
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
252
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
253
|
+
end
|
254
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
255
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
256
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
257
|
+
end
|
258
|
+
|
259
|
+
self
|
260
|
+
end
|
261
|
+
|
262
|
+
# Deserializes the data based on type
|
263
|
+
# @param string type Data type
|
264
|
+
# @param string value Value to be deserialized
|
265
|
+
# @return [Object] Deserialized data
|
266
|
+
def _deserialize(type, value)
|
267
|
+
case type.to_sym
|
268
|
+
when :DateTime
|
269
|
+
DateTime.parse(value)
|
270
|
+
when :Date
|
271
|
+
Date.parse(value)
|
272
|
+
when :String
|
273
|
+
value.to_s
|
274
|
+
when :Integer
|
275
|
+
value.to_i
|
276
|
+
when :Float
|
277
|
+
value.to_f
|
278
|
+
when :BOOLEAN
|
279
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
280
|
+
true
|
281
|
+
else
|
282
|
+
false
|
283
|
+
end
|
284
|
+
when :Object
|
285
|
+
# generic object (usually a Hash), return directly
|
286
|
+
value
|
287
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
288
|
+
inner_type = Regexp.last_match[:inner_type]
|
289
|
+
value.map { |v| _deserialize(inner_type, v) }
|
290
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
291
|
+
k_type = Regexp.last_match[:k_type]
|
292
|
+
v_type = Regexp.last_match[:v_type]
|
293
|
+
{}.tap do |hash|
|
294
|
+
value.each do |k, v|
|
295
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
296
|
+
end
|
297
|
+
end
|
298
|
+
else # model
|
299
|
+
temp_model = TreezorClient.const_get(type).new
|
300
|
+
temp_model.build_from_hash(value)
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
# Returns the string representation of the object
|
305
|
+
# @return [String] String presentation of the object
|
306
|
+
def to_s
|
307
|
+
to_hash.to_s
|
308
|
+
end
|
309
|
+
|
310
|
+
# to_body is an alias to to_hash (backward compatibility)
|
311
|
+
# @return [Hash] Returns the object in the form of hash
|
312
|
+
def to_body
|
313
|
+
to_hash
|
314
|
+
end
|
315
|
+
|
316
|
+
# Returns the object in the form of hash
|
317
|
+
# @return [Hash] Returns the object in the form of hash
|
318
|
+
def to_hash
|
319
|
+
hash = {}
|
320
|
+
self.class.attribute_map.each_pair do |attr, param|
|
321
|
+
value = self.send(attr)
|
322
|
+
next if value.nil?
|
323
|
+
hash[param] = _to_hash(value)
|
324
|
+
end
|
325
|
+
hash
|
326
|
+
end
|
327
|
+
|
328
|
+
# Outputs non-array value in the form of hash
|
329
|
+
# For object, use to_hash. Otherwise, just return the value
|
330
|
+
# @param [Object] value Any valid value
|
331
|
+
# @return [Hash] Returns the value in the form of hash
|
332
|
+
def _to_hash(value)
|
333
|
+
if value.is_a?(Array)
|
334
|
+
value.compact.map { |v| _to_hash(v) }
|
335
|
+
elsif value.is_a?(Hash)
|
336
|
+
{}.tap do |hash|
|
337
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
338
|
+
end
|
339
|
+
elsif value.respond_to? :to_hash
|
340
|
+
value.to_hash
|
341
|
+
else
|
342
|
+
value
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
end
|
347
|
+
end
|
data/lib/treezor_client.rb
CHANGED
@@ -83,6 +83,7 @@ require 'treezor_client/models/payin'
|
|
83
83
|
require 'treezor_client/models/payinrefund'
|
84
84
|
require 'treezor_client/models/payout'
|
85
85
|
require 'treezor_client/models/payout_refund'
|
86
|
+
require 'treezor_client/models/sepa_sctr_inst'
|
86
87
|
require 'treezor_client/models/tax_residence'
|
87
88
|
require 'treezor_client/models/transaction'
|
88
89
|
require 'treezor_client/models/transfer'
|
@@ -0,0 +1,149 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TreezorClient::SepaSctrInst
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SepaSctrInst' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TreezorClient::SepaSctrInst.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SepaSctrInst' do
|
31
|
+
it 'should create an instance of SepaSctrInst' do
|
32
|
+
expect(@instance).to be_instance_of(TreezorClient::SepaSctrInst)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "wallet_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "debtor_bic"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "debtor_iban"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "debitor_name"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "debitor_country"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "debitor_address_line"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "creditor_bic"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "creditor_iban"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "creditor_name"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "creditor_address_line"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "creditor_country"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "transaction_id"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "virtual_iban_id"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "settlement_date"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
describe 'test attribute "settlement_amount"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "return_reason_code"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "virtual_iban_reference"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
describe 'test attribute "remittance_information"' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
describe 'test attribute "transaction_end_to_end_id"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
end
|
data/treezor_api_spec.yaml
CHANGED
@@ -13145,6 +13145,51 @@ definitions:
|
|
13145
13145
|
deletedDate:
|
13146
13146
|
description: Date of the TaxResidence has been deleted
|
13147
13147
|
type: string
|
13148
|
+
SepaSctrInst:
|
13149
|
+
type: object
|
13150
|
+
properties:
|
13151
|
+
walletId:
|
13152
|
+
type: integer
|
13153
|
+
debtorBic:
|
13154
|
+
type: string
|
13155
|
+
debtorIban:
|
13156
|
+
type: string
|
13157
|
+
debitorName:
|
13158
|
+
type: string
|
13159
|
+
debitorCountry:
|
13160
|
+
type: string
|
13161
|
+
debitorAddressLine:
|
13162
|
+
type: string
|
13163
|
+
messageId:
|
13164
|
+
type: text
|
13165
|
+
creditorBIC:
|
13166
|
+
type: string
|
13167
|
+
creditorIban:
|
13168
|
+
type: string
|
13169
|
+
creditorName:
|
13170
|
+
type: string
|
13171
|
+
creditorAddressLine:
|
13172
|
+
type: string
|
13173
|
+
creditorCountry:
|
13174
|
+
type: string
|
13175
|
+
transactionId:
|
13176
|
+
type: string
|
13177
|
+
virtualIbanId:
|
13178
|
+
type: string
|
13179
|
+
settlementDate:
|
13180
|
+
type: string
|
13181
|
+
format: datetime
|
13182
|
+
description: RFC 3339
|
13183
|
+
settlementAmount:
|
13184
|
+
type: string
|
13185
|
+
return_reason_code:
|
13186
|
+
type: string
|
13187
|
+
virtualIbanReference:
|
13188
|
+
type: string
|
13189
|
+
remittanceInformation:
|
13190
|
+
type: string
|
13191
|
+
transactionEndToEndId:
|
13192
|
+
type: string
|
13148
13193
|
Error:
|
13149
13194
|
type: object
|
13150
13195
|
properties:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: treezor_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chaker Nakhli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -308,6 +308,7 @@ files:
|
|
308
308
|
- docs/PayoutApi.md
|
309
309
|
- docs/PayoutRefund.md
|
310
310
|
- docs/PayoutRefundsApi.md
|
311
|
+
- docs/SepaSctrInst.md
|
311
312
|
- docs/TaxResidence.md
|
312
313
|
- docs/TaxResidenceApi.md
|
313
314
|
- docs/Transaction.md
|
@@ -420,6 +421,7 @@ files:
|
|
420
421
|
- lib/treezor_client/models/payinrefund.rb
|
421
422
|
- lib/treezor_client/models/payout.rb
|
422
423
|
- lib/treezor_client/models/payout_refund.rb
|
424
|
+
- lib/treezor_client/models/sepa_sctr_inst.rb
|
423
425
|
- lib/treezor_client/models/tax_residence.rb
|
424
426
|
- lib/treezor_client/models/transaction.rb
|
425
427
|
- lib/treezor_client/models/transfer.rb
|
@@ -429,8 +431,6 @@ files:
|
|
429
431
|
- lib/treezor_client/models/wallet.rb
|
430
432
|
- lib/treezor_client/version.rb
|
431
433
|
- original_treezor_api_spec.yaml
|
432
|
-
- pkg/treezor_client-1.12.0.gem
|
433
|
-
- pkg/treezor_client-2.0.0.gem
|
434
434
|
- spec/api/balance_api_spec.rb
|
435
435
|
- spec/api/bankaccount_api_spec.rb
|
436
436
|
- spec/api/beneficiaries_api_spec.rb
|
@@ -529,6 +529,7 @@ files:
|
|
529
529
|
- spec/models/payinrefund_spec.rb
|
530
530
|
- spec/models/payout_refund_spec.rb
|
531
531
|
- spec/models/payout_spec.rb
|
532
|
+
- spec/models/sepa_sctr_inst_spec.rb
|
532
533
|
- spec/models/tav_spec.rb
|
533
534
|
- spec/models/tax_residence_spec.rb
|
534
535
|
- spec/models/transaction_spec.rb
|
@@ -603,6 +604,7 @@ test_files:
|
|
603
604
|
- spec/models/issuer_initiated_digitization_data_spec.rb
|
604
605
|
- spec/models/inline_response_200_10_spec.rb
|
605
606
|
- spec/models/body_10_spec.rb
|
607
|
+
- spec/models/sepa_sctr_inst_spec.rb
|
606
608
|
- spec/models/businesssearchs_businessinformations_spec.rb
|
607
609
|
- spec/models/inline_response_200_26_spec.rb
|
608
610
|
- spec/models/payin_spec.rb
|
Binary file
|
Binary file
|