transferzero-sdk 1.19.3 → 1.20.0

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 (193) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -11
  3. data/docs/Document.md +1 -1
  4. data/docs/Sender.md +2 -2
  5. data/lib/transferzero-sdk/api/account_debits_api.rb +2 -2
  6. data/lib/transferzero-sdk/api/account_validation_api.rb +2 -2
  7. data/lib/transferzero-sdk/api/accounts_api.rb +2 -2
  8. data/lib/transferzero-sdk/api/api_logs_api.rb +2 -2
  9. data/lib/transferzero-sdk/api/currency_info_api.rb +2 -2
  10. data/lib/transferzero-sdk/api/documents_api.rb +2 -2
  11. data/lib/transferzero-sdk/api/logs_api.rb +2 -2
  12. data/lib/transferzero-sdk/api/payin_methods_api.rb +2 -2
  13. data/lib/transferzero-sdk/api/payment_methods_api.rb +2 -2
  14. data/lib/transferzero-sdk/api/payout_methods_api.rb +2 -2
  15. data/lib/transferzero-sdk/api/recipients_api.rb +2 -2
  16. data/lib/transferzero-sdk/api/senders_api.rb +2 -2
  17. data/lib/transferzero-sdk/api/transactions_api.rb +2 -2
  18. data/lib/transferzero-sdk/api/webhooks_api.rb +2 -2
  19. data/lib/transferzero-sdk/api_client.rb +126 -91
  20. data/lib/transferzero-sdk/api_error.rb +2 -2
  21. data/lib/transferzero-sdk/configuration.rb +97 -21
  22. data/lib/transferzero-sdk/models/account.rb +2 -2
  23. data/lib/transferzero-sdk/models/account_list_response.rb +2 -2
  24. data/lib/transferzero-sdk/models/account_meta.rb +2 -2
  25. data/lib/transferzero-sdk/models/account_response.rb +2 -2
  26. data/lib/transferzero-sdk/models/account_validation_error.rb +2 -2
  27. data/lib/transferzero-sdk/models/account_validation_request.rb +2 -2
  28. data/lib/transferzero-sdk/models/account_validation_response.rb +2 -2
  29. data/lib/transferzero-sdk/models/account_validation_result.rb +2 -2
  30. data/lib/transferzero-sdk/models/api_log.rb +2 -2
  31. data/lib/transferzero-sdk/models/api_log_list_response.rb +2 -2
  32. data/lib/transferzero-sdk/models/api_log_response.rb +2 -2
  33. data/lib/transferzero-sdk/models/currency.rb +2 -2
  34. data/lib/transferzero-sdk/models/currency_exchange.rb +3 -4
  35. data/lib/transferzero-sdk/models/currency_exchange_list_response.rb +2 -2
  36. data/lib/transferzero-sdk/models/currency_list_response.rb +2 -2
  37. data/lib/transferzero-sdk/models/currency_opposite.rb +3 -4
  38. data/lib/transferzero-sdk/models/debit.rb +2 -2
  39. data/lib/transferzero-sdk/models/debit_list_request.rb +2 -2
  40. data/lib/transferzero-sdk/models/debit_list_response.rb +2 -2
  41. data/lib/transferzero-sdk/models/debit_request.rb +2 -2
  42. data/lib/transferzero-sdk/models/debit_request_wrapper.rb +2 -2
  43. data/lib/transferzero-sdk/models/debit_response.rb +2 -2
  44. data/lib/transferzero-sdk/models/document.rb +2 -2
  45. data/lib/transferzero-sdk/models/document_list_response.rb +2 -2
  46. data/lib/transferzero-sdk/models/document_request.rb +2 -2
  47. data/lib/transferzero-sdk/models/document_response.rb +2 -2
  48. data/lib/transferzero-sdk/models/document_webhook.rb +2 -3
  49. data/lib/transferzero-sdk/models/error_status.rb +2 -2
  50. data/lib/transferzero-sdk/models/field_description.rb +2 -2
  51. data/lib/transferzero-sdk/models/field_select_validation.rb +2 -2
  52. data/lib/transferzero-sdk/models/field_validation.rb +2 -2
  53. data/lib/transferzero-sdk/models/pagination.rb +2 -2
  54. data/lib/transferzero-sdk/models/pagination_meta.rb +2 -2
  55. data/lib/transferzero-sdk/models/payin_method.rb +2 -2
  56. data/lib/transferzero-sdk/models/payin_method_details.rb +2 -2
  57. data/lib/transferzero-sdk/models/payin_method_details_btc.rb +2 -2
  58. data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +2 -2
  59. data/lib/transferzero-sdk/models/payin_method_details_ngn_bank.rb +2 -2
  60. data/lib/transferzero-sdk/models/payin_method_request.rb +2 -2
  61. data/lib/transferzero-sdk/models/payin_method_response.rb +2 -2
  62. data/lib/transferzero-sdk/models/payin_method_state.rb +2 -2
  63. data/lib/transferzero-sdk/models/payin_method_ux_flow.rb +2 -2
  64. data/lib/transferzero-sdk/models/payment_method.rb +2 -2
  65. data/lib/transferzero-sdk/models/payment_method_list_response.rb +2 -2
  66. data/lib/transferzero-sdk/models/payment_method_opposite.rb +2 -2
  67. data/lib/transferzero-sdk/models/payout_method.rb +2 -2
  68. data/lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb +2 -2
  69. data/lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb +2 -2
  70. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +2 -2
  71. data/lib/transferzero-sdk/models/payout_method_details.rb +2 -2
  72. data/lib/transferzero-sdk/models/payout_method_details_balance.rb +2 -2
  73. data/lib/transferzero-sdk/models/payout_method_details_btc.rb +2 -2
  74. data/lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb +2 -2
  75. data/lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb +2 -2
  76. data/lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb +2 -2
  77. data/lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb +2 -2
  78. data/lib/transferzero-sdk/models/payout_method_details_iban.rb +2 -2
  79. data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +2 -2
  80. data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +2 -2
  81. data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +2 -2
  82. data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +2 -2
  83. data/lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb +3 -3
  84. data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +2 -2
  85. data/lib/transferzero-sdk/models/payout_method_details_usd_cash.rb +2 -2
  86. data/lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb +2 -2
  87. data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +2 -2
  88. data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +2 -2
  89. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +3 -3
  90. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +2 -2
  91. data/lib/transferzero-sdk/models/payout_method_gender_enum.rb +2 -2
  92. data/lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb +2 -2
  93. data/lib/transferzero-sdk/models/payout_method_legal_entity_type_enum.rb +2 -2
  94. data/lib/transferzero-sdk/models/payout_method_list_response.rb +2 -2
  95. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +5 -2
  96. data/lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb +2 -2
  97. data/lib/transferzero-sdk/models/payout_method_request.rb +2 -2
  98. data/lib/transferzero-sdk/models/payout_method_response.rb +2 -2
  99. data/lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb +2 -2
  100. data/lib/transferzero-sdk/models/payout_method_webhook.rb +2 -3
  101. data/lib/transferzero-sdk/models/politically_exposed_person.rb +2 -2
  102. data/lib/transferzero-sdk/models/proof_of_payment.rb +2 -2
  103. data/lib/transferzero-sdk/models/proof_of_payment_list_response.rb +2 -2
  104. data/lib/transferzero-sdk/models/recipient.rb +2 -2
  105. data/lib/transferzero-sdk/models/recipient_list_response.rb +2 -2
  106. data/lib/transferzero-sdk/models/recipient_request.rb +2 -2
  107. data/lib/transferzero-sdk/models/recipient_response.rb +2 -2
  108. data/lib/transferzero-sdk/models/recipient_state.rb +2 -2
  109. data/lib/transferzero-sdk/models/recipient_state_reason_details.rb +2 -2
  110. data/lib/transferzero-sdk/models/recipient_webhook.rb +2 -3
  111. data/lib/transferzero-sdk/models/sender.rb +2 -2
  112. data/lib/transferzero-sdk/models/sender_list_response.rb +2 -2
  113. data/lib/transferzero-sdk/models/sender_request.rb +2 -2
  114. data/lib/transferzero-sdk/models/sender_response.rb +2 -2
  115. data/lib/transferzero-sdk/models/sender_response_existing.rb +2 -2
  116. data/lib/transferzero-sdk/models/sender_response_meta.rb +2 -2
  117. data/lib/transferzero-sdk/models/sender_state.rb +2 -2
  118. data/lib/transferzero-sdk/models/sender_webhook.rb +2 -3
  119. data/lib/transferzero-sdk/models/state_reason_details.rb +2 -2
  120. data/lib/transferzero-sdk/models/transaction.rb +2 -2
  121. data/lib/transferzero-sdk/models/transaction_list_response.rb +2 -2
  122. data/lib/transferzero-sdk/models/transaction_request.rb +2 -2
  123. data/lib/transferzero-sdk/models/transaction_response.rb +2 -2
  124. data/lib/transferzero-sdk/models/transaction_response_existing.rb +2 -2
  125. data/lib/transferzero-sdk/models/transaction_response_meta.rb +2 -2
  126. data/lib/transferzero-sdk/models/transaction_state.rb +2 -2
  127. data/lib/transferzero-sdk/models/transaction_traits.rb +2 -2
  128. data/lib/transferzero-sdk/models/transaction_webhook.rb +2 -3
  129. data/lib/transferzero-sdk/models/validation_error_description.rb +2 -2
  130. data/lib/transferzero-sdk/models/webhook.rb +2 -2
  131. data/lib/transferzero-sdk/models/webhook_definition.rb +2 -2
  132. data/lib/transferzero-sdk/models/webhook_definition_event_list_response.rb +2 -2
  133. data/lib/transferzero-sdk/models/webhook_definition_list_response.rb +2 -2
  134. data/lib/transferzero-sdk/models/webhook_definition_request.rb +2 -2
  135. data/lib/transferzero-sdk/models/webhook_definition_response.rb +2 -2
  136. data/lib/transferzero-sdk/models/webhook_log.rb +2 -2
  137. data/lib/transferzero-sdk/models/webhook_log_list_response.rb +2 -2
  138. data/lib/transferzero-sdk/models/webhook_log_metadata.rb +2 -2
  139. data/lib/transferzero-sdk/models/webhook_log_metadata_request.rb +2 -2
  140. data/lib/transferzero-sdk/models/webhook_log_metadata_response.rb +2 -2
  141. data/lib/transferzero-sdk/models/webhook_log_response.rb +2 -2
  142. data/lib/transferzero-sdk/version.rb +3 -3
  143. data/lib/transferzero-sdk.rb +2 -9
  144. data/spec/api/documents_api_spec.rb +0 -15
  145. data/spec/api/payin_methods_api_spec.rb +2 -2
  146. data/spec/api/payout_methods_api_spec.rb +1 -1
  147. data/spec/api/recipients_api_spec.rb +13 -1
  148. data/spec/api/senders_api_spec.rb +1 -1
  149. data/spec/api/transactions_api_spec.rb +1 -0
  150. data/spec/models/account_validation_request_spec.rb +14 -2
  151. data/spec/models/currency_exchange_spec.rb +0 -6
  152. data/spec/models/currency_opposite_spec.rb +4 -4
  153. data/spec/models/currency_spec.rb +0 -6
  154. data/spec/models/document_spec.rb +20 -2
  155. data/spec/models/payin_method_details_mobile_spec.rb +7 -1
  156. data/spec/models/payin_method_details_spec.rb +13 -1
  157. data/spec/models/payin_method_spec.rb +25 -1
  158. data/spec/models/payout_method_details_kes_bank_spec.rb +6 -0
  159. data/spec/models/payout_method_details_kes_mobile_spec.rb +6 -0
  160. data/spec/models/payout_method_details_mobile_spec.rb +6 -0
  161. data/spec/models/payout_method_details_spec.rb +108 -0
  162. data/spec/models/payout_method_details_xof_bank_spec.rb +12 -0
  163. data/spec/models/payout_method_details_xof_cash_spec.rb +3 -9
  164. data/spec/models/payout_method_details_xof_mobile_spec.rb +12 -0
  165. data/spec/models/payout_method_details_zar_bank_spec.rb +48 -0
  166. data/spec/models/recipient_spec.rb +22 -0
  167. data/spec/models/sender_spec.rb +169 -19
  168. data/transferzero-sdk.gemspec +3 -9
  169. metadata +6 -157
  170. data/Gemfile.lock +0 -92
  171. data/docs/CurrencyExchangeAllOf.md +0 -17
  172. data/docs/CurrencyOppositeAllOf.md +0 -21
  173. data/docs/DocumentWebhookAllOf.md +0 -17
  174. data/docs/PayoutMethodWebhookAllOf.md +0 -17
  175. data/docs/RecipientWebhookAllOf.md +0 -17
  176. data/docs/SenderWebhookAllOf.md +0 -17
  177. data/docs/TransactionWebhookAllOf.md +0 -17
  178. data/lib/transferzero-sdk/models/currency_exchange_all_of.rb +0 -205
  179. data/lib/transferzero-sdk/models/currency_opposite_all_of.rb +0 -223
  180. data/lib/transferzero-sdk/models/document_webhook_all_of.rb +0 -202
  181. data/lib/transferzero-sdk/models/payout_method_webhook_all_of.rb +0 -202
  182. data/lib/transferzero-sdk/models/recipient_webhook_all_of.rb +0 -202
  183. data/lib/transferzero-sdk/models/sender_webhook_all_of.rb +0 -202
  184. data/lib/transferzero-sdk/models/transaction_webhook_all_of.rb +0 -202
  185. data/spec/models/currency_exchange_all_of_spec.rb +0 -41
  186. data/spec/models/currency_opposite_all_of_spec.rb +0 -53
  187. data/spec/models/document_webhook_all_of_spec.rb +0 -41
  188. data/spec/models/payout_method_webhook_all_of_spec.rb +0 -41
  189. data/spec/models/recipient_webhook_all_of_spec.rb +0 -41
  190. data/spec/models/sender_webhook_all_of_spec.rb +0 -41
  191. data/spec/models/transaction_webhook_all_of_spec.rb +0 -41
  192. data/transferzero-sdk-1.19.0.gem +0 -0
  193. data/transferzero-sdk-1.19.2.gem +0 -0
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Reference documentation for the TransferZero API V1
5
5
 
6
- The version of the OpenAPI document: 1.0
6
+ OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.1
9
+ OpenAPI Generator version: 4.0.0-beta3
10
10
 
11
11
  =end
12
12
 
@@ -30,11 +30,9 @@ require 'transferzero-sdk/models/api_log_list_response'
30
30
  require 'transferzero-sdk/models/api_log_response'
31
31
  require 'transferzero-sdk/models/currency'
32
32
  require 'transferzero-sdk/models/currency_exchange'
33
- require 'transferzero-sdk/models/currency_exchange_all_of'
34
33
  require 'transferzero-sdk/models/currency_exchange_list_response'
35
34
  require 'transferzero-sdk/models/currency_list_response'
36
35
  require 'transferzero-sdk/models/currency_opposite'
37
- require 'transferzero-sdk/models/currency_opposite_all_of'
38
36
  require 'transferzero-sdk/models/debit'
39
37
  require 'transferzero-sdk/models/debit_list_request'
40
38
  require 'transferzero-sdk/models/debit_list_response'
@@ -46,7 +44,6 @@ require 'transferzero-sdk/models/document_list_response'
46
44
  require 'transferzero-sdk/models/document_request'
47
45
  require 'transferzero-sdk/models/document_response'
48
46
  require 'transferzero-sdk/models/document_webhook'
49
- require 'transferzero-sdk/models/document_webhook_all_of'
50
47
  require 'transferzero-sdk/models/error_status'
51
48
  require 'transferzero-sdk/models/field_description'
52
49
  require 'transferzero-sdk/models/field_select_validation'
@@ -99,7 +96,6 @@ require 'transferzero-sdk/models/payout_method_request'
99
96
  require 'transferzero-sdk/models/payout_method_response'
100
97
  require 'transferzero-sdk/models/payout_method_transfer_reason_enum'
101
98
  require 'transferzero-sdk/models/payout_method_webhook'
102
- require 'transferzero-sdk/models/payout_method_webhook_all_of'
103
99
  require 'transferzero-sdk/models/politically_exposed_person'
104
100
  require 'transferzero-sdk/models/proof_of_payment'
105
101
  require 'transferzero-sdk/models/proof_of_payment_list_response'
@@ -110,7 +106,6 @@ require 'transferzero-sdk/models/recipient_response'
110
106
  require 'transferzero-sdk/models/recipient_state'
111
107
  require 'transferzero-sdk/models/recipient_state_reason_details'
112
108
  require 'transferzero-sdk/models/recipient_webhook'
113
- require 'transferzero-sdk/models/recipient_webhook_all_of'
114
109
  require 'transferzero-sdk/models/sender'
115
110
  require 'transferzero-sdk/models/sender_list_response'
116
111
  require 'transferzero-sdk/models/sender_request'
@@ -119,7 +114,6 @@ require 'transferzero-sdk/models/sender_response_existing'
119
114
  require 'transferzero-sdk/models/sender_response_meta'
120
115
  require 'transferzero-sdk/models/sender_state'
121
116
  require 'transferzero-sdk/models/sender_webhook'
122
- require 'transferzero-sdk/models/sender_webhook_all_of'
123
117
  require 'transferzero-sdk/models/state_reason_details'
124
118
  require 'transferzero-sdk/models/transaction'
125
119
  require 'transferzero-sdk/models/transaction_list_response'
@@ -130,7 +124,6 @@ require 'transferzero-sdk/models/transaction_response_meta'
130
124
  require 'transferzero-sdk/models/transaction_state'
131
125
  require 'transferzero-sdk/models/transaction_traits'
132
126
  require 'transferzero-sdk/models/transaction_webhook'
133
- require 'transferzero-sdk/models/transaction_webhook_all_of'
134
127
  require 'transferzero-sdk/models/validation_error_description'
135
128
  require 'transferzero-sdk/models/webhook'
136
129
  require 'transferzero-sdk/models/webhook_definition'
@@ -32,25 +32,11 @@ describe 'DocumentsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for delete_document
36
- # Deleting a document
37
- # Deletes a single document by the Document ID
38
- # @param document_id ID of the document to delete. Example: `/v1/document/bf9ff782-e182-45ac-abea-5bce83ad6670`
39
- # @param [Hash] opts the optional parameters
40
- # @option opts [String] :sender_id Allows filtering results by `sender_id`. Example: `/v1/transactions?sender_id=b41d3cb7-6c54-4245-85fc-8e30690eb0f7`
41
- # @return [DocumentResponse]
42
- describe 'delete_document test' do
43
- it 'should work' do
44
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
- end
46
- end
47
-
48
35
  # unit tests for get_document
49
36
  # Fetching a document
50
37
  # Returns a single document by the Documents ID
51
38
  # @param document_id ID of the document to get. Example: `/v1/documents/bf9ff782-e182-45ac-abea-5bce83ad6670`
52
39
  # @param [Hash] opts the optional parameters
53
- # @option opts [String] :sender_id Allows filtering results by `sender_id`. Example: `/v1/transactions?sender_id=b41d3cb7-6c54-4245-85fc-8e30690eb0f7`
54
40
  # @return [DocumentResponse]
55
41
  describe 'get_document test' do
56
42
  it 'should work' do
@@ -64,7 +50,6 @@ describe 'DocumentsApi' do
64
50
  # @param [Hash] opts the optional parameters
65
51
  # @option opts [Integer] :page The page number to request (defaults to 1)
66
52
  # @option opts [Integer] :per The number of results to load per page (defaults to 10)
67
- # @option opts [String] :sender_id Allows filtering results by `sender_id`. Example: `/v1/transactions?sender_id=b41d3cb7-6c54-4245-85fc-8e30690eb0f7`
68
53
  # @return [DocumentListResponse]
69
54
  describe 'get_documents test' do
70
55
  it 'should work' do
@@ -58,7 +58,7 @@ describe 'PayinMethodsApi' do
58
58
 
59
59
  # unit tests for patch_payin_method
60
60
  # Updating a payin method
61
- # Updates the payin method specified in the URL path.
61
+ # Updates a single payin method by the Payin Method ID
62
62
  # @param payin_method_id ID of the payin method to get. Example: `/v1/payin_methods/bf9ff782-e182-45ac-abea-5bce83ad6670`
63
63
  # @param payin_method
64
64
  # @param [Hash] opts the optional parameters
@@ -74,7 +74,7 @@ describe 'PayinMethodsApi' do
74
74
  # Retries the collection process for the payin method. Please note only payin methods in `error` state can be retried.
75
75
  # @param payin_method_id ID of the payin method whose collection process should be retried Example: `/v1/payin_methods/9d4d7b73-a94c-4979-ab57-09074fd55d33/retry`
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [nil]
77
+ # @return [PayinMethodResponse]
78
78
  describe 'retry_payin_method test' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -76,7 +76,7 @@ describe 'PayoutMethodsApi' do
76
76
 
77
77
  # unit tests for patch_payout_method
78
78
  # Updating a payout method
79
- # Updates the payout method specified in the URL path.
79
+ # Updates a single payout method by the Payout Method ID
80
80
  # @param payout_method_id ID of the payout method to get. Example: `/v1/payout_methods/bf9ff782-e182-45ac-abea-5bce83ad6670`
81
81
  # @param payout_method
82
82
  # @param [Hash] opts the optional parameters
@@ -34,7 +34,7 @@ describe 'RecipientsApi' do
34
34
 
35
35
  # unit tests for delete_recipient
36
36
  # Cancelling a recipient
37
- # Cancels the payment to the recipient specified in the URL path. Please note only recipients where the `may_cancel` attribute is true can be cancelled.
37
+ # Cancels the payment to the recipient specified in the URL path. Please note recipients where the `may_cancel` attribute is true will be cancelled immediately. If the `may_cancel` attribute is false you can still try to cancel the recipient, however it will only gets cancelled if we will receive a confirmation from our partner that the payment has failed
38
38
  # @param recipient_id ID of recipient to cancel. Example: `/v1/recipients/9d4d7b73-a94c-4979-ab57-09074fd55d33`
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [RecipientResponse]
@@ -76,4 +76,16 @@ describe 'RecipientsApi' do
76
76
  end
77
77
  end
78
78
 
79
+ # unit tests for proof_of_payments
80
+ # Returns list of proof of payments
81
+ # Returns a list of uploaded proof of payment files for a transaction recipient
82
+ # @param recipient_id ID of the recipient for whom the proof of payments will be returned. Example: `/v1/recipients/9d4d7b73-a94c-4979-ab57-09074fd55d33/proof_of_payments`
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [ProofOfPaymentListResponse]
85
+ describe 'proof_of_payments test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
79
91
  end
@@ -74,7 +74,7 @@ describe 'SendersApi' do
74
74
 
75
75
  # unit tests for patch_sender
76
76
  # Updating a sender
77
- # Updates the sender specified in the URL path.
77
+ # Updates a single sender by the Sender ID
78
78
  # @param sender_id ID of the sender to get. Example: `/v1/senders/bf9ff782-e182-45ac-abea-5bce83ad6670`
79
79
  # @param sender_request
80
80
  # @param [Hash] opts the optional parameters
@@ -76,6 +76,7 @@ describe 'TransactionsApi' do
76
76
  # @option opts [Integer] :per The number of results to load per page (defaults to 10)
77
77
  # @option opts [String] :external_id Allows filtering results by `external_id`. Example: `/v1/senders?external_id=26ec8517-2f0d-48c0-b74f-0bccb9ab3a87`
78
78
  # @option opts [String] :sender_id Allows filtering results by `sender_id`. Example: `/v1/transactions?sender_id=b41d3cb7-6c54-4245-85fc-8e30690eb0f7`
79
+ # @option opts [String] :transactions_type Allows filtering results by `transactions_type`. Example: `/v1/transactions?transactions_type=automated`
79
80
  # @return [TransactionListResponse]
80
81
  describe 'get_transactions test' do
81
82
  it 'should work' do
@@ -44,16 +44,28 @@ describe 'AccountValidationRequest' do
44
44
  end
45
45
  end
46
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
+
47
53
  describe 'test attribute "phone_number"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
56
  end
51
57
  end
52
58
 
59
+ describe 'test attribute "mobile_provider"' 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
+
53
65
  describe 'test attribute "country"' do
54
66
  it 'should work' do
55
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NG", "GH"])
68
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NG", "GH", "SN", "CI"])
57
69
  # validator.allowable_values.each do |value|
58
70
  # expect { @instance.country = value }.not_to raise_error
59
71
  # end
@@ -63,7 +75,7 @@ describe 'AccountValidationRequest' do
63
75
  describe 'test attribute "currency"' do
64
76
  it 'should work' do
65
77
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NGN", "GHS"])
78
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF"])
67
79
  # validator.allowable_values.each do |value|
68
80
  # expect { @instance.currency = value }.not_to raise_error
69
81
  # end
@@ -80,12 +80,6 @@ describe 'CurrencyExchange' do
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "margin"' 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
83
  describe 'test attribute "usd_equivalent"' do
90
84
  it 'should work' do
91
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -80,25 +80,25 @@ describe 'CurrencyOpposite' do
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "margin"' do
83
+ describe 'test attribute "usd_equivalent"' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  end
87
87
  end
88
88
 
89
- describe 'test attribute "usd_equivalent"' do
89
+ describe 'test attribute "rate"' do
90
90
  it 'should work' do
91
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
92
  end
93
93
  end
94
94
 
95
- describe 'test attribute "rate"' do
95
+ describe 'test attribute "mtm_rate"' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
98
  end
99
99
  end
100
100
 
101
- describe 'test attribute "mtm_rate"' do
101
+ describe 'test attribute "margin"' do
102
102
  it 'should work' do
103
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
104
  end
@@ -80,12 +80,6 @@ describe 'Currency' do
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "margin"' 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
83
  describe 'test attribute "usd_equivalent"' do
90
84
  it 'should work' do
91
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,13 +32,13 @@ describe 'Document' do
32
32
  expect(@instance).to be_instance_of(TransferZero::Document)
33
33
  end
34
34
  end
35
- describe 'test attribute "sender_id"' do
35
+ describe 'test attribute "upload"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "upload"' do
41
+ describe 'test attribute "url"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -102,6 +102,24 @@ describe 'Document' do
102
102
  end
103
103
  end
104
104
 
105
+ describe 'test attribute "document_id"' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
108
+ end
109
+ end
110
+
111
+ describe 'test attribute "expiry_date"' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ describe 'test attribute "source"' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
105
123
  describe 'test attribute "errors"' do
106
124
  it 'should work' do
107
125
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,7 +38,13 @@ describe 'PayinMethodDetailsMobile' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "send_instructions"' do
41
+ describe 'test attribute "mobile_provider"' 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 "otp"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
50
  end
@@ -50,7 +50,19 @@ describe 'PayinMethodDetails' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "send_instructions"' do
53
+ describe 'test attribute "mobile_provider"' 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 "otp"' 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 "refund_address"' do
54
66
  it 'should work' do
55
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
68
  end
@@ -38,12 +38,36 @@ describe 'PayinMethod' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "ux_flow"' 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
+
41
47
  describe 'test attribute "in_details"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
50
  end
45
51
  end
46
52
 
53
+ describe 'test attribute "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 "state"' 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 "state_reason_details"' 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
+
47
71
  describe 'test attribute "out_details"' do
48
72
  it 'should work' do
49
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,7 +80,7 @@ describe 'PayinMethod' do
56
80
  end
57
81
  end
58
82
 
59
- describe 'test attribute "provider"' do
83
+ describe 'test attribute "errors"' do
60
84
  it 'should work' do
61
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
86
  end
@@ -86,6 +86,12 @@ describe 'PayoutMethodDetailsKESBank' do
86
86
  end
87
87
  end
88
88
 
89
+ describe 'test attribute "transfer_reason"' 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
+
89
95
  describe 'test attribute "identity_card_type"' do
90
96
  it 'should work' do
91
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -68,6 +68,12 @@ describe 'PayoutMethodDetailsKESMobile' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "transfer_reason"' 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
+
71
77
  describe 'test attribute "identity_card_type"' do
72
78
  it 'should work' do
73
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,4 +50,10 @@ describe 'PayoutMethodDetailsMobile' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "mobile_provider"' 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
+
53
59
  end
@@ -74,6 +74,18 @@ describe 'PayoutMethodDetails' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "country"' 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 "transfer_reason"' 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
+
77
89
  describe 'test attribute "iban"' do
78
90
  it 'should work' do
79
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -92,6 +104,18 @@ describe 'PayoutMethodDetails' do
92
104
  end
93
105
  end
94
106
 
107
+ describe 'test attribute "cash_provider"' 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 "sort_code"' 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
+
95
119
  describe 'test attribute "bic"' do
96
120
  it 'should work' do
97
121
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -152,4 +176,88 @@ describe 'PayoutMethodDetails' do
152
176
  end
153
177
  end
154
178
 
179
+ describe 'test attribute "name"' do
180
+ it 'should work' do
181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
+ end
183
+ end
184
+
185
+ describe 'test attribute "address"' do
186
+ it 'should work' do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
191
+ describe 'test attribute "street"' do
192
+ it 'should work' do
193
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
194
+ end
195
+ end
196
+
197
+ describe 'test attribute "postal_code"' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ describe 'test attribute "city"' do
204
+ it 'should work' do
205
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
+ end
207
+ end
208
+
209
+ describe 'test attribute "email"' do
210
+ it 'should work' do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ describe 'test attribute "transfer_reason_code"' do
216
+ it 'should work' do
217
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
218
+ end
219
+ end
220
+
221
+ describe 'test attribute "contact_first_name"' do
222
+ it 'should work' do
223
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
+ end
225
+ end
226
+
227
+ describe 'test attribute "contact_last_name"' do
228
+ it 'should work' do
229
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
230
+ end
231
+ end
232
+
233
+ describe 'test attribute "registration_number"' do
234
+ it 'should work' do
235
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
236
+ end
237
+ end
238
+
239
+ describe 'test attribute "nature_of_business"' do
240
+ it 'should work' do
241
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
242
+ end
243
+ end
244
+
245
+ describe 'test attribute "legal_entity_type"' do
246
+ it 'should work' do
247
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
248
+ end
249
+ end
250
+
251
+ describe 'test attribute "branch_code"' do
252
+ it 'should work' do
253
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
254
+ end
255
+ end
256
+
257
+ describe 'test attribute "swift_code"' do
258
+ it 'should work' do
259
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
260
+ end
261
+ end
262
+
155
263
  end
@@ -62,4 +62,16 @@ describe 'PayoutMethodDetailsXOFBank' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "bank_code"' 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 "transfer_reason"' 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
+
65
77
  end
@@ -44,25 +44,19 @@ describe 'PayoutMethodDetailsXOFCash' do
44
44
  end
45
45
  end
46
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 "identity_card_type"' do
47
+ describe 'test attribute "phone_number"' do
54
48
  it 'should work' do
55
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
50
  end
57
51
  end
58
52
 
59
- describe 'test attribute "phone_number"' do
53
+ describe 'test attribute "cash_provider"' do
60
54
  it 'should work' do
61
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
56
  end
63
57
  end
64
58
 
65
- describe 'test attribute "cash_provider"' do
59
+ describe 'test attribute "country"' do
66
60
  it 'should work' do
67
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
62
  end
@@ -56,4 +56,16 @@ describe 'PayoutMethodDetailsXOFMobile' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "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 "transfer_reason"' 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
+
59
71
  end