transferzero-sdk 1.0.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +93 -0
  3. data/README.md +11 -4
  4. data/docs/AccountMeta.md +1 -1
  5. data/docs/Currency.md +1 -1
  6. data/docs/CurrencyExchange.md +1 -1
  7. data/docs/CurrencyExchangeAllOf.md +17 -0
  8. data/docs/CurrencyInfoApi.md +20 -6
  9. data/docs/CurrencyOpposite.md +4 -2
  10. data/docs/CurrencyOppositeAllOf.md +19 -0
  11. data/docs/Debit.md +2 -2
  12. data/docs/DocumentWebhookAllOf.md +17 -0
  13. data/docs/FieldSelectValidation.md +1 -1
  14. data/docs/FieldValidation.md +1 -1
  15. data/docs/PayinMethodDetails.md +1 -1
  16. data/docs/PayinMethodDetailsMobile.md +1 -1
  17. data/docs/PaymentMethod.md +2 -2
  18. data/docs/PaymentMethodOpposite.md +2 -2
  19. data/docs/PayoutMethod.md +1 -1
  20. data/docs/PayoutMethodWebhookAllOf.md +17 -0
  21. data/docs/Recipient.md +4 -2
  22. data/docs/RecipientWebhookAllOf.md +17 -0
  23. data/docs/Sender.md +4 -0
  24. data/docs/SenderWebhookAllOf.md +17 -0
  25. data/docs/TransactionWebhookAllOf.md +17 -0
  26. data/lib/transferzero-sdk.rb +7 -0
  27. data/lib/transferzero-sdk/api/currency_info_api.rb +6 -0
  28. data/lib/transferzero-sdk/api_client.rb +1 -3
  29. data/lib/transferzero-sdk/models/currency_exchange.rb +2 -1
  30. data/lib/transferzero-sdk/models/currency_exchange_all_of.rb +204 -0
  31. data/lib/transferzero-sdk/models/currency_opposite.rb +16 -5
  32. data/lib/transferzero-sdk/models/currency_opposite_all_of.rb +212 -0
  33. data/lib/transferzero-sdk/models/debit.rb +2 -7
  34. data/lib/transferzero-sdk/models/document_webhook.rb +1 -0
  35. data/lib/transferzero-sdk/models/document_webhook_all_of.rb +201 -0
  36. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  37. data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +1 -1
  38. data/lib/transferzero-sdk/models/payout_method_webhook.rb +1 -0
  39. data/lib/transferzero-sdk/models/payout_method_webhook_all_of.rb +201 -0
  40. data/lib/transferzero-sdk/models/recipient.rb +11 -1
  41. data/lib/transferzero-sdk/models/recipient_webhook.rb +1 -0
  42. data/lib/transferzero-sdk/models/recipient_webhook_all_of.rb +201 -0
  43. data/lib/transferzero-sdk/models/sender.rb +34 -2
  44. data/lib/transferzero-sdk/models/sender_webhook.rb +1 -0
  45. data/lib/transferzero-sdk/models/sender_webhook_all_of.rb +201 -0
  46. data/lib/transferzero-sdk/models/transaction_webhook.rb +1 -0
  47. data/lib/transferzero-sdk/models/transaction_webhook_all_of.rb +201 -0
  48. data/lib/transferzero-sdk/version.rb +1 -1
  49. data/spec/models/currency_exchange_all_of_spec.rb +41 -0
  50. data/spec/models/currency_opposite_all_of_spec.rb +41 -0
  51. data/spec/models/document_webhook_all_of_spec.rb +41 -0
  52. data/spec/models/payout_method_webhook_all_of_spec.rb +41 -0
  53. data/spec/models/recipient_webhook_all_of_spec.rb +41 -0
  54. data/spec/models/sender_webhook_all_of_spec.rb +41 -0
  55. data/spec/models/transaction_webhook_all_of_spec.rb +41 -0
  56. metadata +44 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae2ba119df28634848d972de738481bc9a301176fae48ec8ee0880f8199e75f0
4
- data.tar.gz: c38547763f4bd7789bb32fbbfe7ecb3b1b938efb8beedf24b946c418928858fc
3
+ metadata.gz: ec7ad9295e642f964d1fd79f4dc572929b15e8a09611c5b3b427ca018c45cd38
4
+ data.tar.gz: ce7e8272987b6b48cf9374784cfec071df90f71b2db7daccb1526d90179f46c2
5
5
  SHA512:
6
- metadata.gz: 88e9b869de1c7c30b7883ee07ae3d428fdec4769102a6ba0188bc3a2a474ce267319c1583781444aa8b0469b0947e7c1231de66b4b957a1a6a792b33a6b03076
7
- data.tar.gz: 7e88fcf87bdd03e57b3fcb8187b9df4686ee89b09daf443820179e01ae78e303065188d9780ab133b3642036b65b7afe077e1167e9bc7d015fed5f16da8dab76
6
+ metadata.gz: 20e6b03b1ed61397bed75c3a7de9a887fb3dc9a40a594c8ba22bad1a9c6728ac68abfb0e12eccb6b09089047a44e859b212a4dbf8e477d4ab33180cc4e7578a6
7
+ data.tar.gz: 27a877b021b92d6e45eec0bb90ac34ed37a7bbae0a08d19d984108bd60163a6fc39ed1cff9daf524cb096af6789334e52717f4f6b0d743ebaba2633a943105cd
@@ -0,0 +1,93 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ transferzero-sdk (1.2.0)
5
+ activesupport (~> 5)
6
+ json (~> 2.1, >= 2.1.0)
7
+ typhoeus (~> 1.0, >= 1.0.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ ZenTest (4.11.2)
13
+ activesupport (5.2.3)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 0.7, < 2)
16
+ minitest (~> 5.1)
17
+ tzinfo (~> 1.1)
18
+ addressable (2.6.0)
19
+ public_suffix (>= 2.0.2, < 4.0)
20
+ autotest (4.4.6)
21
+ ZenTest (>= 4.4.1)
22
+ autotest-fsevent (0.2.14)
23
+ sys-uname
24
+ autotest-growl (0.2.16)
25
+ autotest-rails-pure (4.1.2)
26
+ byebug (11.0.1)
27
+ coderay (1.1.2)
28
+ concurrent-ruby (1.1.5)
29
+ crack (0.4.3)
30
+ safe_yaml (~> 1.0.0)
31
+ diff-lcs (1.3)
32
+ ethon (0.12.0)
33
+ ffi (>= 1.3.0)
34
+ ffi (1.11.1)
35
+ hashdiff (1.0.0)
36
+ i18n (1.6.0)
37
+ concurrent-ruby (~> 1.0)
38
+ json (2.2.0)
39
+ method_source (0.9.2)
40
+ minitest (5.11.3)
41
+ pry (0.12.2)
42
+ coderay (~> 1.1.0)
43
+ method_source (~> 0.9.0)
44
+ pry-byebug (3.7.0)
45
+ byebug (~> 11.0)
46
+ pry (~> 0.10)
47
+ public_suffix (3.1.1)
48
+ rake (12.0.0)
49
+ rspec (3.8.0)
50
+ rspec-core (~> 3.8.0)
51
+ rspec-expectations (~> 3.8.0)
52
+ rspec-mocks (~> 3.8.0)
53
+ rspec-core (3.8.2)
54
+ rspec-support (~> 3.8.0)
55
+ rspec-expectations (3.8.4)
56
+ diff-lcs (>= 1.2.0, < 2.0)
57
+ rspec-support (~> 3.8.0)
58
+ rspec-mocks (3.8.1)
59
+ diff-lcs (>= 1.2.0, < 2.0)
60
+ rspec-support (~> 3.8.0)
61
+ rspec-support (3.8.2)
62
+ safe_yaml (1.0.5)
63
+ sys-uname (1.0.4)
64
+ ffi (>= 1.0.0)
65
+ thread_safe (0.3.6)
66
+ typhoeus (1.3.1)
67
+ ethon (>= 0.9.0)
68
+ tzinfo (1.2.5)
69
+ thread_safe (~> 0.1)
70
+ vcr (3.0.3)
71
+ webmock (1.24.6)
72
+ addressable (>= 2.3.6)
73
+ crack (>= 0.3.2)
74
+ hashdiff
75
+
76
+ PLATFORMS
77
+ ruby
78
+
79
+ DEPENDENCIES
80
+ ZenTest (~> 4.11, >= 4.11.2)
81
+ autotest (~> 4.4, >= 4.4.6)
82
+ autotest-fsevent (~> 0.2, >= 0.2.12)
83
+ autotest-growl (~> 0.2, >= 0.2.16)
84
+ autotest-rails-pure (~> 4.1, >= 4.1.2)
85
+ pry-byebug
86
+ rake (~> 12.0.0)
87
+ rspec (~> 3.6, >= 3.6.0)
88
+ transferzero-sdk!
89
+ vcr (~> 3.0, >= 3.0.1)
90
+ webmock (~> 1.24, >= 1.24.3)
91
+
92
+ BUNDLED WITH
93
+ 1.17.3
data/README.md CHANGED
@@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 1.0.0
10
+ - Package version: 1.3.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  For more information, please visit:
@@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
31
31
  Then either install the gem locally:
32
32
 
33
33
  ```shell
34
- gem install ./transferzero-sdk-1.0.0.gem
34
+ gem install ./transferzero-sdk-1.3.0.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.0.0.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.3.0.gem` to install the development dependencies)
37
37
 
38
38
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
39
39
 
40
40
  Finally add this to the Gemfile:
41
41
 
42
- gem 'transferzero-sdk', '~> 1.0.0'
42
+ gem 'transferzero-sdk', '~> 1.3.0'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -164,9 +164,11 @@ Class | Method | HTTP request | Description
164
164
  - [TransferZero::ApiLogResponse](docs/ApiLogResponse.md)
165
165
  - [TransferZero::Currency](docs/Currency.md)
166
166
  - [TransferZero::CurrencyExchange](docs/CurrencyExchange.md)
167
+ - [TransferZero::CurrencyExchangeAllOf](docs/CurrencyExchangeAllOf.md)
167
168
  - [TransferZero::CurrencyExchangeListResponse](docs/CurrencyExchangeListResponse.md)
168
169
  - [TransferZero::CurrencyListResponse](docs/CurrencyListResponse.md)
169
170
  - [TransferZero::CurrencyOpposite](docs/CurrencyOpposite.md)
171
+ - [TransferZero::CurrencyOppositeAllOf](docs/CurrencyOppositeAllOf.md)
170
172
  - [TransferZero::Debit](docs/Debit.md)
171
173
  - [TransferZero::DebitListRequest](docs/DebitListRequest.md)
172
174
  - [TransferZero::DebitListResponse](docs/DebitListResponse.md)
@@ -178,6 +180,7 @@ Class | Method | HTTP request | Description
178
180
  - [TransferZero::DocumentRequest](docs/DocumentRequest.md)
179
181
  - [TransferZero::DocumentResponse](docs/DocumentResponse.md)
180
182
  - [TransferZero::DocumentWebhook](docs/DocumentWebhook.md)
183
+ - [TransferZero::DocumentWebhookAllOf](docs/DocumentWebhookAllOf.md)
181
184
  - [TransferZero::ErrorStatus](docs/ErrorStatus.md)
182
185
  - [TransferZero::FieldDescription](docs/FieldDescription.md)
183
186
  - [TransferZero::FieldSelectValidation](docs/FieldSelectValidation.md)
@@ -209,12 +212,14 @@ Class | Method | HTTP request | Description
209
212
  - [TransferZero::PayoutMethodRequest](docs/PayoutMethodRequest.md)
210
213
  - [TransferZero::PayoutMethodResponse](docs/PayoutMethodResponse.md)
211
214
  - [TransferZero::PayoutMethodWebhook](docs/PayoutMethodWebhook.md)
215
+ - [TransferZero::PayoutMethodWebhookAllOf](docs/PayoutMethodWebhookAllOf.md)
212
216
  - [TransferZero::Recipient](docs/Recipient.md)
213
217
  - [TransferZero::RecipientListResponse](docs/RecipientListResponse.md)
214
218
  - [TransferZero::RecipientRequest](docs/RecipientRequest.md)
215
219
  - [TransferZero::RecipientResponse](docs/RecipientResponse.md)
216
220
  - [TransferZero::RecipientState](docs/RecipientState.md)
217
221
  - [TransferZero::RecipientWebhook](docs/RecipientWebhook.md)
222
+ - [TransferZero::RecipientWebhookAllOf](docs/RecipientWebhookAllOf.md)
218
223
  - [TransferZero::Sender](docs/Sender.md)
219
224
  - [TransferZero::SenderListResponse](docs/SenderListResponse.md)
220
225
  - [TransferZero::SenderRequest](docs/SenderRequest.md)
@@ -223,6 +228,7 @@ Class | Method | HTTP request | Description
223
228
  - [TransferZero::SenderResponseMeta](docs/SenderResponseMeta.md)
224
229
  - [TransferZero::SenderState](docs/SenderState.md)
225
230
  - [TransferZero::SenderWebhook](docs/SenderWebhook.md)
231
+ - [TransferZero::SenderWebhookAllOf](docs/SenderWebhookAllOf.md)
226
232
  - [TransferZero::Transaction](docs/Transaction.md)
227
233
  - [TransferZero::TransactionListResponse](docs/TransactionListResponse.md)
228
234
  - [TransferZero::TransactionRequest](docs/TransactionRequest.md)
@@ -232,6 +238,7 @@ Class | Method | HTTP request | Description
232
238
  - [TransferZero::TransactionState](docs/TransactionState.md)
233
239
  - [TransferZero::TransactionTraits](docs/TransactionTraits.md)
234
240
  - [TransferZero::TransactionWebhook](docs/TransactionWebhook.md)
241
+ - [TransferZero::TransactionWebhookAllOf](docs/TransactionWebhookAllOf.md)
235
242
  - [TransferZero::ValidationErrorDescription](docs/ValidationErrorDescription.md)
236
243
  - [TransferZero::Webhook](docs/Webhook.md)
237
244
  - [TransferZero::WebhookDefinition](docs/WebhookDefinition.md)
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  ```ruby
12
12
  require 'TransferZero'
13
13
 
14
- instance = TransferZero::AccountMeta.new(negative_balance: null)
14
+ instance = TransferZero::AccountMeta.new(negative_balance: false)
15
15
  ```
16
16
 
17
17
 
@@ -25,7 +25,7 @@ instance = TransferZero::Currency.new(code: NGN,
25
25
  symbol: ₦,
26
26
  decimals: 2,
27
27
  subunit_to_unit: 100,
28
- primary: null,
28
+ primary: true,
29
29
  min: 100,
30
30
  max: 50000000,
31
31
  margin: null,
@@ -26,7 +26,7 @@ instance = TransferZero::CurrencyExchange.new(code: NGN,
26
26
  symbol: ₦,
27
27
  decimals: 2,
28
28
  subunit_to_unit: 100,
29
- primary: null,
29
+ primary: true,
30
30
  min: 100,
31
31
  max: 50000000,
32
32
  margin: null,
@@ -0,0 +1,17 @@
1
+ # TransferZero::CurrencyExchangeAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **opposites** | [**Array&lt;CurrencyOpposite&gt;**](CurrencyOpposite.md) | Lists the currencies where you can exchange from this one | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::CurrencyExchangeAllOf.new(opposites: null)
15
+ ```
16
+
17
+
@@ -67,7 +67,7 @@ end
67
67
 
68
68
 
69
69
  # **info_currencies_in**
70
- > CurrencyExchangeListResponse info_currencies_in
70
+ > CurrencyExchangeListResponse info_currencies_in(opts)
71
71
 
72
72
  Getting a list of possible input currencies
73
73
 
@@ -80,9 +80,13 @@ require 'transferzero-sdk'
80
80
 
81
81
  api_instance = TransferZero::CurrencyInfoApi.new
82
82
 
83
+ opts = {
84
+ sender_id: 'sender_id_example' # String | Allows the scoping of the results by `sender_id` (optional). Example: `/v1/info/currencies/in?sender_id=26ec8517-2f0d-48c0-b74f-0bccb9ab3a87`
85
+ }
86
+
83
87
  begin
84
88
  #Getting a list of possible input currencies
85
- result = api_instance.info_currencies_in
89
+ result = api_instance.info_currencies_in(opts)
86
90
  p result
87
91
  rescue TransferZero::ApiError => e
88
92
  if e.validation_error
@@ -96,7 +100,10 @@ end
96
100
  ```
97
101
 
98
102
  ### Parameters
99
- This endpoint does not need any parameter.
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **sender_id** | [**String**](.md)| Allows the scoping of the results by &#x60;sender_id&#x60; (optional). Example: &#x60;/v1/info/currencies/in?sender_id&#x3D;26ec8517-2f0d-48c0-b74f-0bccb9ab3a87&#x60; | [optional]
100
107
 
101
108
  ### Return type
102
109
 
@@ -124,7 +131,7 @@ end
124
131
 
125
132
 
126
133
  # **info_currencies_out**
127
- > CurrencyExchangeListResponse info_currencies_out
134
+ > CurrencyExchangeListResponse info_currencies_out(opts)
128
135
 
129
136
  Getting a list of possible output currencies
130
137
 
@@ -137,9 +144,13 @@ require 'transferzero-sdk'
137
144
 
138
145
  api_instance = TransferZero::CurrencyInfoApi.new
139
146
 
147
+ opts = {
148
+ sender_id: 'sender_id_example' # String | Allows the scoping of the results by `sender_id` (optional). Example: `/v1/info/currencies/out?sender_id=26ec8517-2f0d-48c0-b74f-0bccb9ab3a87`
149
+ }
150
+
140
151
  begin
141
152
  #Getting a list of possible output currencies
142
- result = api_instance.info_currencies_out
153
+ result = api_instance.info_currencies_out(opts)
143
154
  p result
144
155
  rescue TransferZero::ApiError => e
145
156
  if e.validation_error
@@ -153,7 +164,10 @@ end
153
164
  ```
154
165
 
155
166
  ### Parameters
156
- This endpoint does not need any parameter.
167
+
168
+ Name | Type | Description | Notes
169
+ ------------- | ------------- | ------------- | -------------
170
+ **sender_id** | [**String**](.md)| Allows the scoping of the results by &#x60;sender_id&#x60; (optional). Example: &#x60;/v1/info/currencies/out?sender_id&#x3D;26ec8517-2f0d-48c0-b74f-0bccb9ab3a87&#x60; | [optional]
157
171
 
158
172
  ### Return type
159
173
 
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **margin** | **String** | The margin set for transactions in this currency | [optional]
16
16
  **usd_equivalent** | **String** | The equivalent of the currency to 1 USD | [optional]
17
17
  **rate** | **Float** | The rate of this particular currency with the base one | [optional]
18
+ **mtm_rate** | **Float** | Mark to market rate of this particular currency against the base one with the margin factored in | [optional]
18
19
 
19
20
  ## Code Sample
20
21
 
@@ -26,12 +27,13 @@ instance = TransferZero::CurrencyOpposite.new(code: NGN,
26
27
  symbol: ₦,
27
28
  decimals: 2,
28
29
  subunit_to_unit: 100,
29
- primary: null,
30
+ primary: true,
30
31
  min: 100,
31
32
  max: 50000000,
32
33
  margin: null,
33
34
  usd_equivalent: null,
34
- rate: null)
35
+ rate: null,
36
+ mtm_rate: null)
35
37
  ```
36
38
 
37
39
 
@@ -0,0 +1,19 @@
1
+ # TransferZero::CurrencyOppositeAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **rate** | **Float** | The rate of this particular currency with the base one | [optional]
8
+ **mtm_rate** | **Float** | Mark to market rate of this particular currency against the base one with the margin factored in | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'TransferZero'
14
+
15
+ instance = TransferZero::CurrencyOppositeAllOf.new(rate: null,
16
+ mtm_rate: null)
17
+ ```
18
+
19
+
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **amount** | **Float** | The amount to be debited from your account. The amount parameter is optional - - if included, it must equal the amount required to fund the transaction. - if omitted, it will default to the amount required to fund the transaction. | [optional]
8
- **currency** | **String** | The currency of the amount in 3-character alpha ISO 4217 currency format |
7
+ **amount** | **Float** | The amount to be debited from your account. The \&quot;amount\&quot; parameter is optional - - if included, it must equal the amount required to fund the transaction. - if omitted, it will default to the amount required to fund the transaction. | [optional]
8
+ **currency** | **String** | The currency of the amount in 3-character alpha ISO 4217 currency format. The \&quot;currency\&quot; parameter is optional - if omitted, it will default to the payin currency of the transaction. - it can be added in as an additional check to ensure that the expected currency is used. (an error will be given back if it does not match up with the payin currency of the transaction) | [optional]
9
9
  **to_type** | **String** | Describes what the debit is funding |
10
10
  **to_id** | **String** | The ID of the resource the debit is funding |
11
11
  **metadata** | [**Object**](.md) | Metadata of account debit | [optional]
@@ -0,0 +1,17 @@
1
+ # TransferZero::DocumentWebhookAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **object** | [**Document**](Document.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'TransferZero'
13
+
14
+ instance = TransferZero::DocumentWebhookAllOf.new(object: null)
15
+ ```
16
+
17
+
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  require 'TransferZero'
14
14
 
15
15
  instance = TransferZero::FieldSelectValidation.new(_in: {&quot;20&quot;:&quot;Current&quot;,&quot;10&quot;:&quot;Savings&quot;},
16
- allow_blank: null)
16
+ allow_blank: false)
17
17
  ```
18
18
 
19
19
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  ```ruby
14
14
  require 'TransferZero'
15
15
 
16
- instance = TransferZero::FieldValidation.new(presence: null,
16
+ instance = TransferZero::FieldValidation.new(presence: true,
17
17
  inclusion: null,
18
18
  format: {&quot;with&quot;:&quot;(?-mix:\\A\\d+\\z)&quot;})
19
19
  ```
@@ -15,7 +15,7 @@ require 'TransferZero'
15
15
 
16
16
  instance = TransferZero::PayinMethodDetails.new(redirect_url: null,
17
17
  phone_number: +2569999999,
18
- send_instructions: null)
18
+ send_instructions: true)
19
19
  ```
20
20
 
21
21
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  require 'TransferZero'
14
14
 
15
15
  instance = TransferZero::PayinMethodDetailsMobile.new(phone_number: +2569999999,
16
- send_instructions: null)
16
+ send_instructions: true)
17
17
  ```
18
18
 
19
19
 
@@ -18,9 +18,9 @@ require 'TransferZero'
18
18
 
19
19
  instance = TransferZero::PaymentMethod.new(type: NGN::Bank,
20
20
  provider: Interswitch,
21
- otc_permitted: null,
21
+ otc_permitted: false,
22
22
  details: [&quot;email&quot;,&quot;first_name&quot;,&quot;last_name&quot;,&quot;address&quot;],
23
- default: null,
23
+ default: false,
24
24
  fields: {&quot;email&quot;:{&quot;type&quot;:&quot;input&quot;,&quot;validations&quot;:{&quot;inclusion&quot;:{&quot;in&quot;:{&quot;NI&quot;:&quot;National Id&quot;,&quot;PP&quot;:&quot;Passport&quot;},&quot;allow_blank&quot;:true}}}})
25
25
  ```
26
26
 
@@ -19,9 +19,9 @@ require 'TransferZero'
19
19
 
20
20
  instance = TransferZero::PaymentMethodOpposite.new(type: NGN::Bank,
21
21
  provider: Interswitch,
22
- otc_permitted: null,
22
+ otc_permitted: false,
23
23
  details: [&quot;email&quot;,&quot;first_name&quot;,&quot;last_name&quot;,&quot;address&quot;],
24
- default: null,
24
+ default: false,
25
25
  fields: {&quot;email&quot;:{&quot;type&quot;:&quot;input&quot;,&quot;validations&quot;:{&quot;inclusion&quot;:{&quot;in&quot;:{&quot;NI&quot;:&quot;National Id&quot;,&quot;PP&quot;:&quot;Passport&quot;},&quot;allow_blank&quot;:true}}}},
26
26
  opposites: null)
27
27
  ```
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - &#x60;NGN::Bank&#x60; - for Nigerian bank account payments. - &#x60;NGN::Mobile&#x60; - for Nigerian mobile money payments. - &#x60;GHS::Bank&#x60; - for Ghanaian bank account payments. - &#x60;GHS::Mobile&#x60; - for Ghanaian mobile money payments. - &#x60;UGX::Mobile&#x60; - for Ugandan mobile money payments. - &#x60;TZS::Mobile&#x60; - for Tanzanian mobile money payments. - &#x60;XOF::Mobile&#x60; - for Senegalese mobile money payments. - &#x60;MAD::Cash&#x60; - for Moroccan cash remittance payments. - &#x60;EUR::Bank&#x60; - for IBAN bank transfers in EUR. - &#x60;GBP::Bank&#x60; - for IBAN bank transfers in GBP. You can also send funds to the internal balance using &#x60;CCY::Balance&#x60;, where &#x60;CCY&#x60; is the appropriate currency. See [Collection from senders](https://github.com/transferzero/api-documentation/blob/master/additional-features.md#collections-from-senders) for more info on how to collect money into internal balance | [optional]
7
+ **type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - &#x60;NGN::Bank&#x60; - for Nigerian bank account payments. - &#x60;NGN::Mobile&#x60; - for Nigerian mobile money payments. - &#x60;GHS::Bank&#x60; - for Ghanaian bank account payments. - &#x60;GHS::Mobile&#x60; - for Ghanaian mobile money payments. - &#x60;UGX::Mobile&#x60; - for Ugandan mobile money payments. - &#x60;TZS::Mobile&#x60; - for Tanzanian mobile money payments. - &#x60;XOF::Mobile&#x60; - for Senegalese mobile money payments. - &#x60;XOF::Cash&#x60; - for Senegalese cash remittance payments. - &#x60;MAD::Cash&#x60; - for Moroccan cash remittance payments. - &#x60;EUR::Bank&#x60; - for IBAN bank transfers in EUR. - &#x60;GBP::Bank&#x60; - for IBAN bank transfers in GBP. You can also send funds to the internal balance using &#x60;CCY::Balance&#x60;, where &#x60;CCY&#x60; is the appropriate currency. See [Collection from senders](https://github.com/transferzero/api-documentation/blob/master/additional-features.md#collections-from-senders) for more info on how to collect money into internal balance | [optional]
8
8
  **details** | [**PayoutMethodDetails**](PayoutMethodDetails.md) | | [optional]
9
9
  **metadata** | [**Object**](.md) | Metadata of payout method. You can store any kind of information in this field. | [optional]
10
10
  **id** | **String** | | [optional]