wallee-ruby-sdk 1.0.2 → 2.2.5

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 (495) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/LICENSE +1 -1
  4. data/README.md +101 -38
  5. data/lib/wallee-ruby-sdk.rb +252 -116
  6. data/lib/wallee-ruby-sdk/{services → api}/account_service_api.rb +35 -39
  7. data/lib/wallee-ruby-sdk/{services → api}/application_user_service_api.rb +35 -39
  8. data/lib/wallee-ruby-sdk/{services → api}/card_processing_service_api.rb +20 -24
  9. data/lib/wallee-ruby-sdk/{services → api}/charge_attempt_service_api.rb +20 -24
  10. data/lib/wallee-ruby-sdk/{services/email_template_service_api.rb → api/charge_bank_transaction_service_api.rb} +36 -40
  11. data/lib/wallee-ruby-sdk/api/charge_flow_level_payment_link_service_api.rb +213 -0
  12. data/lib/wallee-ruby-sdk/{services → api}/charge_flow_level_service_api.rb +27 -31
  13. data/lib/wallee-ruby-sdk/{services → api}/charge_flow_service_api.rb +36 -40
  14. data/lib/wallee-ruby-sdk/{services → api}/condition_type_service_api.rb +11 -15
  15. data/lib/wallee-ruby-sdk/{services → api}/country_service_api.rb +5 -9
  16. data/lib/wallee-ruby-sdk/{services → api}/country_state_service_api.rb +11 -15
  17. data/lib/wallee-ruby-sdk/{services → api}/currency_service_api.rb +5 -9
  18. data/lib/wallee-ruby-sdk/api/customer_address_service_api.rb +460 -0
  19. data/lib/wallee-ruby-sdk/api/customer_comment_service_api.rb +522 -0
  20. data/lib/wallee-ruby-sdk/{services/token_service_api.rb → api/customer_service_api.rb} +68 -72
  21. data/lib/wallee-ruby-sdk/{services → api}/debt_collection_case_service_api.rb +87 -91
  22. data/lib/wallee-ruby-sdk/{services → api}/debt_collector_configuration_service_api.rb +20 -24
  23. data/lib/wallee-ruby-sdk/{services → api}/debt_collector_service_api.rb +11 -15
  24. data/lib/wallee-ruby-sdk/{services → api}/delivery_indication_service_api.rb +34 -38
  25. data/lib/wallee-ruby-sdk/{services → api}/document_template_service_api.rb +20 -24
  26. data/lib/wallee-ruby-sdk/{services → api}/document_template_type_service_api.rb +11 -15
  27. data/lib/wallee-ruby-sdk/api/external_transfer_bank_transaction_service_api.rb +213 -0
  28. data/lib/wallee-ruby-sdk/{services → api}/human_user_service_api.rb +41 -45
  29. data/lib/wallee-ruby-sdk/{services → api}/installment_payment_service_api.rb +29 -33
  30. data/lib/wallee-ruby-sdk/{services → api}/installment_payment_slice_service_api.rb +21 -25
  31. data/lib/wallee-ruby-sdk/{services → api}/installment_plan_calculation_service_api.rb +7 -11
  32. data/lib/wallee-ruby-sdk/{services → api}/installment_plan_configuration_service_api.rb +21 -25
  33. data/lib/wallee-ruby-sdk/{services → api}/installment_plan_slice_configuration_service_api.rb +21 -25
  34. data/lib/wallee-ruby-sdk/api/internal_transfer_bank_transaction_service_api.rb +213 -0
  35. data/lib/wallee-ruby-sdk/{services → api}/label_description_group_service_api.rb +11 -15
  36. data/lib/wallee-ruby-sdk/{services → api}/label_description_service_api.rb +11 -15
  37. data/lib/wallee-ruby-sdk/{services → api}/language_service_api.rb +5 -9
  38. data/lib/wallee-ruby-sdk/{services → api}/legal_organization_form_service_api.rb +17 -21
  39. data/lib/wallee-ruby-sdk/{services → api}/manual_task_service_api.rb +20 -24
  40. data/lib/wallee-ruby-sdk/{services → api}/mertic_usage_service_api.rb +8 -12
  41. data/lib/wallee-ruby-sdk/{services → api}/payment_connector_configuration_service_api.rb +20 -24
  42. data/lib/wallee-ruby-sdk/{services → api}/payment_connector_service_api.rb +11 -15
  43. data/lib/wallee-ruby-sdk/{services → api}/payment_link_service_api.rb +41 -45
  44. data/lib/wallee-ruby-sdk/api/payment_method_brand_service_api.rb +139 -0
  45. data/lib/wallee-ruby-sdk/{services → api}/payment_method_configuration_service_api.rb +20 -24
  46. data/lib/wallee-ruby-sdk/{services → api}/payment_method_service_api.rb +11 -15
  47. data/lib/wallee-ruby-sdk/{services → api}/payment_processor_configuration_service_api.rb +20 -24
  48. data/lib/wallee-ruby-sdk/{services → api}/payment_processor_service_api.rb +11 -15
  49. data/lib/wallee-ruby-sdk/api/payment_terminal_service_api.rb +213 -0
  50. data/lib/wallee-ruby-sdk/api/payment_terminal_till_service_api.rb +99 -0
  51. data/lib/wallee-ruby-sdk/{services → api}/permission_service_api.rb +11 -15
  52. data/lib/wallee-ruby-sdk/api/refund_bank_transaction_service_api.rb +213 -0
  53. data/lib/wallee-ruby-sdk/api/refund_comment_service_api.rb +464 -0
  54. data/lib/wallee-ruby-sdk/api/refund_recovery_bank_transaction_service_api.rb +213 -0
  55. data/lib/wallee-ruby-sdk/{services → api}/refund_service_api.rb +117 -53
  56. data/lib/wallee-ruby-sdk/api/shopify_recurring_order_service_api.rb +274 -0
  57. data/lib/wallee-ruby-sdk/api/shopify_subscriber_service_api.rb +213 -0
  58. data/lib/wallee-ruby-sdk/api/shopify_subscription_product_service_api.rb +337 -0
  59. data/lib/wallee-ruby-sdk/api/shopify_subscription_service_api.rb +466 -0
  60. data/lib/wallee-ruby-sdk/api/shopify_subscription_suspension_service_api.rb +337 -0
  61. data/lib/wallee-ruby-sdk/api/shopify_subscription_version_service_api.rb +213 -0
  62. data/lib/wallee-ruby-sdk/api/shopify_transaction_service_api.rb +213 -0
  63. data/lib/wallee-ruby-sdk/{services → api}/space_service_api.rb +35 -39
  64. data/lib/wallee-ruby-sdk/{services → api}/static_value_service_api.rb +11 -15
  65. data/lib/wallee-ruby-sdk/{services → api}/subscriber_service_api.rb +44 -48
  66. data/lib/wallee-ruby-sdk/{services → api}/subscription_affiliate_service_api.rb +41 -45
  67. data/lib/wallee-ruby-sdk/{services → api}/subscription_charge_service_api.rb +34 -38
  68. data/lib/wallee-ruby-sdk/{services → api}/subscription_ledger_entry_service_api.rb +27 -31
  69. data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_service_api.rb +41 -45
  70. data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_usage_service_api.rb +27 -31
  71. data/lib/wallee-ruby-sdk/{services → api}/subscription_period_bill_service_api.rb +26 -30
  72. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_group_service_api.rb +41 -45
  73. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_service_api.rb +41 -45
  74. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_fee_tier_service_api.rb +41 -45
  75. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_metered_fee_service_api.rb +41 -45
  76. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_period_fee_service_api.rb +41 -45
  77. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_retirement_service_api.rb +27 -31
  78. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_service_api.rb +34 -38
  79. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_setup_fee_service_api.rb +41 -45
  80. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_retirement_service_api.rb +27 -31
  81. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_service_api.rb +41 -45
  82. data/lib/wallee-ruby-sdk/{services → api}/subscription_service_api.rb +237 -107
  83. data/lib/wallee-ruby-sdk/{services → api}/subscription_suspension_service_api.rb +34 -38
  84. data/lib/wallee-ruby-sdk/{services → api}/subscription_version_service_api.rb +20 -24
  85. data/lib/wallee-ruby-sdk/api/token_service_api.rb +587 -0
  86. data/lib/wallee-ruby-sdk/{services → api}/token_version_service_api.rb +27 -31
  87. data/lib/wallee-ruby-sdk/api/transaction_comment_service_api.rb +464 -0
  88. data/lib/wallee-ruby-sdk/{services → api}/transaction_completion_service_api.rb +158 -38
  89. data/lib/wallee-ruby-sdk/api/transaction_iframe_service_api.rb +91 -0
  90. data/lib/wallee-ruby-sdk/api/transaction_invoice_comment_service_api.rb +464 -0
  91. data/lib/wallee-ruby-sdk/{services → api}/transaction_invoice_service_api.rb +180 -53
  92. data/lib/wallee-ruby-sdk/api/transaction_lightbox_service_api.rb +91 -0
  93. data/lib/wallee-ruby-sdk/api/transaction_mobile_sdk_service_api.rb +86 -0
  94. data/lib/wallee-ruby-sdk/api/transaction_payment_page_service_api.rb +91 -0
  95. data/lib/wallee-ruby-sdk/{services → api}/transaction_service_api.rb +149 -327
  96. data/lib/wallee-ruby-sdk/api/transaction_terminal_service_api.rb +172 -0
  97. data/lib/wallee-ruby-sdk/{services → api}/transaction_void_service_api.rb +34 -38
  98. data/lib/wallee-ruby-sdk/{services → api}/user_account_role_service_api.rb +21 -25
  99. data/lib/wallee-ruby-sdk/{services → api}/user_space_role_service_api.rb +21 -25
  100. data/lib/wallee-ruby-sdk/{services → api}/webhook_listener_service_api.rb +41 -45
  101. data/lib/wallee-ruby-sdk/{services → api}/webhook_url_service_api.rb +41 -45
  102. data/lib/wallee-ruby-sdk/api_client.rb +9 -8
  103. data/lib/wallee-ruby-sdk/api_error.rb +0 -4
  104. data/lib/wallee-ruby-sdk/configuration.rb +2 -6
  105. data/lib/wallee-ruby-sdk/models/abstract_account_update.rb +40 -14
  106. data/lib/wallee-ruby-sdk/models/abstract_application_user_update.rb +31 -14
  107. data/lib/wallee-ruby-sdk/models/abstract_customer_active.rb +312 -0
  108. data/lib/wallee-ruby-sdk/models/abstract_customer_address_active.rb +200 -0
  109. data/lib/wallee-ruby-sdk/models/abstract_customer_comment_active.rb +205 -0
  110. data/lib/wallee-ruby-sdk/models/abstract_debt_collection_case_update.rb +5 -13
  111. data/lib/wallee-ruby-sdk/models/abstract_human_user_update.rb +87 -15
  112. data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +35 -28
  113. data/lib/wallee-ruby-sdk/models/abstract_refund_comment_active.rb +205 -0
  114. data/lib/wallee-ruby-sdk/models/abstract_shopify_subscription_product_update.rb +320 -0
  115. data/lib/wallee-ruby-sdk/models/abstract_space_update.rb +51 -15
  116. data/lib/wallee-ruby-sdk/models/abstract_subscriber_update.rb +51 -14
  117. data/lib/wallee-ruby-sdk/models/abstract_subscription_affiliate_update.rb +30 -14
  118. data/lib/wallee-ruby-sdk/models/abstract_subscription_metric_update.rb +5 -13
  119. data/lib/wallee-ruby-sdk/models/abstract_subscription_product_active.rb +20 -13
  120. data/lib/wallee-ruby-sdk/models/abstract_token_update.rb +35 -13
  121. data/lib/wallee-ruby-sdk/models/abstract_transaction_comment_active.rb +205 -0
  122. data/lib/wallee-ruby-sdk/models/abstract_transaction_invoice_comment_active.rb +205 -0
  123. data/lib/wallee-ruby-sdk/models/abstract_transaction_pending.rb +127 -17
  124. data/lib/wallee-ruby-sdk/models/abstract_webhook_listener_update.rb +43 -14
  125. data/lib/wallee-ruby-sdk/models/abstract_webhook_url_update.rb +44 -13
  126. data/lib/wallee-ruby-sdk/models/account.rb +90 -13
  127. data/lib/wallee-ruby-sdk/models/account_create.rb +56 -14
  128. data/lib/wallee-ruby-sdk/models/account_state.rb +12 -20
  129. data/lib/wallee-ruby-sdk/models/account_type.rb +9 -17
  130. data/lib/wallee-ruby-sdk/models/account_update.rb +42 -15
  131. data/lib/wallee-ruby-sdk/models/address.rb +240 -22
  132. data/lib/wallee-ruby-sdk/models/address_create.rb +240 -22
  133. data/lib/wallee-ruby-sdk/models/application_user.rb +32 -14
  134. data/lib/wallee-ruby-sdk/models/application_user_create.rb +32 -14
  135. data/lib/wallee-ruby-sdk/models/application_user_create_with_mac_key.rb +31 -13
  136. data/lib/wallee-ruby-sdk/models/application_user_update.rb +33 -15
  137. data/lib/wallee-ruby-sdk/models/bank_account.rb +291 -0
  138. data/lib/wallee-ruby-sdk/models/bank_account_environment.rb +35 -0
  139. data/lib/wallee-ruby-sdk/models/bank_account_state.rb +37 -0
  140. data/lib/wallee-ruby-sdk/models/bank_account_type.rb +227 -0
  141. data/lib/wallee-ruby-sdk/models/bank_transaction.rb +387 -0
  142. data/lib/wallee-ruby-sdk/models/bank_transaction_flow_direction.rb +35 -0
  143. data/lib/wallee-ruby-sdk/models/{attachment_resource.rb → bank_transaction_source.rb} +33 -28
  144. data/lib/wallee-ruby-sdk/models/bank_transaction_state.rb +35 -0
  145. data/lib/wallee-ruby-sdk/models/bank_transaction_type.rb +215 -0
  146. data/lib/wallee-ruby-sdk/models/charge.rb +16 -13
  147. data/lib/wallee-ruby-sdk/models/charge_attempt.rb +61 -13
  148. data/lib/wallee-ruby-sdk/models/charge_attempt_environment.rb +8 -16
  149. data/lib/wallee-ruby-sdk/models/charge_attempt_state.rb +9 -17
  150. data/lib/wallee-ruby-sdk/models/charge_bank_transaction.rb +291 -0
  151. data/lib/wallee-ruby-sdk/models/charge_flow.rb +5 -12
  152. data/lib/wallee-ruby-sdk/models/charge_flow_level.rb +5 -12
  153. data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration.rb +20 -12
  154. data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration_type.rb +20 -15
  155. data/lib/wallee-ruby-sdk/models/charge_flow_level_payment_link.rb +231 -0
  156. data/lib/wallee-ruby-sdk/models/charge_flow_level_state.rb +9 -17
  157. data/lib/wallee-ruby-sdk/models/charge_state.rb +9 -17
  158. data/lib/wallee-ruby-sdk/models/charge_type.rb +10 -17
  159. data/lib/wallee-ruby-sdk/models/client_error.rb +5 -12
  160. data/lib/wallee-ruby-sdk/models/client_error_type.rb +9 -17
  161. data/lib/wallee-ruby-sdk/models/completion_line_item.rb +226 -0
  162. data/lib/wallee-ruby-sdk/models/completion_line_item_create.rb +245 -0
  163. data/lib/wallee-ruby-sdk/models/condition.rb +20 -12
  164. data/lib/wallee-ruby-sdk/models/condition_type.rb +7 -14
  165. data/lib/wallee-ruby-sdk/models/connector_invocation.rb +5 -12
  166. data/lib/wallee-ruby-sdk/models/connector_invocation_stage.rb +10 -18
  167. data/lib/wallee-ruby-sdk/models/creation_entity_state.rb +11 -19
  168. data/lib/wallee-ruby-sdk/models/criteria_operator.rb +18 -24
  169. data/lib/wallee-ruby-sdk/models/currency_bank_account.rb +241 -0
  170. data/lib/wallee-ruby-sdk/models/customer.rb +353 -0
  171. data/lib/wallee-ruby-sdk/models/customer_active.rb +343 -0
  172. data/lib/wallee-ruby-sdk/models/customer_address.rb +261 -0
  173. data/lib/wallee-ruby-sdk/models/customer_address_active.rb +231 -0
  174. data/lib/wallee-ruby-sdk/models/customer_address_create.rb +216 -0
  175. data/lib/wallee-ruby-sdk/models/customer_address_type.rb +36 -0
  176. data/lib/wallee-ruby-sdk/models/customer_comment.rb +296 -0
  177. data/lib/wallee-ruby-sdk/models/customer_comment_active.rb +236 -0
  178. data/lib/wallee-ruby-sdk/models/customer_comment_create.rb +221 -0
  179. data/lib/wallee-ruby-sdk/models/customer_create.rb +313 -0
  180. data/lib/wallee-ruby-sdk/models/customer_postal_address.rb +606 -0
  181. data/lib/wallee-ruby-sdk/models/customer_postal_address_create.rb +606 -0
  182. data/lib/wallee-ruby-sdk/models/customers_presence.rb +9 -17
  183. data/lib/wallee-ruby-sdk/models/data_collection_type.rb +8 -16
  184. data/lib/wallee-ruby-sdk/models/database_translated_string.rb +5 -12
  185. data/lib/wallee-ruby-sdk/models/database_translated_string_create.rb +5 -12
  186. data/lib/wallee-ruby-sdk/models/database_translated_string_item.rb +20 -12
  187. data/lib/wallee-ruby-sdk/models/database_translated_string_item_create.rb +21 -13
  188. data/lib/wallee-ruby-sdk/models/debt_collection_case.rb +5 -12
  189. data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +7 -14
  190. data/lib/wallee-ruby-sdk/models/debt_collection_case_document.rb +50 -12
  191. data/lib/wallee-ruby-sdk/models/debt_collection_case_source.rb +7 -14
  192. data/lib/wallee-ruby-sdk/models/debt_collection_case_state.rb +13 -21
  193. data/lib/wallee-ruby-sdk/models/debt_collection_case_update.rb +7 -14
  194. data/lib/wallee-ruby-sdk/models/debt_collection_environment.rb +8 -16
  195. data/lib/wallee-ruby-sdk/models/debt_collection_receipt.rb +29 -12
  196. data/lib/wallee-ruby-sdk/models/debt_collection_receipt_source.rb +7 -14
  197. data/lib/wallee-ruby-sdk/models/debt_collector.rb +7 -14
  198. data/lib/wallee-ruby-sdk/models/debt_collector_condition.rb +20 -12
  199. data/lib/wallee-ruby-sdk/models/debt_collector_condition_type.rb +7 -14
  200. data/lib/wallee-ruby-sdk/models/debt_collector_configuration.rb +20 -12
  201. data/lib/wallee-ruby-sdk/models/delivery_indication.rb +16 -13
  202. data/lib/wallee-ruby-sdk/models/delivery_indication_decision_reason.rb +7 -14
  203. data/lib/wallee-ruby-sdk/models/delivery_indication_state.rb +10 -18
  204. data/lib/wallee-ruby-sdk/models/document_template.rb +41 -13
  205. data/lib/wallee-ruby-sdk/models/document_template_type.rb +18 -15
  206. data/lib/wallee-ruby-sdk/models/document_template_type_group.rb +203 -0
  207. data/lib/wallee-ruby-sdk/models/entity_export_request.rb +6 -13
  208. data/lib/wallee-ruby-sdk/models/entity_query.rb +5 -12
  209. data/lib/wallee-ruby-sdk/models/entity_query_filter.rb +6 -13
  210. data/lib/wallee-ruby-sdk/models/entity_query_filter_type.rb +9 -17
  211. data/lib/wallee-ruby-sdk/models/entity_query_order_by.rb +7 -14
  212. data/lib/wallee-ruby-sdk/models/entity_query_order_by_type.rb +8 -16
  213. data/lib/wallee-ruby-sdk/models/environment.rb +8 -16
  214. data/lib/wallee-ruby-sdk/models/external_transfer_bank_transaction.rb +251 -0
  215. data/lib/wallee-ruby-sdk/models/failure_category.rb +11 -19
  216. data/lib/wallee-ruby-sdk/models/failure_reason.rb +7 -14
  217. data/lib/wallee-ruby-sdk/models/feature.rb +18 -15
  218. data/lib/wallee-ruby-sdk/models/feature_category.rb +225 -0
  219. data/lib/wallee-ruby-sdk/models/gender.rb +8 -16
  220. data/lib/wallee-ruby-sdk/models/human_user.rb +107 -14
  221. data/lib/wallee-ruby-sdk/models/human_user_create.rb +86 -13
  222. data/lib/wallee-ruby-sdk/models/human_user_update.rb +88 -15
  223. data/lib/wallee-ruby-sdk/models/installment_calculated_plan.rb +5 -12
  224. data/lib/wallee-ruby-sdk/models/installment_calculated_slice.rb +5 -12
  225. data/lib/wallee-ruby-sdk/models/installment_payment.rb +5 -12
  226. data/lib/wallee-ruby-sdk/models/installment_payment_slice.rb +5 -12
  227. data/lib/wallee-ruby-sdk/models/installment_payment_slice_state.rb +13 -21
  228. data/lib/wallee-ruby-sdk/models/installment_payment_state.rb +14 -22
  229. data/lib/wallee-ruby-sdk/models/installment_plan_configuration.rb +20 -12
  230. data/lib/wallee-ruby-sdk/models/installment_plan_slice_configuration.rb +5 -12
  231. data/lib/wallee-ruby-sdk/models/internal_transfer_bank_transaction.rb +231 -0
  232. data/lib/wallee-ruby-sdk/models/label.rb +5 -12
  233. data/lib/wallee-ruby-sdk/models/label_descriptor.rb +7 -14
  234. data/lib/wallee-ruby-sdk/models/label_descriptor_category.rb +8 -16
  235. data/lib/wallee-ruby-sdk/models/label_descriptor_group.rb +7 -14
  236. data/lib/wallee-ruby-sdk/models/label_descriptor_type.rb +7 -14
  237. data/lib/wallee-ruby-sdk/models/legal_organization_form.rb +5 -12
  238. data/lib/wallee-ruby-sdk/models/line_item.rb +121 -14
  239. data/lib/wallee-ruby-sdk/models/line_item_attribute.rb +35 -12
  240. data/lib/wallee-ruby-sdk/models/line_item_attribute_create.rb +45 -14
  241. data/lib/wallee-ruby-sdk/models/line_item_create.rb +84 -19
  242. data/lib/wallee-ruby-sdk/models/line_item_reduction.rb +20 -12
  243. data/lib/wallee-ruby-sdk/models/line_item_reduction_create.rb +27 -15
  244. data/lib/wallee-ruby-sdk/models/line_item_type.rb +10 -18
  245. data/lib/wallee-ruby-sdk/models/localized_string.rb +5 -12
  246. data/lib/wallee-ruby-sdk/models/manual_task.rb +5 -12
  247. data/lib/wallee-ruby-sdk/models/manual_task_action.rb +6 -13
  248. data/lib/wallee-ruby-sdk/models/manual_task_action_style.rb +9 -17
  249. data/lib/wallee-ruby-sdk/models/manual_task_state.rb +9 -17
  250. data/lib/wallee-ruby-sdk/models/manual_task_type.rb +7 -14
  251. data/lib/wallee-ruby-sdk/models/metric_usage.rb +7 -14
  252. data/lib/wallee-ruby-sdk/models/one_click_payment_mode.rb +9 -17
  253. data/lib/wallee-ruby-sdk/models/payment_adjustment.rb +231 -0
  254. data/lib/wallee-ruby-sdk/models/payment_adjustment_type.rb +215 -0
  255. data/lib/wallee-ruby-sdk/models/payment_connector.rb +8 -15
  256. data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +33 -13
  257. data/lib/wallee-ruby-sdk/models/payment_connector_feature.rb +5 -12
  258. data/lib/wallee-ruby-sdk/models/payment_contract.rb +29 -12
  259. data/lib/wallee-ruby-sdk/models/payment_contract_state.rb +11 -19
  260. data/lib/wallee-ruby-sdk/models/payment_contract_type.rb +7 -14
  261. data/lib/wallee-ruby-sdk/models/payment_information_hash.rb +211 -0
  262. data/lib/wallee-ruby-sdk/models/payment_information_hash_type.rb +203 -0
  263. data/lib/wallee-ruby-sdk/models/payment_link.rb +59 -27
  264. data/lib/wallee-ruby-sdk/models/payment_link_active.rb +37 -29
  265. data/lib/wallee-ruby-sdk/models/payment_link_address_handling_mode.rb +36 -0
  266. data/lib/wallee-ruby-sdk/models/payment_link_create.rb +64 -28
  267. data/lib/wallee-ruby-sdk/models/payment_link_protection_mode.rb +8 -16
  268. data/lib/wallee-ruby-sdk/models/payment_link_update.rb +37 -29
  269. data/lib/wallee-ruby-sdk/models/payment_method.rb +8 -15
  270. data/lib/wallee-ruby-sdk/models/payment_method_brand.rb +7 -14
  271. data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +22 -14
  272. data/lib/wallee-ruby-sdk/models/payment_primary_risk_taker.rb +9 -17
  273. data/lib/wallee-ruby-sdk/models/payment_processor.rb +10 -17
  274. data/lib/wallee-ruby-sdk/models/payment_processor_configuration.rb +20 -12
  275. data/lib/wallee-ruby-sdk/models/{email_template.rb → payment_terminal.rb} +51 -79
  276. data/lib/wallee-ruby-sdk/models/{space_address_setter.rb → payment_terminal_address.rb} +105 -27
  277. data/lib/wallee-ruby-sdk/models/{email_sender.rb → payment_terminal_configuration.rb} +34 -46
  278. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_state.rb +37 -0
  279. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version.rb +313 -0
  280. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version_state.rb +38 -0
  281. data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +276 -0
  282. data/lib/wallee-ruby-sdk/models/payment_terminal_location_state.rb +37 -0
  283. data/lib/wallee-ruby-sdk/models/payment_terminal_location_version.rb +281 -0
  284. data/lib/wallee-ruby-sdk/models/payment_terminal_location_version_state.rb +38 -0
  285. data/lib/wallee-ruby-sdk/models/payment_terminal_state.rb +38 -0
  286. data/lib/wallee-ruby-sdk/models/payment_terminal_type.rb +215 -0
  287. data/lib/wallee-ruby-sdk/models/permission.rb +20 -17
  288. data/lib/wallee-ruby-sdk/models/persistable_currency_amount.rb +5 -12
  289. data/lib/wallee-ruby-sdk/models/persistable_currency_amount_update.rb +5 -12
  290. data/lib/wallee-ruby-sdk/models/product_fee_type.rb +9 -17
  291. data/lib/wallee-ruby-sdk/models/product_metered_fee.rb +5 -12
  292. data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +7 -14
  293. data/lib/wallee-ruby-sdk/models/product_metered_tier_fee.rb +5 -12
  294. data/lib/wallee-ruby-sdk/models/product_metered_tier_fee_update.rb +7 -14
  295. data/lib/wallee-ruby-sdk/models/product_metered_tier_pricing.rb +8 -16
  296. data/lib/wallee-ruby-sdk/models/product_period_fee.rb +16 -13
  297. data/lib/wallee-ruby-sdk/models/product_period_fee_update.rb +18 -15
  298. data/lib/wallee-ruby-sdk/models/product_setup_fee.rb +5 -12
  299. data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +7 -14
  300. data/lib/wallee-ruby-sdk/models/refund.rb +120 -13
  301. data/lib/wallee-ruby-sdk/models/refund_bank_transaction.rb +281 -0
  302. data/lib/wallee-ruby-sdk/models/refund_comment.rb +296 -0
  303. data/lib/wallee-ruby-sdk/models/refund_comment_active.rb +236 -0
  304. data/lib/wallee-ruby-sdk/models/refund_comment_create.rb +221 -0
  305. data/lib/wallee-ruby-sdk/models/refund_create.rb +67 -21
  306. data/lib/wallee-ruby-sdk/models/refund_recovery_bank_transaction.rb +293 -0
  307. data/lib/wallee-ruby-sdk/models/refund_state.rb +12 -19
  308. data/lib/wallee-ruby-sdk/models/refund_type.rb +10 -18
  309. data/lib/wallee-ruby-sdk/models/rendered_document.rb +5 -12
  310. data/lib/wallee-ruby-sdk/models/rendered_terminal_receipt.rb +203 -0
  311. data/lib/wallee-ruby-sdk/models/resource_path.rb +29 -12
  312. data/lib/wallee-ruby-sdk/models/resource_state.rb +9 -17
  313. data/lib/wallee-ruby-sdk/models/rest_address_format.rb +5 -12
  314. data/lib/wallee-ruby-sdk/models/rest_address_format_field.rb +16 -24
  315. data/lib/wallee-ruby-sdk/models/rest_country.rb +5 -12
  316. data/lib/wallee-ruby-sdk/models/rest_country_state.rb +5 -12
  317. data/lib/wallee-ruby-sdk/models/rest_currency.rb +5 -12
  318. data/lib/wallee-ruby-sdk/models/rest_language.rb +5 -12
  319. data/lib/wallee-ruby-sdk/models/role.rb +16 -13
  320. data/lib/wallee-ruby-sdk/models/{email_template_type.rb → sales_channel.rb} +27 -70
  321. data/lib/wallee-ruby-sdk/models/scope.rb +61 -13
  322. data/lib/wallee-ruby-sdk/models/server_error.rb +5 -12
  323. data/lib/wallee-ruby-sdk/models/shopify_additional_line_item_data.rb +35 -0
  324. data/lib/wallee-ruby-sdk/models/shopify_integration.rb +470 -0
  325. data/lib/wallee-ruby-sdk/models/shopify_integration_payment_app_version.rb +34 -0
  326. data/lib/wallee-ruby-sdk/models/shopify_integration_subscription_app_version.rb +36 -0
  327. data/lib/wallee-ruby-sdk/models/shopify_recurring_order.rb +351 -0
  328. data/lib/wallee-ruby-sdk/models/shopify_recurring_order_state.rb +39 -0
  329. data/lib/wallee-ruby-sdk/models/shopify_recurring_order_update_request.rb +201 -0
  330. data/lib/wallee-ruby-sdk/models/shopify_subscriber.rb +281 -0
  331. data/lib/wallee-ruby-sdk/models/shopify_subscriber_creation.rb +216 -0
  332. data/lib/wallee-ruby-sdk/models/shopify_subscriber_state.rb +36 -0
  333. data/lib/wallee-ruby-sdk/models/shopify_subscription.rb +365 -0
  334. data/lib/wallee-ruby-sdk/models/shopify_subscription_address.rb +546 -0
  335. data/lib/wallee-ruby-sdk/models/shopify_subscription_address_create.rb +546 -0
  336. data/lib/wallee-ruby-sdk/models/shopify_subscription_billing_interval_unit.rb +39 -0
  337. data/lib/wallee-ruby-sdk/models/shopify_subscription_creation_request.rb +353 -0
  338. data/lib/wallee-ruby-sdk/models/shopify_subscription_model_billing_configuration.rb +261 -0
  339. data/lib/wallee-ruby-sdk/models/shopify_subscription_model_item.rb +233 -0
  340. data/lib/wallee-ruby-sdk/models/{entity_reference.rb → shopify_subscription_model_tax_line.rb} +27 -14
  341. data/lib/wallee-ruby-sdk/models/shopify_subscription_product.rb +471 -0
  342. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_create.rb +366 -0
  343. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_pricing_option.rb +38 -0
  344. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_state.rb +39 -0
  345. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_update.rb +351 -0
  346. data/lib/wallee-ruby-sdk/models/shopify_subscription_state.rb +39 -0
  347. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension.rb +311 -0
  348. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_create.rb +226 -0
  349. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_initiator.rb +35 -0
  350. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_state.rb +35 -0
  351. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_type.rb +35 -0
  352. data/lib/wallee-ruby-sdk/models/shopify_subscription_update_addresses_request.rb +211 -0
  353. data/lib/wallee-ruby-sdk/models/shopify_subscription_update_request.rb +233 -0
  354. data/lib/wallee-ruby-sdk/models/shopify_subscription_version.rb +453 -0
  355. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_item.rb +233 -0
  356. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_item_price_strategy.rb +35 -0
  357. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_state.rb +36 -0
  358. data/lib/wallee-ruby-sdk/models/shopify_subscription_weekday.rb +40 -0
  359. data/lib/wallee-ruby-sdk/models/shopify_tax_line.rb +231 -0
  360. data/lib/wallee-ruby-sdk/models/shopify_transaction.rb +301 -0
  361. data/lib/wallee-ruby-sdk/models/shopify_transaction_state.rb +38 -0
  362. data/lib/wallee-ruby-sdk/models/space.rb +91 -14
  363. data/lib/wallee-ruby-sdk/models/space_address.rb +120 -22
  364. data/lib/wallee-ruby-sdk/models/space_address_create.rb +120 -22
  365. data/lib/wallee-ruby-sdk/models/space_create.rb +52 -15
  366. data/lib/wallee-ruby-sdk/models/space_reference.rb +5 -12
  367. data/lib/wallee-ruby-sdk/models/space_reference_state.rb +11 -19
  368. data/lib/wallee-ruby-sdk/models/space_update.rb +53 -16
  369. data/lib/wallee-ruby-sdk/models/space_view.rb +29 -12
  370. data/lib/wallee-ruby-sdk/models/static_value.rb +7 -14
  371. data/lib/wallee-ruby-sdk/models/subscriber.rb +51 -13
  372. data/lib/wallee-ruby-sdk/models/subscriber_active.rb +53 -15
  373. data/lib/wallee-ruby-sdk/models/subscriber_create.rb +52 -14
  374. data/lib/wallee-ruby-sdk/models/subscriber_update.rb +53 -15
  375. data/lib/wallee-ruby-sdk/models/subscription.rb +76 -13
  376. data/lib/wallee-ruby-sdk/models/subscription_affiliate.rb +78 -13
  377. data/lib/wallee-ruby-sdk/models/subscription_affiliate_create.rb +92 -14
  378. data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleted.rb +78 -13
  379. data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleting.rb +78 -13
  380. data/lib/wallee-ruby-sdk/models/subscription_affiliate_inactive.rb +32 -15
  381. data/lib/wallee-ruby-sdk/models/subscription_affiliate_update.rb +32 -15
  382. data/lib/wallee-ruby-sdk/models/subscription_change_request.rb +25 -15
  383. data/lib/wallee-ruby-sdk/models/subscription_charge.rb +79 -13
  384. data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +71 -15
  385. data/lib/wallee-ruby-sdk/models/subscription_charge_processing_type.rb +8 -16
  386. data/lib/wallee-ruby-sdk/models/subscription_charge_state.rb +11 -19
  387. data/lib/wallee-ruby-sdk/models/subscription_charge_type.rb +8 -16
  388. data/lib/wallee-ruby-sdk/models/subscription_component_configuration.rb +201 -0
  389. data/lib/wallee-ruby-sdk/models/subscription_component_reference_configuration.rb +201 -0
  390. data/lib/wallee-ruby-sdk/models/subscription_create_request.rb +22 -17
  391. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +40 -13
  392. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +38 -17
  393. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_state.rb +9 -17
  394. data/lib/wallee-ruby-sdk/models/subscription_metric.rb +5 -12
  395. data/lib/wallee-ruby-sdk/models/subscription_metric_active.rb +7 -14
  396. data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +7 -14
  397. data/lib/wallee-ruby-sdk/models/subscription_metric_type.rb +7 -14
  398. data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +7 -14
  399. data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report.rb +20 -12
  400. data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report_create.rb +24 -16
  401. data/lib/wallee-ruby-sdk/models/subscription_pending.rb +48 -25
  402. data/lib/wallee-ruby-sdk/models/subscription_period_bill.rb +5 -12
  403. data/lib/wallee-ruby-sdk/models/subscription_period_bill_state.rb +8 -16
  404. data/lib/wallee-ruby-sdk/models/subscription_product.rb +35 -12
  405. data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +22 -14
  406. data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +36 -13
  407. data/lib/wallee-ruby-sdk/models/subscription_product_component_group.rb +5 -12
  408. data/lib/wallee-ruby-sdk/models/subscription_product_component_group_update.rb +7 -14
  409. data/lib/wallee-ruby-sdk/models/subscription_product_component_reference.rb +20 -12
  410. data/lib/wallee-ruby-sdk/models/subscription_product_component_reference_state.rb +10 -18
  411. data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +38 -15
  412. data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +40 -13
  413. data/lib/wallee-ruby-sdk/models/subscription_product_retirement.rb +5 -12
  414. data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +6 -13
  415. data/lib/wallee-ruby-sdk/models/subscription_product_state.rb +11 -19
  416. data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +31 -13
  417. data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +19 -16
  418. data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement.rb +5 -12
  419. data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +6 -13
  420. data/lib/wallee-ruby-sdk/models/subscription_product_version_state.rb +11 -19
  421. data/lib/wallee-ruby-sdk/models/subscription_state.rb +14 -21
  422. data/lib/wallee-ruby-sdk/models/subscription_suspension.rb +20 -12
  423. data/lib/wallee-ruby-sdk/models/subscription_suspension_action.rb +8 -16
  424. data/lib/wallee-ruby-sdk/models/subscription_suspension_create.rb +23 -15
  425. data/lib/wallee-ruby-sdk/models/subscription_suspension_reason.rb +9 -17
  426. data/lib/wallee-ruby-sdk/models/subscription_suspension_running.rb +20 -12
  427. data/lib/wallee-ruby-sdk/models/subscription_suspension_state.rb +8 -16
  428. data/lib/wallee-ruby-sdk/models/subscription_update.rb +33 -15
  429. data/lib/wallee-ruby-sdk/models/subscription_update_request.rb +206 -0
  430. data/lib/wallee-ruby-sdk/models/subscription_version.rb +18 -13
  431. data/lib/wallee-ruby-sdk/models/subscription_version_state.rb +12 -20
  432. data/lib/wallee-ruby-sdk/models/tax.rb +29 -12
  433. data/lib/wallee-ruby-sdk/models/tax_calculation.rb +35 -0
  434. data/lib/wallee-ruby-sdk/models/tax_class.rb +20 -12
  435. data/lib/wallee-ruby-sdk/models/tax_create.rb +35 -14
  436. data/lib/wallee-ruby-sdk/models/tenant_database.rb +20 -12
  437. data/lib/wallee-ruby-sdk/models/token.rb +59 -12
  438. data/lib/wallee-ruby-sdk/models/token_create.rb +64 -13
  439. data/lib/wallee-ruby-sdk/models/token_update.rb +37 -14
  440. data/lib/wallee-ruby-sdk/models/token_version.rb +78 -13
  441. data/lib/wallee-ruby-sdk/models/token_version_state.rb +9 -17
  442. data/lib/wallee-ruby-sdk/models/token_version_type.rb +7 -14
  443. data/lib/wallee-ruby-sdk/models/{tokenizationn_mode.rb → tokenization_mode.rb} +11 -18
  444. data/lib/wallee-ruby-sdk/models/transaction.rb +292 -17
  445. data/lib/wallee-ruby-sdk/models/transaction_aware_entity.rb +5 -12
  446. data/lib/wallee-ruby-sdk/models/transaction_comment.rb +296 -0
  447. data/lib/wallee-ruby-sdk/models/transaction_comment_active.rb +236 -0
  448. data/lib/wallee-ruby-sdk/models/transaction_comment_create.rb +221 -0
  449. data/lib/wallee-ruby-sdk/models/transaction_completion.rb +151 -13
  450. data/lib/wallee-ruby-sdk/models/transaction_completion_behavior.rb +36 -0
  451. data/lib/wallee-ruby-sdk/models/transaction_completion_mode.rb +9 -17
  452. data/lib/wallee-ruby-sdk/models/transaction_completion_request.rb +291 -0
  453. data/lib/wallee-ruby-sdk/models/transaction_completion_state.rb +11 -18
  454. data/lib/wallee-ruby-sdk/models/transaction_create.rb +162 -17
  455. data/lib/wallee-ruby-sdk/models/transaction_environment_selection_strategy.rb +9 -16
  456. data/lib/wallee-ruby-sdk/models/transaction_group.rb +20 -12
  457. data/lib/wallee-ruby-sdk/models/transaction_group_state.rb +9 -17
  458. data/lib/wallee-ruby-sdk/models/transaction_invoice.rb +76 -14
  459. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment.rb +296 -0
  460. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_active.rb +236 -0
  461. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_create.rb +221 -0
  462. data/lib/wallee-ruby-sdk/models/transaction_invoice_replacement.rb +62 -16
  463. data/lib/wallee-ruby-sdk/models/transaction_invoice_state.rb +13 -21
  464. data/lib/wallee-ruby-sdk/models/transaction_line_item_update_request.rb +6 -13
  465. data/lib/wallee-ruby-sdk/models/transaction_line_item_version.rb +5 -12
  466. data/lib/wallee-ruby-sdk/models/transaction_pending.rb +129 -18
  467. data/lib/wallee-ruby-sdk/models/transaction_state.rb +16 -24
  468. data/lib/wallee-ruby-sdk/models/transaction_user_interface_type.rb +11 -17
  469. data/lib/wallee-ruby-sdk/models/transaction_void.rb +5 -12
  470. data/lib/wallee-ruby-sdk/models/transaction_void_mode.rb +8 -16
  471. data/lib/wallee-ruby-sdk/models/transaction_void_state.rb +10 -18
  472. data/lib/wallee-ruby-sdk/models/{email_sender_type.rb → two_factor_authentication_type.rb} +19 -16
  473. data/lib/wallee-ruby-sdk/models/unencrypted_card_data.rb +68 -12
  474. data/lib/wallee-ruby-sdk/models/unencrypted_card_data_create.rb +73 -13
  475. data/lib/wallee-ruby-sdk/models/user.rb +5 -12
  476. data/lib/wallee-ruby-sdk/models/user_account_role.rb +5 -12
  477. data/lib/wallee-ruby-sdk/models/user_space_role.rb +5 -12
  478. data/lib/wallee-ruby-sdk/models/user_type.rb +11 -19
  479. data/lib/wallee-ruby-sdk/models/webhook_identity.rb +20 -12
  480. data/lib/wallee-ruby-sdk/models/webhook_listener.rb +20 -12
  481. data/lib/wallee-ruby-sdk/models/webhook_listener_create.rb +44 -41
  482. data/lib/wallee-ruby-sdk/models/webhook_listener_entity.rb +6 -13
  483. data/lib/wallee-ruby-sdk/models/webhook_listener_update.rb +45 -15
  484. data/lib/wallee-ruby-sdk/models/webhook_url.rb +44 -12
  485. data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +44 -12
  486. data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +46 -14
  487. data/lib/wallee-ruby-sdk/version.rb +1 -5
  488. data/test/condition_type_service_test.rb +22 -0
  489. data/test/{transactioncreate.rb → transaction_create_service_test.rb} +2 -2
  490. data/test/transaction_payment_page_service_test.rb +91 -0
  491. data/wallee-ruby-sdk.gemspec +5 -8
  492. metadata +248 -96
  493. data/lib/wallee-ruby-sdk/services/email_sender_service_api.rb +0 -219
  494. data/lib/wallee-ruby-sdk/services/email_sender_type_service_api.rb +0 -143
  495. data/lib/wallee-ruby-sdk/services/email_template_type_service_api.rb +0 -143
@@ -1,10 +1,6 @@
1
1
  =begin
2
- Wallee API: 1.0.0
3
-
4
2
  The wallee API allows an easy interaction with the wallee web service.
5
3
 
6
-
7
-
8
4
  Licensed under the Apache License, Version 2.0 (the "License");
9
5
  you may not use this file except in compliance with the License.
10
6
  You may obtain a copy of the License at
@@ -22,7 +18,7 @@ limitations under the License.
22
18
  require "uri"
23
19
 
24
20
  module Wallee
25
- class TokenService
21
+ class CustomerService
26
22
  attr_accessor :api_client
27
23
 
28
24
  def initialize(api_client = ApiClient.default)
@@ -35,8 +31,8 @@ module Wallee
35
31
  # @param [Hash] opts the optional parameters
36
32
  # @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
37
33
  # @return [Integer]
38
- def token_service_count(space_id, opts = {})
39
- data, _status_code, _headers = token_service_count_with_http_info(space_id, opts)
34
+ def count(space_id, opts = {})
35
+ data, _status_code, _headers = count_with_http_info(space_id, opts)
40
36
  return data
41
37
  end
42
38
 
@@ -46,14 +42,14 @@ module Wallee
46
42
  # @param [Hash] opts the optional parameters
47
43
  # @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
48
44
  # @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
49
- def token_service_count_with_http_info(space_id, opts = {})
45
+ def count_with_http_info(space_id, opts = {})
50
46
  if @api_client.config.debugging
51
- @api_client.config.logger.debug "Calling API: TokenService.token_service_count ..."
47
+ @api_client.config.logger.debug "Calling API: CustomerService.count ..."
52
48
  end
53
49
  # verify the required parameter 'space_id' is set
54
- fail ArgumentError, "Missing the required parameter 'space_id' when calling TokenService.token_service_count" if space_id.nil?
50
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.count" if space_id.nil?
55
51
  # resource path
56
- local_var_path = "/token/count".sub('{format}','json')
52
+ local_var_path = "/customer/count".sub('{format}','json')
57
53
 
58
54
  # query parameters
59
55
  query_params = {}
@@ -84,7 +80,7 @@ module Wallee
84
80
  :auth_names => auth_names,
85
81
  :return_type => 'Integer')
86
82
  if @api_client.config.debugging
87
- @api_client.config.logger.debug "API called: TokenService#token_service_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
83
+ @api_client.config.logger.debug "API called: CustomerService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
84
  end
89
85
  return data, status_code, headers
90
86
  end
@@ -92,30 +88,30 @@ module Wallee
92
88
  # Create
93
89
  # Creates the entity with the given properties.
94
90
  # @param space_id
95
- # @param entity The token object with the properties which should be created.
91
+ # @param entity The customer object which should be created.
96
92
  # @param [Hash] opts the optional parameters
97
- # @return [Token]
98
- def token_service_create(space_id, entity, opts = {})
99
- data, _status_code, _headers = token_service_create_with_http_info(space_id, entity, opts)
93
+ # @return [Customer]
94
+ def create(space_id, entity, opts = {})
95
+ data, _status_code, _headers = create_with_http_info(space_id, entity, opts)
100
96
  return data
101
97
  end
102
98
 
103
99
  # Create
104
100
  # Creates the entity with the given properties.
105
101
  # @param space_id
106
- # @param entity The token object with the properties which should be created.
102
+ # @param entity The customer object which should be created.
107
103
  # @param [Hash] opts the optional parameters
108
- # @return [Array<(Token, Fixnum, Hash)>] Token data, response status code and response headers
109
- def token_service_create_with_http_info(space_id, entity, opts = {})
104
+ # @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
105
+ def create_with_http_info(space_id, entity, opts = {})
110
106
  if @api_client.config.debugging
111
- @api_client.config.logger.debug "Calling API: TokenService.token_service_create ..."
107
+ @api_client.config.logger.debug "Calling API: CustomerService.create ..."
112
108
  end
113
109
  # verify the required parameter 'space_id' is set
114
- fail ArgumentError, "Missing the required parameter 'space_id' when calling TokenService.token_service_create" if space_id.nil?
110
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.create" if space_id.nil?
115
111
  # verify the required parameter 'entity' is set
116
- fail ArgumentError, "Missing the required parameter 'entity' when calling TokenService.token_service_create" if entity.nil?
112
+ fail ArgumentError, "Missing the required parameter 'entity' when calling CustomerService.create" if entity.nil?
117
113
  # resource path
118
- local_var_path = "/token/create".sub('{format}','json')
114
+ local_var_path = "/customer/create".sub('{format}','json')
119
115
 
120
116
  # query parameters
121
117
  query_params = {}
@@ -144,9 +140,9 @@ module Wallee
144
140
  :form_params => form_params,
145
141
  :body => post_body,
146
142
  :auth_names => auth_names,
147
- :return_type => 'Token')
143
+ :return_type => 'Customer')
148
144
  if @api_client.config.debugging
149
- @api_client.config.logger.debug "API called: TokenService#token_service_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
145
+ @api_client.config.logger.debug "API called: CustomerService#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
150
146
  end
151
147
  return data, status_code, headers
152
148
  end
@@ -157,8 +153,8 @@ module Wallee
157
153
  # @param id
158
154
  # @param [Hash] opts the optional parameters
159
155
  # @return [nil]
160
- def token_service_delete(space_id, id, opts = {})
161
- token_service_delete_with_http_info(space_id, id, opts)
156
+ def delete(space_id, id, opts = {})
157
+ delete_with_http_info(space_id, id, opts)
162
158
  return nil
163
159
  end
164
160
 
@@ -168,16 +164,16 @@ module Wallee
168
164
  # @param id
169
165
  # @param [Hash] opts the optional parameters
170
166
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
171
- def token_service_delete_with_http_info(space_id, id, opts = {})
167
+ def delete_with_http_info(space_id, id, opts = {})
172
168
  if @api_client.config.debugging
173
- @api_client.config.logger.debug "Calling API: TokenService.token_service_delete ..."
169
+ @api_client.config.logger.debug "Calling API: CustomerService.delete ..."
174
170
  end
175
171
  # verify the required parameter 'space_id' is set
176
- fail ArgumentError, "Missing the required parameter 'space_id' when calling TokenService.token_service_delete" if space_id.nil?
172
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.delete" if space_id.nil?
177
173
  # verify the required parameter 'id' is set
178
- fail ArgumentError, "Missing the required parameter 'id' when calling TokenService.token_service_delete" if id.nil?
174
+ fail ArgumentError, "Missing the required parameter 'id' when calling CustomerService.delete" if id.nil?
179
175
  # resource path
180
- local_var_path = "/token/delete".sub('{format}','json')
176
+ local_var_path = "/customer/delete".sub('{format}','json')
181
177
 
182
178
  # query parameters
183
179
  query_params = {}
@@ -207,7 +203,7 @@ module Wallee
207
203
  :body => post_body,
208
204
  :auth_names => auth_names)
209
205
  if @api_client.config.debugging
210
- @api_client.config.logger.debug "API called: TokenService#token_service_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
206
+ @api_client.config.logger.debug "API called: CustomerService#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
211
207
  end
212
208
  return data, status_code, headers
213
209
  end
@@ -215,30 +211,30 @@ module Wallee
215
211
  # Read
216
212
  # Reads the entity with the given 'id' and returns it.
217
213
  # @param space_id
218
- # @param id The id of the token which should be returned.
214
+ # @param id The id of the customer which should be returned.
219
215
  # @param [Hash] opts the optional parameters
220
- # @return [Token]
221
- def token_service_read(space_id, id, opts = {})
222
- data, _status_code, _headers = token_service_read_with_http_info(space_id, id, opts)
216
+ # @return [Customer]
217
+ def read(space_id, id, opts = {})
218
+ data, _status_code, _headers = read_with_http_info(space_id, id, opts)
223
219
  return data
224
220
  end
225
221
 
226
222
  # Read
227
223
  # Reads the entity with the given &#39;id&#39; and returns it.
228
224
  # @param space_id
229
- # @param id The id of the token which should be returned.
225
+ # @param id The id of the customer which should be returned.
230
226
  # @param [Hash] opts the optional parameters
231
- # @return [Array<(Token, Fixnum, Hash)>] Token data, response status code and response headers
232
- def token_service_read_with_http_info(space_id, id, opts = {})
227
+ # @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
228
+ def read_with_http_info(space_id, id, opts = {})
233
229
  if @api_client.config.debugging
234
- @api_client.config.logger.debug "Calling API: TokenService.token_service_read ..."
230
+ @api_client.config.logger.debug "Calling API: CustomerService.read ..."
235
231
  end
236
232
  # verify the required parameter 'space_id' is set
237
- fail ArgumentError, "Missing the required parameter 'space_id' when calling TokenService.token_service_read" if space_id.nil?
233
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.read" if space_id.nil?
238
234
  # verify the required parameter 'id' is set
239
- fail ArgumentError, "Missing the required parameter 'id' when calling TokenService.token_service_read" if id.nil?
235
+ fail ArgumentError, "Missing the required parameter 'id' when calling CustomerService.read" if id.nil?
240
236
  # resource path
241
- local_var_path = "/token/read".sub('{format}','json')
237
+ local_var_path = "/customer/read".sub('{format}','json')
242
238
 
243
239
  # query parameters
244
240
  query_params = {}
@@ -268,9 +264,9 @@ module Wallee
268
264
  :form_params => form_params,
269
265
  :body => post_body,
270
266
  :auth_names => auth_names,
271
- :return_type => 'Token')
267
+ :return_type => 'Customer')
272
268
  if @api_client.config.debugging
273
- @api_client.config.logger.debug "API called: TokenService#token_service_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
269
+ @api_client.config.logger.debug "API called: CustomerService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
274
270
  end
275
271
  return data, status_code, headers
276
272
  end
@@ -278,30 +274,30 @@ module Wallee
278
274
  # Search
279
275
  # Searches for the entities as specified by the given query.
280
276
  # @param space_id
281
- # @param query The query restricts the tokens which are returned by the search.
277
+ # @param query The query restricts the customers which are returned by the search.
282
278
  # @param [Hash] opts the optional parameters
283
- # @return [Array<Token>]
284
- def token_service_search(space_id, query, opts = {})
285
- data, _status_code, _headers = token_service_search_with_http_info(space_id, query, opts)
279
+ # @return [Array<Customer>]
280
+ def search(space_id, query, opts = {})
281
+ data, _status_code, _headers = search_with_http_info(space_id, query, opts)
286
282
  return data
287
283
  end
288
284
 
289
285
  # Search
290
286
  # Searches for the entities as specified by the given query.
291
287
  # @param space_id
292
- # @param query The query restricts the tokens which are returned by the search.
288
+ # @param query The query restricts the customers which are returned by the search.
293
289
  # @param [Hash] opts the optional parameters
294
- # @return [Array<(Array<Token>, Fixnum, Hash)>] Array<Token> data, response status code and response headers
295
- def token_service_search_with_http_info(space_id, query, opts = {})
290
+ # @return [Array<(Array<Customer>, Fixnum, Hash)>] Array<Customer> data, response status code and response headers
291
+ def search_with_http_info(space_id, query, opts = {})
296
292
  if @api_client.config.debugging
297
- @api_client.config.logger.debug "Calling API: TokenService.token_service_search ..."
293
+ @api_client.config.logger.debug "Calling API: CustomerService.search ..."
298
294
  end
299
295
  # verify the required parameter 'space_id' is set
300
- fail ArgumentError, "Missing the required parameter 'space_id' when calling TokenService.token_service_search" if space_id.nil?
296
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.search" if space_id.nil?
301
297
  # verify the required parameter 'query' is set
302
- fail ArgumentError, "Missing the required parameter 'query' when calling TokenService.token_service_search" if query.nil?
298
+ fail ArgumentError, "Missing the required parameter 'query' when calling CustomerService.search" if query.nil?
303
299
  # resource path
304
- local_var_path = "/token/search".sub('{format}','json')
300
+ local_var_path = "/customer/search".sub('{format}','json')
305
301
 
306
302
  # query parameters
307
303
  query_params = {}
@@ -330,9 +326,9 @@ module Wallee
330
326
  :form_params => form_params,
331
327
  :body => post_body,
332
328
  :auth_names => auth_names,
333
- :return_type => 'Array<Token>')
329
+ :return_type => 'Array<Customer>')
334
330
  if @api_client.config.debugging
335
- @api_client.config.logger.debug "API called: TokenService#token_service_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
331
+ @api_client.config.logger.debug "API called: CustomerService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
336
332
  end
337
333
  return data, status_code, headers
338
334
  end
@@ -340,30 +336,30 @@ module Wallee
340
336
  # Update
341
337
  # This updates the entity with the given properties. Only those properties which should be updated can be provided. The 'id' and 'version' are required to identify the entity.
342
338
  # @param space_id
343
- # @param entity The object with all the properties which should be updated. The id and the version are required properties.
339
+ # @param entity The customer object with the properties which should be updated.
344
340
  # @param [Hash] opts the optional parameters
345
- # @return [Token]
346
- def token_service_update(space_id, entity, opts = {})
347
- data, _status_code, _headers = token_service_update_with_http_info(space_id, entity, opts)
341
+ # @return [Customer]
342
+ def update(space_id, entity, opts = {})
343
+ data, _status_code, _headers = update_with_http_info(space_id, entity, opts)
348
344
  return data
349
345
  end
350
346
 
351
347
  # Update
352
348
  # This updates the entity with the given properties. Only those properties which should be updated can be provided. The &#39;id&#39; and &#39;version&#39; are required to identify the entity.
353
349
  # @param space_id
354
- # @param entity The object with all the properties which should be updated. The id and the version are required properties.
350
+ # @param entity The customer object with the properties which should be updated.
355
351
  # @param [Hash] opts the optional parameters
356
- # @return [Array<(Token, Fixnum, Hash)>] Token data, response status code and response headers
357
- def token_service_update_with_http_info(space_id, entity, opts = {})
352
+ # @return [Array<(Customer, Fixnum, Hash)>] Customer data, response status code and response headers
353
+ def update_with_http_info(space_id, entity, opts = {})
358
354
  if @api_client.config.debugging
359
- @api_client.config.logger.debug "Calling API: TokenService.token_service_update ..."
355
+ @api_client.config.logger.debug "Calling API: CustomerService.update ..."
360
356
  end
361
357
  # verify the required parameter 'space_id' is set
362
- fail ArgumentError, "Missing the required parameter 'space_id' when calling TokenService.token_service_update" if space_id.nil?
358
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling CustomerService.update" if space_id.nil?
363
359
  # verify the required parameter 'entity' is set
364
- fail ArgumentError, "Missing the required parameter 'entity' when calling TokenService.token_service_update" if entity.nil?
360
+ fail ArgumentError, "Missing the required parameter 'entity' when calling CustomerService.update" if entity.nil?
365
361
  # resource path
366
- local_var_path = "/token/update".sub('{format}','json')
362
+ local_var_path = "/customer/update".sub('{format}','json')
367
363
 
368
364
  # query parameters
369
365
  query_params = {}
@@ -392,9 +388,9 @@ module Wallee
392
388
  :form_params => form_params,
393
389
  :body => post_body,
394
390
  :auth_names => auth_names,
395
- :return_type => 'Token')
391
+ :return_type => 'Customer')
396
392
  if @api_client.config.debugging
397
- @api_client.config.logger.debug "API called: TokenService#token_service_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
393
+ @api_client.config.logger.debug "API called: CustomerService#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
398
394
  end
399
395
  return data, status_code, headers
400
396
  end
@@ -1,10 +1,6 @@
1
1
  =begin
2
- Wallee API: 1.0.0
3
-
4
2
  The wallee API allows an easy interaction with the wallee web service.
5
3
 
6
-
7
-
8
4
  Licensed under the Apache License, Version 2.0 (the "License");
9
5
  you may not use this file except in compliance with the License.
10
6
  You may obtain a copy of the License at
@@ -37,8 +33,8 @@ module Wallee
37
33
  # @param external_id The unique external id of this payment receipt.
38
34
  # @param [Hash] opts the optional parameters
39
35
  # @return [DebtCollectionReceipt]
40
- def debt_collection_case_service_add_collected_amount(space_id, id, collected_amount, external_id, opts = {})
41
- data, _status_code, _headers = debt_collection_case_service_add_collected_amount_with_http_info(space_id, id, collected_amount, external_id, opts)
36
+ def add_collected_amount(space_id, id, collected_amount, external_id, opts = {})
37
+ data, _status_code, _headers = add_collected_amount_with_http_info(space_id, id, collected_amount, external_id, opts)
42
38
  return data
43
39
  end
44
40
 
@@ -50,18 +46,18 @@ module Wallee
50
46
  # @param external_id The unique external id of this payment receipt.
51
47
  # @param [Hash] opts the optional parameters
52
48
  # @return [Array<(DebtCollectionReceipt, Fixnum, Hash)>] DebtCollectionReceipt data, response status code and response headers
53
- def debt_collection_case_service_add_collected_amount_with_http_info(space_id, id, collected_amount, external_id, opts = {})
49
+ def add_collected_amount_with_http_info(space_id, id, collected_amount, external_id, opts = {})
54
50
  if @api_client.config.debugging
55
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_add_collected_amount ..."
51
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.add_collected_amount ..."
56
52
  end
57
53
  # verify the required parameter 'space_id' is set
58
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_add_collected_amount" if space_id.nil?
54
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.add_collected_amount" if space_id.nil?
59
55
  # verify the required parameter 'id' is set
60
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_add_collected_amount" if id.nil?
56
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.add_collected_amount" if id.nil?
61
57
  # verify the required parameter 'collected_amount' is set
62
- fail ArgumentError, "Missing the required parameter 'collected_amount' when calling DebtCollectionCaseService.debt_collection_case_service_add_collected_amount" if collected_amount.nil?
58
+ fail ArgumentError, "Missing the required parameter 'collected_amount' when calling DebtCollectionCaseService.add_collected_amount" if collected_amount.nil?
63
59
  # verify the required parameter 'external_id' is set
64
- fail ArgumentError, "Missing the required parameter 'external_id' when calling DebtCollectionCaseService.debt_collection_case_service_add_collected_amount" if external_id.nil?
60
+ fail ArgumentError, "Missing the required parameter 'external_id' when calling DebtCollectionCaseService.add_collected_amount" if external_id.nil?
65
61
  # resource path
66
62
  local_var_path = "/debt-collection-case/addCollectedAmount".sub('{format}','json')
67
63
 
@@ -97,7 +93,7 @@ module Wallee
97
93
  :auth_names => auth_names,
98
94
  :return_type => 'DebtCollectionReceipt')
99
95
  if @api_client.config.debugging
100
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_add_collected_amount\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
96
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#add_collected_amount\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
101
97
  end
102
98
  return data, status_code, headers
103
99
  end
@@ -110,8 +106,8 @@ module Wallee
110
106
  # @param content_base64 The BASE64 encoded contents of the document.
111
107
  # @param [Hash] opts the optional parameters
112
108
  # @return [DebtCollectionCaseDocument]
113
- def debt_collection_case_service_attach_document(space_id, id, file_name, content_base64, opts = {})
114
- data, _status_code, _headers = debt_collection_case_service_attach_document_with_http_info(space_id, id, file_name, content_base64, opts)
109
+ def attach_document(space_id, id, file_name, content_base64, opts = {})
110
+ data, _status_code, _headers = attach_document_with_http_info(space_id, id, file_name, content_base64, opts)
115
111
  return data
116
112
  end
117
113
 
@@ -123,18 +119,18 @@ module Wallee
123
119
  # @param content_base64 The BASE64 encoded contents of the document.
124
120
  # @param [Hash] opts the optional parameters
125
121
  # @return [Array<(DebtCollectionCaseDocument, Fixnum, Hash)>] DebtCollectionCaseDocument data, response status code and response headers
126
- def debt_collection_case_service_attach_document_with_http_info(space_id, id, file_name, content_base64, opts = {})
122
+ def attach_document_with_http_info(space_id, id, file_name, content_base64, opts = {})
127
123
  if @api_client.config.debugging
128
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_attach_document ..."
124
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.attach_document ..."
129
125
  end
130
126
  # verify the required parameter 'space_id' is set
131
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_attach_document" if space_id.nil?
127
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.attach_document" if space_id.nil?
132
128
  # verify the required parameter 'id' is set
133
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_attach_document" if id.nil?
129
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.attach_document" if id.nil?
134
130
  # verify the required parameter 'file_name' is set
135
- fail ArgumentError, "Missing the required parameter 'file_name' when calling DebtCollectionCaseService.debt_collection_case_service_attach_document" if file_name.nil?
131
+ fail ArgumentError, "Missing the required parameter 'file_name' when calling DebtCollectionCaseService.attach_document" if file_name.nil?
136
132
  # verify the required parameter 'content_base64' is set
137
- fail ArgumentError, "Missing the required parameter 'content_base64' when calling DebtCollectionCaseService.debt_collection_case_service_attach_document" if content_base64.nil?
133
+ fail ArgumentError, "Missing the required parameter 'content_base64' when calling DebtCollectionCaseService.attach_document" if content_base64.nil?
138
134
  # resource path
139
135
  local_var_path = "/debt-collection-case/attachDocument".sub('{format}','json')
140
136
 
@@ -170,7 +166,7 @@ module Wallee
170
166
  :auth_names => auth_names,
171
167
  :return_type => 'DebtCollectionCaseDocument')
172
168
  if @api_client.config.debugging
173
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_attach_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
169
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#attach_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
174
170
  end
175
171
  return data, status_code, headers
176
172
  end
@@ -181,8 +177,8 @@ module Wallee
181
177
  # @param id The id of the debt collection case which should be closed.
182
178
  # @param [Hash] opts the optional parameters
183
179
  # @return [DebtCollectionCase]
184
- def debt_collection_case_service_close(space_id, id, opts = {})
185
- data, _status_code, _headers = debt_collection_case_service_close_with_http_info(space_id, id, opts)
180
+ def close(space_id, id, opts = {})
181
+ data, _status_code, _headers = close_with_http_info(space_id, id, opts)
186
182
  return data
187
183
  end
188
184
 
@@ -192,14 +188,14 @@ module Wallee
192
188
  # @param id The id of the debt collection case which should be closed.
193
189
  # @param [Hash] opts the optional parameters
194
190
  # @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
195
- def debt_collection_case_service_close_with_http_info(space_id, id, opts = {})
191
+ def close_with_http_info(space_id, id, opts = {})
196
192
  if @api_client.config.debugging
197
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_close ..."
193
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.close ..."
198
194
  end
199
195
  # verify the required parameter 'space_id' is set
200
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_close" if space_id.nil?
196
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.close" if space_id.nil?
201
197
  # verify the required parameter 'id' is set
202
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_close" if id.nil?
198
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.close" if id.nil?
203
199
  # resource path
204
200
  local_var_path = "/debt-collection-case/close".sub('{format}','json')
205
201
 
@@ -233,7 +229,7 @@ module Wallee
233
229
  :auth_names => auth_names,
234
230
  :return_type => 'DebtCollectionCase')
235
231
  if @api_client.config.debugging
236
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_close\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
232
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#close\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
237
233
  end
238
234
  return data, status_code, headers
239
235
  end
@@ -244,8 +240,8 @@ module Wallee
244
240
  # @param [Hash] opts the optional parameters
245
241
  # @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
246
242
  # @return [Integer]
247
- def debt_collection_case_service_count(space_id, opts = {})
248
- data, _status_code, _headers = debt_collection_case_service_count_with_http_info(space_id, opts)
243
+ def count(space_id, opts = {})
244
+ data, _status_code, _headers = count_with_http_info(space_id, opts)
249
245
  return data
250
246
  end
251
247
 
@@ -255,12 +251,12 @@ module Wallee
255
251
  # @param [Hash] opts the optional parameters
256
252
  # @option opts [EntityQueryFilter] :filter The filter which restricts the entities which are used to calculate the count.
257
253
  # @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
258
- def debt_collection_case_service_count_with_http_info(space_id, opts = {})
254
+ def count_with_http_info(space_id, opts = {})
259
255
  if @api_client.config.debugging
260
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_count ..."
256
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.count ..."
261
257
  end
262
258
  # verify the required parameter 'space_id' is set
263
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_count" if space_id.nil?
259
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.count" if space_id.nil?
264
260
  # resource path
265
261
  local_var_path = "/debt-collection-case/count".sub('{format}','json')
266
262
 
@@ -293,7 +289,7 @@ module Wallee
293
289
  :auth_names => auth_names,
294
290
  :return_type => 'Integer')
295
291
  if @api_client.config.debugging
296
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
292
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
297
293
  end
298
294
  return data, status_code, headers
299
295
  end
@@ -304,8 +300,8 @@ module Wallee
304
300
  # @param entity The debt collection case object with the properties which should be created.
305
301
  # @param [Hash] opts the optional parameters
306
302
  # @return [DebtCollectionCase]
307
- def debt_collection_case_service_create(space_id, entity, opts = {})
308
- data, _status_code, _headers = debt_collection_case_service_create_with_http_info(space_id, entity, opts)
303
+ def create(space_id, entity, opts = {})
304
+ data, _status_code, _headers = create_with_http_info(space_id, entity, opts)
309
305
  return data
310
306
  end
311
307
 
@@ -315,14 +311,14 @@ module Wallee
315
311
  # @param entity The debt collection case object with the properties which should be created.
316
312
  # @param [Hash] opts the optional parameters
317
313
  # @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
318
- def debt_collection_case_service_create_with_http_info(space_id, entity, opts = {})
314
+ def create_with_http_info(space_id, entity, opts = {})
319
315
  if @api_client.config.debugging
320
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_create ..."
316
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.create ..."
321
317
  end
322
318
  # verify the required parameter 'space_id' is set
323
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_create" if space_id.nil?
319
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.create" if space_id.nil?
324
320
  # verify the required parameter 'entity' is set
325
- fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.debt_collection_case_service_create" if entity.nil?
321
+ fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.create" if entity.nil?
326
322
  # resource path
327
323
  local_var_path = "/debt-collection-case/create".sub('{format}','json')
328
324
 
@@ -355,7 +351,7 @@ module Wallee
355
351
  :auth_names => auth_names,
356
352
  :return_type => 'DebtCollectionCase')
357
353
  if @api_client.config.debugging
358
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
354
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
359
355
  end
360
356
  return data, status_code, headers
361
357
  end
@@ -366,8 +362,8 @@ module Wallee
366
362
  # @param id
367
363
  # @param [Hash] opts the optional parameters
368
364
  # @return [nil]
369
- def debt_collection_case_service_delete(space_id, id, opts = {})
370
- debt_collection_case_service_delete_with_http_info(space_id, id, opts)
365
+ def delete(space_id, id, opts = {})
366
+ delete_with_http_info(space_id, id, opts)
371
367
  return nil
372
368
  end
373
369
 
@@ -377,14 +373,14 @@ module Wallee
377
373
  # @param id
378
374
  # @param [Hash] opts the optional parameters
379
375
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
380
- def debt_collection_case_service_delete_with_http_info(space_id, id, opts = {})
376
+ def delete_with_http_info(space_id, id, opts = {})
381
377
  if @api_client.config.debugging
382
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_delete ..."
378
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.delete ..."
383
379
  end
384
380
  # verify the required parameter 'space_id' is set
385
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_delete" if space_id.nil?
381
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.delete" if space_id.nil?
386
382
  # verify the required parameter 'id' is set
387
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_delete" if id.nil?
383
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.delete" if id.nil?
388
384
  # resource path
389
385
  local_var_path = "/debt-collection-case/delete".sub('{format}','json')
390
386
 
@@ -416,7 +412,7 @@ module Wallee
416
412
  :body => post_body,
417
413
  :auth_names => auth_names)
418
414
  if @api_client.config.debugging
419
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
415
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
420
416
  end
421
417
  return data, status_code, headers
422
418
  end
@@ -427,8 +423,8 @@ module Wallee
427
423
  # @param id The id of the debt collection case for which the attached documents are returned.
428
424
  # @param [Hash] opts the optional parameters
429
425
  # @return [Array<DebtCollectionCaseDocument>]
430
- def debt_collection_case_service_documents(space_id, id, opts = {})
431
- data, _status_code, _headers = debt_collection_case_service_documents_with_http_info(space_id, id, opts)
426
+ def documents(space_id, id, opts = {})
427
+ data, _status_code, _headers = documents_with_http_info(space_id, id, opts)
432
428
  return data
433
429
  end
434
430
 
@@ -438,14 +434,14 @@ module Wallee
438
434
  # @param id The id of the debt collection case for which the attached documents are returned.
439
435
  # @param [Hash] opts the optional parameters
440
436
  # @return [Array<(Array<DebtCollectionCaseDocument>, Fixnum, Hash)>] Array<DebtCollectionCaseDocument> data, response status code and response headers
441
- def debt_collection_case_service_documents_with_http_info(space_id, id, opts = {})
437
+ def documents_with_http_info(space_id, id, opts = {})
442
438
  if @api_client.config.debugging
443
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_documents ..."
439
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.documents ..."
444
440
  end
445
441
  # verify the required parameter 'space_id' is set
446
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_documents" if space_id.nil?
442
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.documents" if space_id.nil?
447
443
  # verify the required parameter 'id' is set
448
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_documents" if id.nil?
444
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.documents" if id.nil?
449
445
  # resource path
450
446
  local_var_path = "/debt-collection-case/documents".sub('{format}','json')
451
447
 
@@ -479,7 +475,7 @@ module Wallee
479
475
  :auth_names => auth_names,
480
476
  :return_type => 'Array<DebtCollectionCaseDocument>')
481
477
  if @api_client.config.debugging
482
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
478
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
483
479
  end
484
480
  return data, status_code, headers
485
481
  end
@@ -490,8 +486,8 @@ module Wallee
490
486
  # @param id The id of the debt collection case which should be marked as prepared.
491
487
  # @param [Hash] opts the optional parameters
492
488
  # @return [DebtCollectionCase]
493
- def debt_collection_case_service_mark_as_prepared(space_id, id, opts = {})
494
- data, _status_code, _headers = debt_collection_case_service_mark_as_prepared_with_http_info(space_id, id, opts)
489
+ def mark_as_prepared(space_id, id, opts = {})
490
+ data, _status_code, _headers = mark_as_prepared_with_http_info(space_id, id, opts)
495
491
  return data
496
492
  end
497
493
 
@@ -501,14 +497,14 @@ module Wallee
501
497
  # @param id The id of the debt collection case which should be marked as prepared.
502
498
  # @param [Hash] opts the optional parameters
503
499
  # @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
504
- def debt_collection_case_service_mark_as_prepared_with_http_info(space_id, id, opts = {})
500
+ def mark_as_prepared_with_http_info(space_id, id, opts = {})
505
501
  if @api_client.config.debugging
506
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_mark_as_prepared ..."
502
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.mark_as_prepared ..."
507
503
  end
508
504
  # verify the required parameter 'space_id' is set
509
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_mark_as_prepared" if space_id.nil?
505
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.mark_as_prepared" if space_id.nil?
510
506
  # verify the required parameter 'id' is set
511
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_mark_as_prepared" if id.nil?
507
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.mark_as_prepared" if id.nil?
512
508
  # resource path
513
509
  local_var_path = "/debt-collection-case/markAsPrepared".sub('{format}','json')
514
510
 
@@ -542,7 +538,7 @@ module Wallee
542
538
  :auth_names => auth_names,
543
539
  :return_type => 'DebtCollectionCase')
544
540
  if @api_client.config.debugging
545
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_mark_as_prepared\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
541
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#mark_as_prepared\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
546
542
  end
547
543
  return data, status_code, headers
548
544
  end
@@ -553,8 +549,8 @@ module Wallee
553
549
  # @param id The id of the debt collection case which should be reviewed.
554
550
  # @param [Hash] opts the optional parameters
555
551
  # @return [DebtCollectionCase]
556
- def debt_collection_case_service_mark_as_reviewed(space_id, id, opts = {})
557
- data, _status_code, _headers = debt_collection_case_service_mark_as_reviewed_with_http_info(space_id, id, opts)
552
+ def mark_as_reviewed(space_id, id, opts = {})
553
+ data, _status_code, _headers = mark_as_reviewed_with_http_info(space_id, id, opts)
558
554
  return data
559
555
  end
560
556
 
@@ -564,14 +560,14 @@ module Wallee
564
560
  # @param id The id of the debt collection case which should be reviewed.
565
561
  # @param [Hash] opts the optional parameters
566
562
  # @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
567
- def debt_collection_case_service_mark_as_reviewed_with_http_info(space_id, id, opts = {})
563
+ def mark_as_reviewed_with_http_info(space_id, id, opts = {})
568
564
  if @api_client.config.debugging
569
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_mark_as_reviewed ..."
565
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.mark_as_reviewed ..."
570
566
  end
571
567
  # verify the required parameter 'space_id' is set
572
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_mark_as_reviewed" if space_id.nil?
568
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.mark_as_reviewed" if space_id.nil?
573
569
  # verify the required parameter 'id' is set
574
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_mark_as_reviewed" if id.nil?
570
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.mark_as_reviewed" if id.nil?
575
571
  # resource path
576
572
  local_var_path = "/debt-collection-case/markAsReviewed".sub('{format}','json')
577
573
 
@@ -605,7 +601,7 @@ module Wallee
605
601
  :auth_names => auth_names,
606
602
  :return_type => 'DebtCollectionCase')
607
603
  if @api_client.config.debugging
608
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_mark_as_reviewed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
604
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#mark_as_reviewed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
609
605
  end
610
606
  return data, status_code, headers
611
607
  end
@@ -616,8 +612,8 @@ module Wallee
616
612
  # @param id The id of the debt collection case which should be returned.
617
613
  # @param [Hash] opts the optional parameters
618
614
  # @return [DebtCollectionCase]
619
- def debt_collection_case_service_read(space_id, id, opts = {})
620
- data, _status_code, _headers = debt_collection_case_service_read_with_http_info(space_id, id, opts)
615
+ def read(space_id, id, opts = {})
616
+ data, _status_code, _headers = read_with_http_info(space_id, id, opts)
621
617
  return data
622
618
  end
623
619
 
@@ -627,14 +623,14 @@ module Wallee
627
623
  # @param id The id of the debt collection case which should be returned.
628
624
  # @param [Hash] opts the optional parameters
629
625
  # @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
630
- def debt_collection_case_service_read_with_http_info(space_id, id, opts = {})
626
+ def read_with_http_info(space_id, id, opts = {})
631
627
  if @api_client.config.debugging
632
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_read ..."
628
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.read ..."
633
629
  end
634
630
  # verify the required parameter 'space_id' is set
635
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_read" if space_id.nil?
631
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.read" if space_id.nil?
636
632
  # verify the required parameter 'id' is set
637
- fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.debt_collection_case_service_read" if id.nil?
633
+ fail ArgumentError, "Missing the required parameter 'id' when calling DebtCollectionCaseService.read" if id.nil?
638
634
  # resource path
639
635
  local_var_path = "/debt-collection-case/read".sub('{format}','json')
640
636
 
@@ -668,7 +664,7 @@ module Wallee
668
664
  :auth_names => auth_names,
669
665
  :return_type => 'DebtCollectionCase')
670
666
  if @api_client.config.debugging
671
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
667
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
672
668
  end
673
669
  return data, status_code, headers
674
670
  end
@@ -679,8 +675,8 @@ module Wallee
679
675
  # @param query The query restricts the cases which are returned by the search.
680
676
  # @param [Hash] opts the optional parameters
681
677
  # @return [Array<DebtCollectionCase>]
682
- def debt_collection_case_service_search(space_id, query, opts = {})
683
- data, _status_code, _headers = debt_collection_case_service_search_with_http_info(space_id, query, opts)
678
+ def search(space_id, query, opts = {})
679
+ data, _status_code, _headers = search_with_http_info(space_id, query, opts)
684
680
  return data
685
681
  end
686
682
 
@@ -690,14 +686,14 @@ module Wallee
690
686
  # @param query The query restricts the cases which are returned by the search.
691
687
  # @param [Hash] opts the optional parameters
692
688
  # @return [Array<(Array<DebtCollectionCase>, Fixnum, Hash)>] Array<DebtCollectionCase> data, response status code and response headers
693
- def debt_collection_case_service_search_with_http_info(space_id, query, opts = {})
689
+ def search_with_http_info(space_id, query, opts = {})
694
690
  if @api_client.config.debugging
695
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_search ..."
691
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.search ..."
696
692
  end
697
693
  # verify the required parameter 'space_id' is set
698
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_search" if space_id.nil?
694
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.search" if space_id.nil?
699
695
  # verify the required parameter 'query' is set
700
- fail ArgumentError, "Missing the required parameter 'query' when calling DebtCollectionCaseService.debt_collection_case_service_search" if query.nil?
696
+ fail ArgumentError, "Missing the required parameter 'query' when calling DebtCollectionCaseService.search" if query.nil?
701
697
  # resource path
702
698
  local_var_path = "/debt-collection-case/search".sub('{format}','json')
703
699
 
@@ -730,7 +726,7 @@ module Wallee
730
726
  :auth_names => auth_names,
731
727
  :return_type => 'Array<DebtCollectionCase>')
732
728
  if @api_client.config.debugging
733
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
729
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
734
730
  end
735
731
  return data, status_code, headers
736
732
  end
@@ -741,8 +737,8 @@ module Wallee
741
737
  # @param entity The object with all the properties which should be updated. The id and the version are required properties.
742
738
  # @param [Hash] opts the optional parameters
743
739
  # @return [DebtCollectionCase]
744
- def debt_collection_case_service_update(space_id, entity, opts = {})
745
- data, _status_code, _headers = debt_collection_case_service_update_with_http_info(space_id, entity, opts)
740
+ def update(space_id, entity, opts = {})
741
+ data, _status_code, _headers = update_with_http_info(space_id, entity, opts)
746
742
  return data
747
743
  end
748
744
 
@@ -752,14 +748,14 @@ module Wallee
752
748
  # @param entity The object with all the properties which should be updated. The id and the version are required properties.
753
749
  # @param [Hash] opts the optional parameters
754
750
  # @return [Array<(DebtCollectionCase, Fixnum, Hash)>] DebtCollectionCase data, response status code and response headers
755
- def debt_collection_case_service_update_with_http_info(space_id, entity, opts = {})
751
+ def update_with_http_info(space_id, entity, opts = {})
756
752
  if @api_client.config.debugging
757
- @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.debt_collection_case_service_update ..."
753
+ @api_client.config.logger.debug "Calling API: DebtCollectionCaseService.update ..."
758
754
  end
759
755
  # verify the required parameter 'space_id' is set
760
- fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.debt_collection_case_service_update" if space_id.nil?
756
+ fail ArgumentError, "Missing the required parameter 'space_id' when calling DebtCollectionCaseService.update" if space_id.nil?
761
757
  # verify the required parameter 'entity' is set
762
- fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.debt_collection_case_service_update" if entity.nil?
758
+ fail ArgumentError, "Missing the required parameter 'entity' when calling DebtCollectionCaseService.update" if entity.nil?
763
759
  # resource path
764
760
  local_var_path = "/debt-collection-case/update".sub('{format}','json')
765
761
 
@@ -792,7 +788,7 @@ module Wallee
792
788
  :auth_names => auth_names,
793
789
  :return_type => 'DebtCollectionCase')
794
790
  if @api_client.config.debugging
795
- @api_client.config.logger.debug "API called: DebtCollectionCaseService#debt_collection_case_service_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
791
+ @api_client.config.logger.debug "API called: DebtCollectionCaseService#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
796
792
  end
797
793
  return data, status_code, headers
798
794
  end