transferzero-sdk 1.37.9 → 1.37.10

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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +10 -4
  4. data/docs/PayoutMethod.md +1 -1
  5. data/docs/PayoutMethodDetails.md +2 -2
  6. data/docs/PayoutMethodDetailsCRCBank.md +27 -0
  7. data/docs/PayoutMethodDetailsGTQBank.md +27 -0
  8. data/docs/PayoutMethodDetailsMADBank.md +25 -0
  9. data/docs/PayoutMethodDetailsPENBank.md +29 -0
  10. data/docs/PayoutMethodDetailsVNDBank.md +25 -0
  11. data/docs/PayoutMethodDetailsVNDMobile.md +27 -0
  12. data/lib/transferzero-sdk/api_client.rb +1 -1
  13. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  14. data/lib/transferzero-sdk/models/payout_method_details.rb +12 -1
  15. data/lib/transferzero-sdk/models/payout_method_details_crc_bank.rb +278 -0
  16. data/lib/transferzero-sdk/models/payout_method_details_gtq_bank.rb +278 -0
  17. data/lib/transferzero-sdk/models/payout_method_details_mad_bank.rb +259 -0
  18. data/lib/transferzero-sdk/models/payout_method_details_pen_bank.rb +292 -0
  19. data/lib/transferzero-sdk/models/payout_method_details_vnd_bank.rb +259 -0
  20. data/lib/transferzero-sdk/models/payout_method_details_vnd_mobile.rb +273 -0
  21. data/lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb +7 -0
  22. data/lib/transferzero-sdk/version.rb +1 -1
  23. data/lib/transferzero-sdk.rb +6 -0
  24. data/spec/models/payout_method_details_crc_bank_spec.rb +71 -0
  25. data/spec/models/payout_method_details_gtq_bank_spec.rb +71 -0
  26. data/spec/models/payout_method_details_mad_bank_spec.rb +65 -0
  27. data/spec/models/payout_method_details_pen_bank_spec.rb +77 -0
  28. data/spec/models/payout_method_details_vnd_bank_spec.rb +65 -0
  29. data/spec/models/payout_method_details_vnd_mobile_spec.rb +71 -0
  30. metadata +160 -136
@@ -0,0 +1,273 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module TransferZero
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+84912345678\", // E.164 international format \"mobile_provider\": \"MOMO\", // MOMO, VNPAY, VNPT, SACOMBANK, ZALOPAY \"street\": \"123 Le Loi Street\", \"transfer_reason\": \"personal_account\" } ```
17
+ class PayoutMethodDetailsVNDMobile
18
+ attr_accessor :first_name
19
+
20
+ attr_accessor :last_name
21
+
22
+ attr_accessor :phone_number
23
+
24
+ attr_accessor :mobile_provider
25
+
26
+ attr_accessor :street
27
+
28
+ attr_accessor :transfer_reason
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'first_name' => :'first_name',
34
+ :'last_name' => :'last_name',
35
+ :'phone_number' => :'phone_number',
36
+ :'mobile_provider' => :'mobile_provider',
37
+ :'street' => :'street',
38
+ :'transfer_reason' => :'transfer_reason'
39
+ }
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.openapi_types
44
+ {
45
+ :'first_name' => :'String',
46
+ :'last_name' => :'String',
47
+ :'phone_number' => :'String',
48
+ :'mobile_provider' => :'String',
49
+ :'street' => :'String',
50
+ :'transfer_reason' => :'PayoutMethodTransferReasonEnum'
51
+ }
52
+ end
53
+
54
+ # Initializes the object
55
+ # @param [Hash] attributes Model attributes in the form of hash
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TransferZero::PayoutMethodDetailsVNDMobile` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}) { |(k, v), h|
63
+ if (!self.class.attribute_map.key?(k.to_sym))
64
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TransferZero::PayoutMethodDetailsVNDMobile`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ end
66
+ h[k.to_sym] = v
67
+ }
68
+
69
+ if attributes.key?(:'first_name')
70
+ self.first_name = attributes[:'first_name']
71
+ end
72
+
73
+ if attributes.key?(:'last_name')
74
+ self.last_name = attributes[:'last_name']
75
+ end
76
+
77
+ if attributes.key?(:'phone_number')
78
+ self.phone_number = attributes[:'phone_number']
79
+ end
80
+
81
+ if attributes.key?(:'mobile_provider')
82
+ self.mobile_provider = attributes[:'mobile_provider']
83
+ end
84
+
85
+ if attributes.key?(:'street')
86
+ self.street = attributes[:'street']
87
+ end
88
+
89
+ if attributes.key?(:'transfer_reason')
90
+ self.transfer_reason = attributes[:'transfer_reason']
91
+ end
92
+ end
93
+
94
+ # Show invalid properties with the reasons. Usually used together with valid?
95
+ # @return Array for valid properties with the reasons
96
+ def list_invalid_properties
97
+ invalid_properties = Array.new
98
+ if @first_name.nil?
99
+ invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
100
+ end
101
+
102
+ if @last_name.nil?
103
+ invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
104
+ end
105
+
106
+ if @phone_number.nil?
107
+ invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
108
+ end
109
+
110
+ if @mobile_provider.nil?
111
+ invalid_properties.push('invalid value for "mobile_provider", mobile_provider cannot be nil.')
112
+ end
113
+
114
+ if @street.nil?
115
+ invalid_properties.push('invalid value for "street", street cannot be nil.')
116
+ end
117
+
118
+ invalid_properties
119
+ end
120
+
121
+ # Check to see if the all the properties in the model are valid
122
+ # @return true if the model is valid
123
+ def valid?
124
+ return false if @first_name.nil?
125
+ return false if @last_name.nil?
126
+ return false if @phone_number.nil?
127
+ return false if @mobile_provider.nil?
128
+ return false if @street.nil?
129
+ true
130
+ end
131
+
132
+ # Checks equality by comparing each attribute.
133
+ # @param [Object] Object to be compared
134
+ def ==(o)
135
+ return true if self.equal?(o)
136
+ self.class == o.class &&
137
+ first_name == o.first_name &&
138
+ last_name == o.last_name &&
139
+ phone_number == o.phone_number &&
140
+ mobile_provider == o.mobile_provider &&
141
+ street == o.street &&
142
+ transfer_reason == o.transfer_reason
143
+ end
144
+
145
+ # @see the `==` method
146
+ # @param [Object] Object to be compared
147
+ def eql?(o)
148
+ self == o
149
+ end
150
+
151
+ # Calculates hash code according to all attributes.
152
+ # @return [Integer] Hash code
153
+ def hash
154
+ [first_name, last_name, phone_number, mobile_provider, street, transfer_reason].hash
155
+ end
156
+
157
+ require 'active_support/core_ext/hash'
158
+ require 'active_support/hash_with_indifferent_access.rb'
159
+ # Builds the object from hash
160
+ # @param [Hash] attributes Model attributes in the form of hash
161
+ # @return [Object] Returns the model itself
162
+ def build_from_hash(attributes)
163
+ return nil unless attributes.is_a?(Hash)
164
+ self.class.openapi_types.each_pair do |key, type|
165
+ if type =~ /\AArray<(.*)>/i
166
+ # check to ensure the input is an array given that the the attribute
167
+ # is documented as an array but the input is not
168
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
169
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
170
+ end
171
+ elsif !attributes[self.class.attribute_map[key]].nil?
172
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
173
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
174
+ end
175
+
176
+ self
177
+ end
178
+
179
+ # Deserializes the data based on type
180
+ # @param string type Data type
181
+ # @param string value Value to be deserialized
182
+ # @return [Object] Deserialized data
183
+ def _deserialize(type, value)
184
+ case type.to_sym
185
+ when :DateTime
186
+ DateTime.parse(value)
187
+ when :Date
188
+ Date.parse(value)
189
+ when :String
190
+ value.to_s
191
+ when :Integer
192
+ value.to_i
193
+ when :Float
194
+ value.to_f
195
+ when :Boolean
196
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
197
+ true
198
+ else
199
+ false
200
+ end
201
+ when :Object
202
+ # generic object (usually a Hash), return directly
203
+ value
204
+ when /\AArray<(?<inner_type>.+)>\z/
205
+ inner_type = Regexp.last_match[:inner_type]
206
+ value.map { |v| _deserialize(inner_type, v) }
207
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
208
+ k_type = Regexp.last_match[:k_type]
209
+ v_type = Regexp.last_match[:v_type]
210
+ {}.tap do |hash|
211
+ value.each do |k, v|
212
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
213
+ end
214
+ end
215
+ else # model
216
+ temp_model = TransferZero.const_get(type).new
217
+ temp_model.build_from_hash(value)
218
+ end
219
+ end
220
+
221
+ # Returns the string representation of the object
222
+ # @return [String] String presentation of the object
223
+ def to_s
224
+ to_hash.to_s
225
+ end
226
+
227
+ # to_body is an alias to to_hash (backward compatibility)
228
+ # @return [Hash] Returns the object in the form of hash
229
+ def to_body
230
+ to_hash
231
+ end
232
+
233
+ # Returns the object in the form of hash
234
+ # @return [Hash] Returns the object in the form of hash
235
+ def to_hash
236
+ hash = {}
237
+ self.class.attribute_map.each_pair do |attr, param|
238
+ value = self.send(attr)
239
+ next if value.nil?
240
+ hash[param] = _to_hash(value)
241
+ end
242
+ ::ActiveSupport::HashWithIndifferentAccess.new(hash)
243
+ end
244
+
245
+ def [](key)
246
+ to_hash[key]
247
+ end
248
+
249
+ def dig(*args)
250
+ to_hash.dig(*args)
251
+ end
252
+
253
+ # Outputs non-array value in the form of hash
254
+ # For object, use to_hash. Otherwise, just return the value
255
+ # @param [Object] value Any valid value
256
+ # @return [Hash] Returns the value in the form of hash
257
+ def _to_hash(value)
258
+ if value.is_a?(Array)
259
+ value.compact.map { |v| _to_hash(v) }
260
+ elsif value.is_a?(Hash)
261
+ {}.tap do |hash|
262
+ value.each { |k, v| hash[k] = _to_hash(v) }
263
+ end
264
+ elsif value.respond_to? :to_hash
265
+ value.to_hash
266
+ else
267
+ value
268
+ end
269
+ end
270
+
271
+ end
272
+
273
+ end
@@ -20,6 +20,13 @@ class PayoutMethodIdentityCardTypeEnum
20
20
  ID = "ID".freeze
21
21
  DL = "DL".freeze
22
22
  OT = "OT".freeze
23
+ DNI = "DNI".freeze
24
+ RUC = "RUC".freeze
25
+ CE = "CE".freeze
26
+ PASS = "PASS".freeze
27
+ CI = "CI".freeze
28
+ CJ = "CJ".freeze
29
+ CR = "CR".freeze
23
30
 
24
31
  # Builds the enum from string
25
32
  # @param [String] The enum value in the form of the string
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.37.9'
14
+ VERSION = '1.37.10'
15
15
  end
@@ -76,22 +76,28 @@ require 'transferzero-sdk/models/payout_method_details_btc'
76
76
  require 'transferzero-sdk/models/payout_method_details_bwp_bank'
77
77
  require 'transferzero-sdk/models/payout_method_details_balance'
78
78
  require 'transferzero-sdk/models/payout_method_details_cad_bank'
79
+ require 'transferzero-sdk/models/payout_method_details_crc_bank'
79
80
  require 'transferzero-sdk/models/payout_method_details_egp_bank'
80
81
  require 'transferzero-sdk/models/payout_method_details_egp_cash'
81
82
  require 'transferzero-sdk/models/payout_method_details_gbp_bank'
82
83
  require 'transferzero-sdk/models/payout_method_details_ghs_bank'
83
84
  require 'transferzero-sdk/models/payout_method_details_ghs_mobile'
84
85
  require 'transferzero-sdk/models/payout_method_details_gnf_mobile'
86
+ require 'transferzero-sdk/models/payout_method_details_gtq_bank'
85
87
  require 'transferzero-sdk/models/payout_method_details_iban'
86
88
  require 'transferzero-sdk/models/payout_method_details_kes_bank'
87
89
  require 'transferzero-sdk/models/payout_method_details_kes_mobile'
90
+ require 'transferzero-sdk/models/payout_method_details_mad_bank'
88
91
  require 'transferzero-sdk/models/payout_method_details_mad_cash'
89
92
  require 'transferzero-sdk/models/payout_method_details_mobile'
90
93
  require 'transferzero-sdk/models/payout_method_details_ngn_bank'
91
94
  require 'transferzero-sdk/models/payout_method_details_nzd_bank'
95
+ require 'transferzero-sdk/models/payout_method_details_pen_bank'
92
96
  require 'transferzero-sdk/models/payout_method_details_ugx_bank'
93
97
  require 'transferzero-sdk/models/payout_method_details_usd_bank'
94
98
  require 'transferzero-sdk/models/payout_method_details_usd_cash'
99
+ require 'transferzero-sdk/models/payout_method_details_vnd_bank'
100
+ require 'transferzero-sdk/models/payout_method_details_vnd_mobile'
95
101
  require 'transferzero-sdk/models/payout_method_details_xaf_bank'
96
102
  require 'transferzero-sdk/models/payout_method_details_xaf_mobile'
97
103
  require 'transferzero-sdk/models/payout_method_details_xof_bank'
@@ -0,0 +1,71 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsCRCBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsCRCBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsCRCBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsCRCBank' do
31
+ it 'should create an instance of PayoutMethodDetailsCRCBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsCRCBank)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' 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 "last_name"' 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 "identity_card_type"' 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 "identity_card_id"' 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 "iban"' 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 "street"' 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
+ end
@@ -0,0 +1,71 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsGTQBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsGTQBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsGTQBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsGTQBank' do
31
+ it 'should create an instance of PayoutMethodDetailsGTQBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsGTQBank)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' 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 "last_name"' 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 "identity_card_id"' 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 "bank_code"' 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 "bank_account"' 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 "bank_account_type"' 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
+ end
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsMADBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsMADBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsMADBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsMADBank' do
31
+ it 'should create an instance of PayoutMethodDetailsMADBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsMADBank)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' 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 "last_name"' 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 "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 "street"' 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 "transfer_reason"' 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
+ end
@@ -0,0 +1,77 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsPENBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsPENBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsPENBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsPENBank' do
31
+ it 'should create an instance of PayoutMethodDetailsPENBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsPENBank)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' 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 "last_name"' 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 "identity_card_type"' 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 "identity_card_id"' 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 "bank_code"' 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 "bank_account"' 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 "bank_account_type"' 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
+ end
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodDetailsVNDBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsVNDBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsVNDBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsVNDBank' do
31
+ it 'should create an instance of PayoutMethodDetailsVNDBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsVNDBank)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' 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 "last_name"' 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 "bank_account"' 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 "bank_code"' 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 "transfer_reason"' 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
+ end