dwolla_swagger 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +8 -1
  4. data/lib/dwolla_swagger/api/customers_api.rb +2 -0
  5. data/lib/dwolla_swagger/api/fundingsources_api.rb +96 -3
  6. data/lib/dwolla_swagger/api/masspaymentitems_api.rb +108 -0
  7. data/lib/dwolla_swagger/api/masspayments_api.rb +196 -0
  8. data/lib/dwolla_swagger/api/ondemandauthorizations_api.rb +49 -0
  9. data/lib/dwolla_swagger/api/transfers_api.rb +95 -2
  10. data/lib/dwolla_swagger/models/authorization.rb +28 -0
  11. data/lib/dwolla_swagger/models/create_funding_source_request.rb +9 -1
  12. data/lib/dwolla_swagger/models/customer.rb +59 -3
  13. data/lib/dwolla_swagger/models/document.rb +9 -1
  14. data/lib/dwolla_swagger/models/facilitator_fee_request.rb +46 -0
  15. data/lib/dwolla_swagger/models/funding_source.rb +11 -3
  16. data/lib/dwolla_swagger/models/funding_source_balance.rb +62 -0
  17. data/lib/dwolla_swagger/models/id.rb +28 -0
  18. data/lib/dwolla_swagger/models/mass_payment.rb +76 -0
  19. data/lib/dwolla_swagger/models/mass_payment_item.rb +76 -0
  20. data/lib/dwolla_swagger/models/mass_payment_item_list_response.rb +54 -0
  21. data/lib/dwolla_swagger/models/mass_payment_item_request_body.rb +52 -0
  22. data/lib/dwolla_swagger/models/mass_payment_list_response.rb +54 -0
  23. data/lib/dwolla_swagger/models/mass_payment_request_body.rb +54 -0
  24. data/lib/dwolla_swagger/models/remove_bank_request.rb +36 -0
  25. data/lib/dwolla_swagger/models/transfer_request_body.rb +13 -3
  26. data/lib/dwolla_swagger/models/update_transfer.rb +36 -0
  27. data/lib/dwolla_swagger/swagger/version.rb +1 -1
  28. data/lib/dwolla_swagger.rb +35 -20
  29. metadata +18 -4
  30. data/dwolla_swagger-1.0.6.gem +0 -0
@@ -0,0 +1,54 @@
1
+ module DwollaSwagger
2
+ #
3
+ class MassPaymentRequestBody < BaseObject
4
+ attr_accessor :_links, :items, :metadata
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'_links' => :'_links',
11
+
12
+ #
13
+ :'items' => :'items',
14
+
15
+ #
16
+ :'metadata' => :'metadata'
17
+
18
+ }
19
+ end
20
+
21
+ # attribute type
22
+ def self.swagger_types
23
+ {
24
+ :'_links' => :'object',
25
+ :'items' => :'array[MassPaymentItemRequestBody]',
26
+ :'metadata' => :'object'
27
+
28
+ }
29
+ end
30
+
31
+ def initialize(attributes = {})
32
+ return if !attributes.is_a?(Hash) || attributes.empty?
33
+
34
+ # convert string to symbol for hash key
35
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
36
+
37
+
38
+ if attributes[:'_links']
39
+ @_links = attributes[:'_links']
40
+ end
41
+
42
+ if attributes[:'items']
43
+ if (value = attributes[:'items']).is_a?(Array)
44
+ @items = value
45
+ end
46
+ end
47
+
48
+ if attributes[:'metadata']
49
+ @metadata = attributes[:'metadata']
50
+ end
51
+
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,36 @@
1
+ module DwollaSwagger
2
+ #
3
+ class RemoveBankRequest < BaseObject
4
+ attr_accessor :removed
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'removed' => :'removed'
11
+
12
+ }
13
+ end
14
+
15
+ # attribute type
16
+ def self.swagger_types
17
+ {
18
+ :'removed' => :'boolean'
19
+
20
+ }
21
+ end
22
+
23
+ def initialize(attributes = {})
24
+ return if !attributes.is_a?(Hash) || attributes.empty?
25
+
26
+ # convert string to symbol for hash key
27
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
28
+
29
+
30
+ if attributes[:'removed']
31
+ @removed = attributes[:'removed']
32
+ end
33
+
34
+ end
35
+ end
36
+ end
@@ -1,7 +1,7 @@
1
1
  module DwollaSwagger
2
2
  #
3
3
  class TransferRequestBody < BaseObject
4
- attr_accessor :_links, :amount, :metadata
4
+ attr_accessor :_links, :amount, :metadata, :fees
5
5
  # attribute mapping from ruby-style variable name to JSON key
6
6
  def self.attribute_map
7
7
  {
@@ -13,7 +13,10 @@ module DwollaSwagger
13
13
  :'amount' => :'amount',
14
14
 
15
15
  #
16
- :'metadata' => :'metadata'
16
+ :'metadata' => :'metadata',
17
+
18
+ #
19
+ :'fees' => :'fees'
17
20
 
18
21
  }
19
22
  end
@@ -23,7 +26,8 @@ module DwollaSwagger
23
26
  {
24
27
  :'_links' => :'map[string,HalLink]',
25
28
  :'amount' => :'Amount',
26
- :'metadata' => :'object'
29
+ :'metadata' => :'object',
30
+ :'fees' => :'array[FacilitatorFeeRequest]'
27
31
 
28
32
  }
29
33
  end
@@ -49,6 +53,12 @@ module DwollaSwagger
49
53
  @metadata = attributes[:'metadata']
50
54
  end
51
55
 
56
+ if attributes[:'fees']
57
+ if (value = attributes[:'fees']).is_a?(Array)
58
+ @fees = value
59
+ end
60
+ end
61
+
52
62
  end
53
63
  end
54
64
  end
@@ -0,0 +1,36 @@
1
+ module DwollaSwagger
2
+ #
3
+ class UpdateTransfer < BaseObject
4
+ attr_accessor :status
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'status' => :'status'
11
+
12
+ }
13
+ end
14
+
15
+ # attribute type
16
+ def self.swagger_types
17
+ {
18
+ :'status' => :'string'
19
+
20
+ }
21
+ end
22
+
23
+ def initialize(attributes = {})
24
+ return if !attributes.is_a?(Hash) || attributes.empty?
25
+
26
+ # convert string to symbol for hash key
27
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
28
+
29
+
30
+ if attributes[:'status']
31
+ @status = attributes[:'status']
32
+ end
33
+
34
+ end
35
+ end
36
+ end
@@ -1,5 +1,5 @@
1
1
  module DwollaSwagger
2
2
  module Swagger
3
- VERSION = "1.0.7"
3
+ VERSION = "1.0.8"
4
4
  end
5
5
  end
@@ -11,57 +11,72 @@ require 'dwolla_swagger/swagger/version'
11
11
 
12
12
  # Models
13
13
  require 'dwolla_swagger/models/base_object'
14
- require 'dwolla_swagger/models/create_webhook'
15
14
  require 'dwolla_swagger/models/document_list_response'
16
- require 'dwolla_swagger/models/event_list_response'
17
15
  require 'dwolla_swagger/models/customer'
16
+ require 'dwolla_swagger/models/mass_payment'
17
+ require 'dwolla_swagger/models/update_transfer'
18
+ require 'dwolla_swagger/models/transfer_list_response'
19
+ require 'dwolla_swagger/models/document'
20
+ require 'dwolla_swagger/models/account_o_auth_token'
21
+ require 'dwolla_swagger/models/facilitator_fee_request'
22
+ require 'dwolla_swagger/models/customer_o_auth_token'
23
+ require 'dwolla_swagger/models/webhook_list_response'
24
+ require 'dwolla_swagger/models/update_customer'
25
+ require 'dwolla_swagger/models/application_event'
26
+ require 'dwolla_swagger/models/remove_bank_request'
27
+ require 'dwolla_swagger/models/business_classification_list_response'
28
+ require 'dwolla_swagger/models/mass_payment_list_response'
29
+ require 'dwolla_swagger/models/verify_micro_deposits_request'
30
+ require 'dwolla_swagger/models/business_classification'
31
+ require 'dwolla_swagger/models/transfer'
32
+ require 'dwolla_swagger/models/funding_source'
33
+ require 'dwolla_swagger/models/id'
34
+ require 'dwolla_swagger/models/create_webhook'
35
+ require 'dwolla_swagger/models/mass_payment_item'
36
+ require 'dwolla_swagger/models/event_list_response'
18
37
  require 'dwolla_swagger/models/funding_source_list_response'
19
38
  require 'dwolla_swagger/models/customer_list_response'
20
39
  require 'dwolla_swagger/models/catalog_response'
21
- require 'dwolla_swagger/models/transfer_list_response'
22
- require 'dwolla_swagger/models/document'
23
40
  require 'dwolla_swagger/models/o_auth_response'
41
+ require 'dwolla_swagger/models/authorization'
24
42
  require 'dwolla_swagger/models/webhook_http_response'
25
43
  require 'dwolla_swagger/models/hal_link'
26
44
  require 'dwolla_swagger/models/money'
27
45
  require 'dwolla_swagger/models/transfer_request_body'
28
46
  require 'dwolla_swagger/models/webhook_retry'
29
- require 'dwolla_swagger/models/customer_o_auth_token'
30
- require 'dwolla_swagger/models/account_o_auth_token'
31
47
  require 'dwolla_swagger/models/webhook_retry_request_list_response'
32
- require 'dwolla_swagger/models/webhook_list_response'
33
48
  require 'dwolla_swagger/models/account_info'
34
49
  require 'dwolla_swagger/models/webhook_attempt'
35
50
  require 'dwolla_swagger/models/unit__'
36
- require 'dwolla_swagger/models/update_customer'
37
51
  require 'dwolla_swagger/models/webhook_http_request'
38
52
  require 'dwolla_swagger/models/webhook_subscription'
39
53
  require 'dwolla_swagger/models/webhook_header'
40
54
  require 'dwolla_swagger/models/amount'
41
- require 'dwolla_swagger/models/application_event'
42
- require 'dwolla_swagger/models/business_classification_list_response'
55
+ require 'dwolla_swagger/models/mass_payment_request_body'
56
+ require 'dwolla_swagger/models/mass_payment_item_request_body'
57
+ require 'dwolla_swagger/models/funding_source_balance'
58
+ require 'dwolla_swagger/models/mass_payment_item_list_response'
43
59
  require 'dwolla_swagger/models/webhook_event_list_response'
44
60
  require 'dwolla_swagger/models/micro_deposits'
45
- require 'dwolla_swagger/models/verify_micro_deposits_request'
46
- require 'dwolla_swagger/models/business_classification'
47
- require 'dwolla_swagger/models/transfer'
48
61
  require 'dwolla_swagger/models/iav_token'
49
62
  require 'dwolla_swagger/models/webhook'
50
- require 'dwolla_swagger/models/funding_source'
51
63
  require 'dwolla_swagger/models/create_funding_source_request'
52
64
  require 'dwolla_swagger/models/create_customer'
53
65
 
54
66
  # APIs
55
- require 'dwolla_swagger/api/accounts_api'
56
- require 'dwolla_swagger/api/customers_api'
57
- require 'dwolla_swagger/api/businessclassifications_api'
58
- require 'dwolla_swagger/api/webhooks_api'
67
+ require 'dwolla_swagger/api/masspaymentitems_api'
68
+ require 'dwolla_swagger/api/webhooksubscriptions_api'
59
69
  require 'dwolla_swagger/api/root_api'
70
+ require 'dwolla_swagger/api/fundingsources_api'
71
+ require 'dwolla_swagger/api/customers_api'
60
72
  require 'dwolla_swagger/api/events_api'
61
73
  require 'dwolla_swagger/api/documents_api'
62
74
  require 'dwolla_swagger/api/transfers_api'
63
- require 'dwolla_swagger/api/fundingsources_api'
64
- require 'dwolla_swagger/api/webhooksubscriptions_api'
75
+ require 'dwolla_swagger/api/webhooks_api'
76
+ require 'dwolla_swagger/api/businessclassifications_api'
77
+ require 'dwolla_swagger/api/ondemandauthorizations_api'
78
+ require 'dwolla_swagger/api/masspayments_api'
79
+ require 'dwolla_swagger/api/accounts_api'
65
80
 
66
81
  module DwollaSwagger
67
82
  # Initialize the default configuration
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dwolla_swagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeke Sikelianos
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-04-18 00:00:00.000000000 Z
13
+ date: 2016-05-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus
@@ -224,7 +224,6 @@ files:
224
224
  - Gemfile
225
225
  - Gemfile.lock
226
226
  - README.md
227
- - dwolla_swagger-1.0.6.gem
228
227
  - dwolla_swagger.gemspec
229
228
  - lib/dwolla_swagger.rb
230
229
  - lib/dwolla_swagger/api/accounts_api.rb
@@ -233,6 +232,9 @@ files:
233
232
  - lib/dwolla_swagger/api/documents_api.rb
234
233
  - lib/dwolla_swagger/api/events_api.rb
235
234
  - lib/dwolla_swagger/api/fundingsources_api.rb
235
+ - lib/dwolla_swagger/api/masspaymentitems_api.rb
236
+ - lib/dwolla_swagger/api/masspayments_api.rb
237
+ - lib/dwolla_swagger/api/ondemandauthorizations_api.rb
236
238
  - lib/dwolla_swagger/api/root_api.rb
237
239
  - lib/dwolla_swagger/api/transfers_api.rb
238
240
  - lib/dwolla_swagger/api/webhooks_api.rb
@@ -241,6 +243,7 @@ files:
241
243
  - lib/dwolla_swagger/models/account_o_auth_token.rb
242
244
  - lib/dwolla_swagger/models/amount.rb
243
245
  - lib/dwolla_swagger/models/application_event.rb
246
+ - lib/dwolla_swagger/models/authorization.rb
244
247
  - lib/dwolla_swagger/models/base_object.rb
245
248
  - lib/dwolla_swagger/models/business_classification.rb
246
249
  - lib/dwolla_swagger/models/business_classification_list_response.rb
@@ -254,18 +257,29 @@ files:
254
257
  - lib/dwolla_swagger/models/document.rb
255
258
  - lib/dwolla_swagger/models/document_list_response.rb
256
259
  - lib/dwolla_swagger/models/event_list_response.rb
260
+ - lib/dwolla_swagger/models/facilitator_fee_request.rb
257
261
  - lib/dwolla_swagger/models/funding_source.rb
262
+ - lib/dwolla_swagger/models/funding_source_balance.rb
258
263
  - lib/dwolla_swagger/models/funding_source_list_response.rb
259
264
  - lib/dwolla_swagger/models/hal_link.rb
260
265
  - lib/dwolla_swagger/models/iav_token.rb
266
+ - lib/dwolla_swagger/models/id.rb
267
+ - lib/dwolla_swagger/models/mass_payment.rb
268
+ - lib/dwolla_swagger/models/mass_payment_item.rb
269
+ - lib/dwolla_swagger/models/mass_payment_item_list_response.rb
270
+ - lib/dwolla_swagger/models/mass_payment_item_request_body.rb
271
+ - lib/dwolla_swagger/models/mass_payment_list_response.rb
272
+ - lib/dwolla_swagger/models/mass_payment_request_body.rb
261
273
  - lib/dwolla_swagger/models/micro_deposits.rb
262
274
  - lib/dwolla_swagger/models/money.rb
263
275
  - lib/dwolla_swagger/models/o_auth_response.rb
276
+ - lib/dwolla_swagger/models/remove_bank_request.rb
264
277
  - lib/dwolla_swagger/models/transfer.rb
265
278
  - lib/dwolla_swagger/models/transfer_list_response.rb
266
279
  - lib/dwolla_swagger/models/transfer_request_body.rb
267
280
  - lib/dwolla_swagger/models/unit__.rb
268
281
  - lib/dwolla_swagger/models/update_customer.rb
282
+ - lib/dwolla_swagger/models/update_transfer.rb
269
283
  - lib/dwolla_swagger/models/verify_micro_deposits_request.rb
270
284
  - lib/dwolla_swagger/models/webhook.rb
271
285
  - lib/dwolla_swagger/models/webhook_attempt.rb
@@ -303,7 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
317
  version: '0'
304
318
  requirements: []
305
319
  rubyforge_project:
306
- rubygems_version: 2.5.1
320
+ rubygems_version: 2.5.0
307
321
  signing_key:
308
322
  specification_version: 4
309
323
  summary: Dwolla API V2 SDK
Binary file