wallee-ruby-sdk 1.0.0 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (650) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +1 -1
  3. data/LICENSE +1 -1
  4. data/README.md +107 -34
  5. data/lib/wallee-ruby-sdk.rb +264 -108
  6. data/lib/wallee-ruby-sdk/{services → api}/account_service_api.rb +37 -41
  7. data/lib/{wallee/services → wallee-ruby-sdk/api}/application_user_service_api.rb +37 -41
  8. data/lib/wallee-ruby-sdk/api/card_processing_service_api.rb +172 -0
  9. data/lib/{wallee/services → wallee-ruby-sdk/api}/charge_attempt_service_api.rb +22 -26
  10. data/lib/wallee-ruby-sdk/{services/email_template_service_api.rb → api/charge_flow_level_payment_link_service_api.rb} +36 -40
  11. data/lib/wallee-ruby-sdk/{services → api}/charge_flow_level_service_api.rb +31 -35
  12. data/lib/wallee-ruby-sdk/{services → api}/charge_flow_service_api.rb +42 -46
  13. data/lib/{wallee/services → wallee-ruby-sdk/api}/condition_type_service_api.rb +15 -19
  14. data/lib/wallee-ruby-sdk/{services → api}/country_service_api.rb +7 -11
  15. data/lib/wallee-ruby-sdk/{services → api}/country_state_service_api.rb +15 -19
  16. data/lib/{wallee/services → wallee-ruby-sdk/api}/currency_service_api.rb +7 -11
  17. data/lib/{wallee/services/subscription_product_period_fee_service_api.rb → wallee-ruby-sdk/api/customer_address_service_api.rb} +132 -74
  18. data/lib/wallee-ruby-sdk/{services/transaction_invoice_service_api.rb → api/customer_comment_service_api.rb} +185 -136
  19. data/lib/wallee-ruby-sdk/{services/subscriber_service_api.rb → api/customer_service_api.rb} +68 -72
  20. data/lib/wallee-ruby-sdk/api/debt_collection_case_service_api.rb +796 -0
  21. data/lib/wallee-ruby-sdk/api/debt_collector_configuration_service_api.rb +213 -0
  22. data/lib/{wallee/services/permission_service_api.rb → wallee-ruby-sdk/api/debt_collector_service_api.rb} +26 -30
  23. data/lib/{wallee/services → wallee-ruby-sdk/api}/delivery_indication_service_api.rb +40 -44
  24. data/lib/wallee-ruby-sdk/{services → api}/document_template_service_api.rb +22 -26
  25. data/lib/wallee-ruby-sdk/{services → api}/document_template_type_service_api.rb +15 -19
  26. data/lib/wallee-ruby-sdk/{services → api}/human_user_service_api.rb +94 -41
  27. data/lib/{wallee/services → wallee-ruby-sdk/api}/installment_payment_service_api.rb +33 -37
  28. data/lib/wallee-ruby-sdk/{services → api}/installment_payment_slice_service_api.rb +23 -27
  29. data/lib/{wallee/services → wallee-ruby-sdk/api}/installment_plan_calculation_service_api.rb +9 -13
  30. data/lib/wallee-ruby-sdk/{services → api}/installment_plan_configuration_service_api.rb +23 -27
  31. data/lib/{wallee/services → wallee-ruby-sdk/api}/installment_plan_slice_configuration_service_api.rb +23 -27
  32. data/lib/wallee-ruby-sdk/{services → api}/label_description_group_service_api.rb +15 -19
  33. data/lib/wallee-ruby-sdk/{services → api}/label_description_service_api.rb +15 -19
  34. data/lib/wallee-ruby-sdk/{services → api}/language_service_api.rb +7 -11
  35. data/lib/wallee-ruby-sdk/api/legal_organization_form_service_api.rb +197 -0
  36. data/lib/{wallee/services → wallee-ruby-sdk/api}/manual_task_service_api.rb +22 -26
  37. data/lib/wallee-ruby-sdk/api/mertic_usage_service_api.rb +96 -0
  38. data/lib/wallee-ruby-sdk/{services → api}/payment_connector_configuration_service_api.rb +22 -26
  39. data/lib/wallee-ruby-sdk/{services → api}/payment_connector_service_api.rb +15 -19
  40. data/lib/{wallee/services/token_service_api.rb → wallee-ruby-sdk/api/payment_link_service_api.rb} +68 -72
  41. data/lib/{wallee/services/payment_method_service_api.rb → wallee-ruby-sdk/api/payment_method_brand_service_api.rb} +26 -30
  42. data/lib/wallee-ruby-sdk/{services → api}/payment_method_configuration_service_api.rb +22 -26
  43. data/lib/wallee-ruby-sdk/{services → api}/payment_method_service_api.rb +15 -19
  44. data/lib/wallee-ruby-sdk/{services → api}/payment_processor_configuration_service_api.rb +22 -26
  45. data/lib/wallee-ruby-sdk/{services → api}/payment_processor_service_api.rb +15 -19
  46. data/lib/wallee-ruby-sdk/{services/charge_attempt_service_api.rb → api/payment_terminal_service_api.rb} +36 -40
  47. data/lib/wallee-ruby-sdk/{services → api}/permission_service_api.rb +15 -19
  48. data/lib/{wallee/services/webhook_listener_service_api.rb → wallee-ruby-sdk/api/refund_comment_service_api.rb} +165 -103
  49. data/lib/{wallee/services → wallee-ruby-sdk/api}/refund_service_api.rb +125 -61
  50. data/lib/{wallee/services/charge_flow_level_service_api.rb → wallee-ruby-sdk/api/shopify_recurring_order_service_api.rb} +57 -63
  51. data/lib/wallee-ruby-sdk/{services/manual_task_service_api.rb → api/shopify_subscriber_service_api.rb} +36 -40
  52. data/lib/{wallee/services/subscription_product_service_api.rb → wallee-ruby-sdk/api/shopify_subscription_product_service_api.rb} +62 -66
  53. data/lib/wallee-ruby-sdk/{services/subscription_charge_service_api.rb → api/shopify_subscription_service_api.rb} +97 -97
  54. data/lib/wallee-ruby-sdk/{services/subscription_suspension_service_api.rb → api/shopify_subscription_suspension_service_api.rb} +77 -82
  55. data/lib/wallee-ruby-sdk/api/shopify_subscription_version_service_api.rb +213 -0
  56. data/lib/{wallee/services → wallee-ruby-sdk/api}/space_service_api.rb +37 -41
  57. data/lib/wallee-ruby-sdk/{services → api}/static_value_service_api.rb +15 -19
  58. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscriber_service_api.rb +43 -47
  59. data/lib/{wallee/services/subscription_metric_service_api.rb → wallee-ruby-sdk/api/subscription_affiliate_service_api.rb} +72 -76
  60. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_charge_service_api.rb +38 -42
  61. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_ledger_entry_service_api.rb +29 -33
  62. data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_service_api.rb +43 -47
  63. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_metric_usage_service_api.rb +29 -33
  64. data/lib/wallee-ruby-sdk/{services → api}/subscription_period_bill_service_api.rb +28 -32
  65. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_group_service_api.rb +43 -47
  66. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_service_api.rb +43 -47
  67. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_fee_tier_service_api.rb +43 -47
  68. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_metered_fee_service_api.rb +43 -47
  69. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_period_fee_service_api.rb +43 -47
  70. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_product_retirement_service_api.rb +29 -33
  71. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_service_api.rb +36 -40
  72. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_product_setup_fee_service_api.rb +43 -47
  73. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_retirement_service_api.rb +29 -33
  74. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_product_version_service_api.rb +43 -47
  75. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_service_api.rb +178 -115
  76. data/lib/{wallee/services → wallee-ruby-sdk/api}/subscription_suspension_service_api.rb +36 -40
  77. data/lib/wallee-ruby-sdk/{services → api}/subscription_version_service_api.rb +22 -26
  78. data/lib/wallee-ruby-sdk/{services → api}/token_service_api.rb +109 -50
  79. data/lib/wallee-ruby-sdk/{services → api}/token_version_service_api.rb +31 -35
  80. data/lib/wallee-ruby-sdk/api/transaction_comment_service_api.rb +464 -0
  81. data/lib/wallee-ruby-sdk/{services → api}/transaction_completion_service_api.rb +164 -44
  82. data/lib/wallee-ruby-sdk/{services/currency_service_api.rb → api/transaction_iframe_service_api.rb} +26 -20
  83. data/lib/{wallee/services/subscription_product_fee_tier_service_api.rb → wallee-ruby-sdk/api/transaction_invoice_comment_service_api.rb} +165 -103
  84. data/lib/{wallee/services → wallee-ruby-sdk/api}/transaction_invoice_service_api.rb +186 -59
  85. data/lib/{wallee/services/country_service_api.rb → wallee-ruby-sdk/api/transaction_lightbox_service_api.rb} +26 -20
  86. data/lib/wallee-ruby-sdk/api/transaction_mobile_sdk_service_api.rb +86 -0
  87. data/lib/wallee-ruby-sdk/api/transaction_payment_page_service_api.rb +91 -0
  88. data/lib/wallee-ruby-sdk/{services → api}/transaction_service_api.rb +273 -326
  89. data/lib/wallee-ruby-sdk/api/transaction_terminal_service_api.rb +172 -0
  90. data/lib/{wallee/services → wallee-ruby-sdk/api}/transaction_void_service_api.rb +40 -44
  91. data/lib/wallee-ruby-sdk/api/user_account_role_service_api.rb +219 -0
  92. data/lib/wallee-ruby-sdk/api/user_space_role_service_api.rb +216 -0
  93. data/lib/wallee-ruby-sdk/{services → api}/webhook_listener_service_api.rb +43 -47
  94. data/lib/wallee-ruby-sdk/{services → api}/webhook_url_service_api.rb +43 -47
  95. data/lib/wallee-ruby-sdk/api_client.rb +2 -4
  96. data/lib/wallee-ruby-sdk/api_error.rb +0 -4
  97. data/lib/wallee-ruby-sdk/configuration.rb +0 -4
  98. data/lib/wallee-ruby-sdk/models/abstract_account_update.rb +224 -0
  99. data/lib/wallee-ruby-sdk/models/abstract_application_user_update.rb +225 -0
  100. data/lib/wallee-ruby-sdk/models/{space_address_setter.rb → abstract_customer_active.rb} +90 -96
  101. data/lib/wallee-ruby-sdk/models/abstract_customer_address_active.rb +200 -0
  102. data/lib/{wallee/models/tax_create.rb → wallee-ruby-sdk/models/abstract_customer_comment_active.rb} +26 -39
  103. data/lib/{wallee/models/subscription_change_request.rb → wallee-ruby-sdk/models/abstract_debt_collection_case_update.rb} +66 -54
  104. data/lib/{wallee/models/human_user_create.rb → wallee-ruby-sdk/models/abstract_human_user_update.rb} +91 -99
  105. data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +309 -0
  106. data/lib/{wallee/models/payment_connector_feature.rb → wallee-ruby-sdk/models/abstract_refund_comment_active.rb} +28 -41
  107. data/lib/wallee-ruby-sdk/models/abstract_shopify_subscription_product_active.rb +330 -0
  108. data/lib/{wallee/models/space.rb → wallee-ruby-sdk/models/abstract_space_update.rb} +46 -100
  109. data/lib/{wallee/models/subscriber.rb → wallee-ruby-sdk/models/abstract_subscriber_update.rb} +64 -75
  110. data/lib/{wallee/models/database_translated_string_item.rb → wallee-ruby-sdk/models/abstract_subscription_affiliate_update.rb} +54 -26
  111. data/lib/{wallee/models/line_item_attribute_create.rb → wallee-ruby-sdk/models/abstract_subscription_metric_update.rb} +19 -27
  112. data/lib/{wallee/models/subscription_product.rb → wallee-ruby-sdk/models/abstract_subscription_product_active.rb} +25 -78
  113. data/lib/{wallee/models/token.rb → wallee-ruby-sdk/models/abstract_token_update.rb} +47 -85
  114. data/lib/{wallee/models/server_error.rb → wallee-ruby-sdk/models/abstract_transaction_comment_active.rb} +29 -42
  115. data/lib/wallee-ruby-sdk/models/abstract_transaction_invoice_comment_active.rb +205 -0
  116. data/lib/{wallee/models/transaction_pending.rb → wallee-ruby-sdk/models/abstract_transaction_pending.rb} +81 -289
  117. data/lib/{wallee/models/webhook_identity.rb → wallee-ruby-sdk/models/abstract_webhook_listener_update.rb} +42 -53
  118. data/lib/{wallee/models/rest_country_state.rb → wallee-ruby-sdk/models/abstract_webhook_url_update.rb} +43 -46
  119. data/lib/wallee-ruby-sdk/models/account.rb +60 -13
  120. data/lib/wallee-ruby-sdk/models/account_create.rb +45 -103
  121. data/lib/wallee-ruby-sdk/models/account_state.rb +12 -20
  122. data/lib/wallee-ruby-sdk/models/account_type.rb +9 -17
  123. data/lib/wallee-ruby-sdk/models/account_update.rb +39 -92
  124. data/lib/wallee-ruby-sdk/models/address.rb +241 -23
  125. data/lib/wallee-ruby-sdk/models/address_create.rb +241 -23
  126. data/lib/wallee-ruby-sdk/models/application_user.rb +32 -14
  127. data/lib/wallee-ruby-sdk/models/application_user_create.rb +34 -76
  128. data/lib/wallee-ruby-sdk/models/application_user_create_with_mac_key.rb +31 -13
  129. data/lib/wallee-ruby-sdk/models/application_user_update.rb +47 -69
  130. data/lib/wallee-ruby-sdk/models/charge.rb +26 -13
  131. data/lib/wallee-ruby-sdk/models/charge_attempt.rb +51 -13
  132. data/lib/wallee-ruby-sdk/models/charge_attempt_environment.rb +8 -16
  133. data/lib/wallee-ruby-sdk/models/charge_attempt_state.rb +9 -17
  134. data/lib/wallee-ruby-sdk/models/charge_flow.rb +5 -12
  135. data/lib/wallee-ruby-sdk/models/charge_flow_level.rb +5 -12
  136. data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration.rb +20 -12
  137. data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration_type.rb +20 -15
  138. data/lib/{wallee/models/transaction_aware_entity.rb → wallee-ruby-sdk/models/charge_flow_level_payment_link.rb} +28 -15
  139. data/lib/wallee-ruby-sdk/models/charge_flow_level_state.rb +9 -17
  140. data/lib/wallee-ruby-sdk/models/charge_state.rb +9 -17
  141. data/lib/wallee-ruby-sdk/models/charge_type.rb +10 -17
  142. data/lib/wallee-ruby-sdk/models/client_error.rb +5 -12
  143. data/lib/wallee-ruby-sdk/models/client_error_type.rb +9 -17
  144. data/lib/{wallee/models/static_value.rb → wallee-ruby-sdk/models/completion_line_item.rb} +43 -51
  145. data/lib/wallee-ruby-sdk/models/completion_line_item_create.rb +245 -0
  146. data/lib/wallee-ruby-sdk/models/condition.rb +20 -12
  147. data/lib/wallee-ruby-sdk/models/condition_type.rb +7 -14
  148. data/lib/wallee-ruby-sdk/models/connector_invocation.rb +5 -12
  149. data/lib/wallee-ruby-sdk/models/connector_invocation_stage.rb +10 -18
  150. data/lib/wallee-ruby-sdk/models/creation_entity_state.rb +11 -19
  151. data/lib/wallee-ruby-sdk/models/criteria_operator.rb +18 -23
  152. data/lib/{wallee/models/token_create.rb → wallee-ruby-sdk/models/customer.rb} +101 -71
  153. data/lib/{wallee/models/token_update.rb → wallee-ruby-sdk/models/customer_active.rb} +113 -88
  154. data/lib/{wallee/models/subscription_product_retirement.rb → wallee-ruby-sdk/models/customer_address.rb} +47 -44
  155. data/lib/wallee-ruby-sdk/models/customer_address_active.rb +231 -0
  156. data/lib/{wallee/models/installment_calculated_slice.rb → wallee-ruby-sdk/models/customer_address_create.rb} +30 -34
  157. data/lib/{wallee/models/transaction_void_mode.rb → wallee-ruby-sdk/models/customer_address_type.rb} +10 -17
  158. data/lib/{wallee/models/subscription_product_version_retirement_create.rb → wallee-ruby-sdk/models/customer_comment.rb} +76 -43
  159. data/lib/{wallee/models/product_metered_tier_fee.rb → wallee-ruby-sdk/models/customer_comment_active.rb} +39 -43
  160. data/lib/wallee-ruby-sdk/models/customer_comment_create.rb +221 -0
  161. data/lib/{wallee/models/space_address_setter.rb → wallee-ruby-sdk/models/customer_create.rb} +90 -95
  162. data/lib/wallee-ruby-sdk/models/customer_postal_address.rb +606 -0
  163. data/lib/wallee-ruby-sdk/models/customer_postal_address_create.rb +606 -0
  164. data/lib/wallee-ruby-sdk/models/customers_presence.rb +9 -17
  165. data/lib/wallee-ruby-sdk/models/data_collection_type.rb +8 -16
  166. data/lib/wallee-ruby-sdk/models/database_translated_string.rb +5 -12
  167. data/lib/wallee-ruby-sdk/models/database_translated_string_create.rb +6 -35
  168. data/lib/wallee-ruby-sdk/models/database_translated_string_item.rb +20 -12
  169. data/lib/wallee-ruby-sdk/models/database_translated_string_item_create.rb +22 -24
  170. data/lib/{wallee/models/refund_create.rb → wallee-ruby-sdk/models/debt_collection_case.rb} +160 -135
  171. data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +303 -0
  172. data/lib/{wallee/models/token_version.rb → wallee-ruby-sdk/models/debt_collection_case_document.rb} +86 -108
  173. data/lib/{wallee/models/manual_task_type.rb → wallee-ruby-sdk/models/debt_collection_case_source.rb} +16 -25
  174. data/lib/wallee-ruby-sdk/models/debt_collection_case_state.rb +40 -0
  175. data/lib/wallee-ruby-sdk/models/debt_collection_case_update.rb +293 -0
  176. data/lib/{wallee/models/data_collection_type.rb → wallee-ruby-sdk/models/debt_collection_environment.rb} +9 -17
  177. data/lib/{wallee/models/transaction_line_item_version.rb → wallee-ruby-sdk/models/debt_collection_receipt.rb} +69 -84
  178. data/lib/wallee-ruby-sdk/models/debt_collection_receipt_source.rb +215 -0
  179. data/lib/{wallee/models/charge_flow_level_configuration_type.rb → wallee-ruby-sdk/models/debt_collector.rb} +9 -16
  180. data/lib/{wallee/models/condition.rb → wallee-ruby-sdk/models/debt_collector_condition.rb} +33 -25
  181. data/lib/{wallee/models/delivery_indication_decision_reason.rb → wallee-ruby-sdk/models/debt_collector_condition_type.rb} +9 -16
  182. data/lib/{wallee/models/charge_flow.rb → wallee-ruby-sdk/models/debt_collector_configuration.rb} +58 -18
  183. data/lib/wallee-ruby-sdk/models/delivery_indication.rb +16 -13
  184. data/lib/wallee-ruby-sdk/models/delivery_indication_decision_reason.rb +7 -14
  185. data/lib/wallee-ruby-sdk/models/delivery_indication_state.rb +10 -18
  186. data/lib/wallee-ruby-sdk/models/document_template.rb +41 -13
  187. data/lib/wallee-ruby-sdk/models/document_template_type.rb +18 -25
  188. data/lib/{wallee/models/line_item_attribute.rb → wallee-ruby-sdk/models/document_template_type_group.rb} +22 -27
  189. data/lib/wallee-ruby-sdk/models/entity_export_request.rb +208 -0
  190. data/lib/wallee-ruby-sdk/models/entity_query.rb +6 -13
  191. data/lib/wallee-ruby-sdk/models/entity_query_filter.rb +6 -13
  192. data/lib/wallee-ruby-sdk/models/entity_query_filter_type.rb +9 -17
  193. data/lib/wallee-ruby-sdk/models/entity_query_order_by.rb +15 -12
  194. data/lib/wallee-ruby-sdk/models/entity_query_order_by_type.rb +8 -16
  195. data/lib/{wallee/models/gender.rb → wallee-ruby-sdk/models/environment.rb} +9 -17
  196. data/lib/wallee-ruby-sdk/models/failure_category.rb +11 -19
  197. data/lib/wallee-ruby-sdk/models/failure_reason.rb +7 -14
  198. data/lib/wallee-ruby-sdk/models/feature.rb +18 -15
  199. data/lib/{wallee/models/label_descriptor_group.rb → wallee-ruby-sdk/models/feature_category.rb} +15 -22
  200. data/lib/wallee-ruby-sdk/models/gender.rb +8 -16
  201. data/lib/wallee-ruby-sdk/models/human_user.rb +117 -74
  202. data/lib/wallee-ruby-sdk/models/human_user_create.rb +100 -97
  203. data/lib/wallee-ruby-sdk/models/human_user_update.rb +116 -93
  204. data/lib/wallee-ruby-sdk/models/installment_calculated_plan.rb +5 -12
  205. data/lib/wallee-ruby-sdk/models/installment_calculated_slice.rb +5 -12
  206. data/lib/wallee-ruby-sdk/models/installment_payment.rb +5 -12
  207. data/lib/wallee-ruby-sdk/models/installment_payment_slice.rb +5 -12
  208. data/lib/wallee-ruby-sdk/models/installment_payment_slice_state.rb +13 -21
  209. data/lib/wallee-ruby-sdk/models/installment_payment_state.rb +14 -22
  210. data/lib/wallee-ruby-sdk/models/installment_plan_configuration.rb +20 -12
  211. data/lib/wallee-ruby-sdk/models/installment_plan_slice_configuration.rb +5 -12
  212. data/lib/wallee-ruby-sdk/models/label.rb +5 -12
  213. data/lib/wallee-ruby-sdk/models/label_descriptor.rb +7 -14
  214. data/lib/wallee-ruby-sdk/models/label_descriptor_category.rb +8 -16
  215. data/lib/wallee-ruby-sdk/models/label_descriptor_group.rb +7 -14
  216. data/lib/wallee-ruby-sdk/models/label_descriptor_type.rb +7 -14
  217. data/lib/wallee-ruby-sdk/models/legal_organization_form.rb +5 -12
  218. data/lib/wallee-ruby-sdk/models/line_item.rb +121 -14
  219. data/lib/wallee-ruby-sdk/models/line_item_attribute.rb +35 -12
  220. data/lib/wallee-ruby-sdk/models/line_item_attribute_create.rb +53 -12
  221. data/lib/wallee-ruby-sdk/models/line_item_create.rb +87 -82
  222. data/lib/wallee-ruby-sdk/models/line_item_reduction.rb +20 -12
  223. data/lib/wallee-ruby-sdk/models/line_item_reduction_create.rb +27 -15
  224. data/lib/wallee-ruby-sdk/models/line_item_type.rb +10 -18
  225. data/lib/wallee-ruby-sdk/models/localized_string.rb +5 -12
  226. data/lib/wallee-ruby-sdk/models/manual_task.rb +5 -12
  227. data/lib/wallee-ruby-sdk/models/manual_task_action.rb +6 -13
  228. data/lib/wallee-ruby-sdk/models/manual_task_action_style.rb +9 -17
  229. data/lib/wallee-ruby-sdk/models/manual_task_state.rb +9 -17
  230. data/lib/wallee-ruby-sdk/models/manual_task_type.rb +7 -14
  231. data/lib/wallee-ruby-sdk/models/metric_usage.rb +225 -0
  232. data/lib/wallee-ruby-sdk/models/one_click_payment_mode.rb +9 -17
  233. data/lib/wallee-ruby-sdk/models/payment_connector.rb +30 -15
  234. data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +20 -12
  235. data/lib/wallee-ruby-sdk/models/payment_connector_feature.rb +5 -12
  236. data/lib/{wallee/models/subscription_ledger_entry.rb → wallee-ruby-sdk/models/payment_contract.rb} +93 -88
  237. data/lib/wallee-ruby-sdk/models/payment_contract_state.rb +38 -0
  238. data/lib/{wallee/models/email_sender_type.rb → wallee-ruby-sdk/models/payment_contract_type.rb} +9 -16
  239. data/lib/{wallee/models/webhook_listener_entity.rb → wallee-ruby-sdk/models/payment_information_hash.rb} +20 -29
  240. data/lib/wallee-ruby-sdk/models/payment_information_hash_type.rb +203 -0
  241. data/lib/{wallee/models/refund.rb → wallee-ruby-sdk/models/payment_link.rb} +133 -169
  242. data/lib/{wallee/models/subscription_product_active.rb → wallee-ruby-sdk/models/payment_link_active.rb} +123 -83
  243. data/lib/wallee-ruby-sdk/models/payment_link_create.rb +373 -0
  244. data/lib/{wallee/models/charge_state.rb → wallee-ruby-sdk/models/payment_link_protection_mode.rb} +9 -18
  245. data/lib/{wallee/models/subscription_product_create.rb → wallee-ruby-sdk/models/payment_link_update.rb} +114 -89
  246. data/lib/wallee-ruby-sdk/models/payment_method.rb +20 -15
  247. data/lib/wallee-ruby-sdk/models/payment_method_brand.rb +7 -14
  248. data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +55 -13
  249. data/lib/wallee-ruby-sdk/models/payment_primary_risk_taker.rb +9 -17
  250. data/lib/wallee-ruby-sdk/models/payment_processor.rb +10 -17
  251. data/lib/wallee-ruby-sdk/models/payment_processor_configuration.rb +31 -13
  252. data/lib/{wallee/models/subscription_metric_create.rb → wallee-ruby-sdk/models/payment_terminal.rb} +50 -42
  253. data/lib/{wallee/models/address_create.rb → wallee-ruby-sdk/models/payment_terminal_address.rb} +148 -80
  254. data/lib/{wallee/models/document_template.rb → wallee-ruby-sdk/models/payment_terminal_configuration.rb} +26 -38
  255. data/lib/{wallee/models/transaction_void_state.rb → wallee-ruby-sdk/models/payment_terminal_configuration_state.rb} +11 -19
  256. data/lib/{wallee/models/charge_flow_level.rb → wallee-ruby-sdk/models/payment_terminal_configuration_version.rb} +78 -83
  257. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version_state.rb +38 -0
  258. data/lib/{wallee/models/address.rb → wallee-ruby-sdk/models/payment_terminal_contact_address.rb} +88 -80
  259. data/lib/{wallee/models/charge_flow_level_configuration.rb → wallee-ruby-sdk/models/payment_terminal_location.rb} +51 -53
  260. data/lib/wallee-ruby-sdk/models/payment_terminal_location_state.rb +37 -0
  261. data/lib/{wallee/models/installment_payment.rb → wallee-ruby-sdk/models/payment_terminal_location_version.rb} +46 -45
  262. data/lib/wallee-ruby-sdk/models/payment_terminal_location_version_state.rb +38 -0
  263. data/lib/wallee-ruby-sdk/models/payment_terminal_state.rb +38 -0
  264. data/lib/{wallee/models/condition_type.rb → wallee-ruby-sdk/models/payment_terminal_type.rb} +8 -15
  265. data/lib/wallee-ruby-sdk/models/permission.rb +20 -17
  266. data/lib/wallee-ruby-sdk/models/persistable_currency_amount.rb +5 -12
  267. data/lib/wallee-ruby-sdk/models/persistable_currency_amount_update.rb +5 -12
  268. data/lib/wallee-ruby-sdk/models/product_fee_type.rb +9 -17
  269. data/lib/wallee-ruby-sdk/models/product_metered_fee.rb +5 -12
  270. data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +31 -58
  271. data/lib/wallee-ruby-sdk/models/product_metered_tier_fee.rb +5 -12
  272. data/lib/wallee-ruby-sdk/models/product_metered_tier_fee_update.rb +31 -38
  273. data/lib/wallee-ruby-sdk/models/product_metered_tier_pricing.rb +8 -16
  274. data/lib/wallee-ruby-sdk/models/product_period_fee.rb +16 -13
  275. data/lib/wallee-ruby-sdk/models/product_period_fee_update.rb +38 -55
  276. data/lib/wallee-ruby-sdk/models/product_setup_fee.rb +5 -12
  277. data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +31 -58
  278. data/lib/wallee-ruby-sdk/models/refund.rb +130 -13
  279. data/lib/{wallee/models/subscription_product_retirement_create.rb → wallee-ruby-sdk/models/refund_comment.rb} +72 -39
  280. data/lib/wallee-ruby-sdk/models/refund_comment_active.rb +236 -0
  281. data/lib/{wallee/models/database_translated_string_item_create.rb → wallee-ruby-sdk/models/refund_comment_create.rb} +37 -39
  282. data/lib/wallee-ruby-sdk/models/refund_create.rb +56 -220
  283. data/lib/wallee-ruby-sdk/models/refund_state.rb +12 -19
  284. data/lib/wallee-ruby-sdk/models/refund_type.rb +10 -18
  285. data/lib/wallee-ruby-sdk/models/rendered_document.rb +5 -12
  286. data/lib/{wallee/models/persistable_currency_amount_update.rb → wallee-ruby-sdk/models/rendered_terminal_receipt.rb} +21 -26
  287. data/lib/wallee-ruby-sdk/models/resource_path.rb +29 -12
  288. data/lib/wallee-ruby-sdk/models/resource_state.rb +9 -17
  289. data/lib/wallee-ruby-sdk/models/rest_address_format.rb +227 -0
  290. data/lib/wallee-ruby-sdk/models/rest_address_format_field.rb +43 -0
  291. data/lib/wallee-ruby-sdk/models/rest_country.rb +16 -13
  292. data/lib/wallee-ruby-sdk/models/rest_country_state.rb +5 -12
  293. data/lib/wallee-ruby-sdk/models/rest_currency.rb +5 -12
  294. data/lib/wallee-ruby-sdk/models/rest_language.rb +5 -12
  295. data/lib/{wallee/models/subscription_metric.rb → wallee-ruby-sdk/models/role.rb} +35 -40
  296. data/lib/{wallee/models/label_descriptor_type.rb → wallee-ruby-sdk/models/sales_channel.rb} +8 -15
  297. data/lib/wallee-ruby-sdk/models/scope.rb +61 -13
  298. data/lib/wallee-ruby-sdk/models/server_error.rb +5 -12
  299. data/lib/wallee-ruby-sdk/models/shopify_integration.rb +428 -0
  300. data/lib/{wallee/models/charge_attempt_state.rb → wallee-ruby-sdk/models/shopify_integration_app_version.rb} +10 -18
  301. data/lib/{wallee/models/delivery_indication.rb → wallee-ruby-sdk/models/shopify_recurring_order.rb} +86 -53
  302. data/lib/{wallee/models/account_state.rb → wallee-ruby-sdk/models/shopify_recurring_order_state.rb} +13 -21
  303. data/lib/wallee-ruby-sdk/models/shopify_recurring_order_update_request.rb +201 -0
  304. data/lib/{wallee/models/space_reference.rb → wallee-ruby-sdk/models/shopify_subscriber.rb} +44 -21
  305. data/lib/{wallee/models/charge_type.rb → wallee-ruby-sdk/models/shopify_subscriber_state.rb} +10 -18
  306. data/lib/{wallee/models/subscription.rb → wallee-ruby-sdk/models/shopify_subscription.rb} +51 -68
  307. data/lib/wallee-ruby-sdk/models/shopify_subscription_address.rb +606 -0
  308. data/lib/wallee-ruby-sdk/models/shopify_subscription_billing_interval_unit.rb +39 -0
  309. data/lib/{wallee/models/document_template_type.rb → wallee-ruby-sdk/models/shopify_subscription_edit_model_item.rb} +39 -48
  310. data/lib/{wallee/models/tax.rb → wallee-ruby-sdk/models/shopify_subscription_edit_model_tax_line.rb} +6 -13
  311. data/lib/wallee-ruby-sdk/models/shopify_subscription_product.rb +471 -0
  312. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_active.rb +361 -0
  313. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_create.rb +371 -0
  314. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_pricing_option.rb +38 -0
  315. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_state.rb +39 -0
  316. data/lib/wallee-ruby-sdk/models/shopify_subscription_state.rb +39 -0
  317. data/lib/{wallee/models/charge.rb → wallee-ruby-sdk/models/shopify_subscription_suspension.rb} +71 -78
  318. data/lib/{wallee/models/client_error.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_create.rb} +39 -51
  319. data/lib/{wallee/models/charge_attempt_environment.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_initiator.rb} +9 -17
  320. data/lib/{wallee/models/account_type.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_state.rb} +9 -18
  321. data/lib/{wallee/models/charge_flow_level_state.rb → wallee-ruby-sdk/models/shopify_subscription_suspension_type.rb} +9 -18
  322. data/lib/{wallee/models/webhook_listener_create.rb → wallee-ruby-sdk/models/shopify_subscription_update_request.rb} +91 -118
  323. data/lib/wallee-ruby-sdk/models/shopify_subscription_version.rb +453 -0
  324. data/lib/{wallee/models/failure_reason.rb → wallee-ruby-sdk/models/shopify_subscription_version_item.rb} +39 -50
  325. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_item_price_strategy.rb +35 -0
  326. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_state.rb +36 -0
  327. data/lib/wallee-ruby-sdk/models/shopify_subscription_weekday.rb +40 -0
  328. data/lib/{wallee/models/label.rb → wallee-ruby-sdk/models/shopify_tax_line.rb} +30 -37
  329. data/lib/{wallee/models/installment_payment_slice.rb → wallee-ruby-sdk/models/shopify_transaction.rb} +37 -36
  330. data/lib/wallee-ruby-sdk/models/shopify_transaction_state.rb +38 -0
  331. data/lib/wallee-ruby-sdk/models/space.rb +61 -14
  332. data/lib/wallee-ruby-sdk/models/space_address.rb +120 -22
  333. data/lib/{wallee/models/space_address.rb → wallee-ruby-sdk/models/space_address_create.rb} +121 -23
  334. data/lib/wallee-ruby-sdk/models/space_create.rb +47 -105
  335. data/lib/wallee-ruby-sdk/models/space_reference.rb +5 -12
  336. data/lib/wallee-ruby-sdk/models/space_reference_state.rb +11 -19
  337. data/lib/wallee-ruby-sdk/models/space_update.rb +54 -87
  338. data/lib/wallee-ruby-sdk/models/space_view.rb +29 -12
  339. data/lib/wallee-ruby-sdk/models/static_value.rb +7 -14
  340. data/lib/wallee-ruby-sdk/models/subscriber.rb +63 -13
  341. data/lib/wallee-ruby-sdk/models/subscriber_active.rb +85 -65
  342. data/lib/wallee-ruby-sdk/models/subscriber_create.rb +65 -65
  343. data/lib/wallee-ruby-sdk/models/subscriber_update.rb +85 -75
  344. data/lib/wallee-ruby-sdk/models/subscription.rb +76 -13
  345. data/lib/{wallee/models/subscriber_active.rb → wallee-ruby-sdk/models/subscription_affiliate.rb} +100 -87
  346. data/lib/{wallee/models/subscription_pending.rb → wallee-ruby-sdk/models/subscription_affiliate_create.rb} +113 -128
  347. data/lib/{wallee/models/subscriber_update.rb → wallee-ruby-sdk/models/subscription_affiliate_deleted.rb} +100 -87
  348. data/lib/{wallee/models/subscriber_create.rb → wallee-ruby-sdk/models/subscription_affiliate_deleting.rb} +98 -90
  349. data/lib/{wallee/models/application_user_create.rb → wallee-ruby-sdk/models/subscription_affiliate_inactive.rb} +58 -64
  350. data/lib/{wallee/models/application_user_update.rb → wallee-ruby-sdk/models/subscription_affiliate_update.rb} +60 -61
  351. data/lib/wallee-ruby-sdk/models/subscription_change_request.rb +27 -17
  352. data/lib/wallee-ruby-sdk/models/subscription_charge.rb +31 -13
  353. data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +27 -151
  354. data/lib/wallee-ruby-sdk/models/subscription_charge_processing_type.rb +8 -16
  355. data/lib/wallee-ruby-sdk/models/subscription_charge_state.rb +11 -19
  356. data/lib/wallee-ruby-sdk/models/subscription_charge_type.rb +8 -16
  357. data/lib/{wallee/models/persistable_currency_amount.rb → wallee-ruby-sdk/models/subscription_component_configuration.rb} +19 -26
  358. data/lib/{wallee/models/localized_string.rb → wallee-ruby-sdk/models/subscription_component_reference_configuration.rb} +20 -37
  359. data/lib/wallee-ruby-sdk/models/subscription_create_request.rb +23 -18
  360. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +29 -12
  361. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +42 -121
  362. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_state.rb +9 -17
  363. data/lib/wallee-ruby-sdk/models/subscription_metric.rb +5 -12
  364. data/lib/wallee-ruby-sdk/models/subscription_metric_active.rb +27 -74
  365. data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +11 -78
  366. data/lib/wallee-ruby-sdk/models/subscription_metric_type.rb +7 -14
  367. data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +27 -74
  368. data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report.rb +20 -12
  369. data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report_create.rb +28 -80
  370. data/lib/wallee-ruby-sdk/models/subscription_pending.rb +61 -108
  371. data/lib/wallee-ruby-sdk/models/subscription_period_bill.rb +5 -12
  372. data/lib/wallee-ruby-sdk/models/subscription_period_bill_state.rb +8 -16
  373. data/lib/wallee-ruby-sdk/models/subscription_product.rb +35 -12
  374. data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +33 -65
  375. data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +36 -13
  376. data/lib/wallee-ruby-sdk/models/subscription_product_component_group.rb +5 -12
  377. data/lib/wallee-ruby-sdk/models/subscription_product_component_group_update.rb +18 -35
  378. data/lib/wallee-ruby-sdk/models/subscription_product_component_reference.rb +20 -12
  379. data/lib/wallee-ruby-sdk/models/subscription_product_component_reference_state.rb +10 -18
  380. data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +55 -42
  381. data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +44 -77
  382. data/lib/wallee-ruby-sdk/models/subscription_product_retirement.rb +5 -12
  383. data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +10 -57
  384. data/lib/wallee-ruby-sdk/models/subscription_product_state.rb +11 -19
  385. data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +20 -12
  386. data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +31 -38
  387. data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement.rb +5 -12
  388. data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +10 -57
  389. data/lib/wallee-ruby-sdk/models/subscription_product_version_state.rb +11 -19
  390. data/lib/wallee-ruby-sdk/models/subscription_state.rb +14 -21
  391. data/lib/wallee-ruby-sdk/models/subscription_suspension.rb +20 -12
  392. data/lib/wallee-ruby-sdk/models/subscription_suspension_action.rb +8 -16
  393. data/lib/wallee-ruby-sdk/models/subscription_suspension_create.rb +27 -119
  394. data/lib/wallee-ruby-sdk/models/subscription_suspension_reason.rb +9 -17
  395. data/lib/wallee-ruby-sdk/models/subscription_suspension_running.rb +20 -12
  396. data/lib/wallee-ruby-sdk/models/subscription_suspension_state.rb +8 -16
  397. data/lib/wallee-ruby-sdk/models/subscription_update.rb +46 -138
  398. data/lib/wallee-ruby-sdk/models/subscription_version.rb +18 -13
  399. data/lib/wallee-ruby-sdk/models/subscription_version_state.rb +12 -20
  400. data/lib/wallee-ruby-sdk/models/tax.rb +29 -12
  401. data/lib/wallee-ruby-sdk/models/tax_class.rb +20 -12
  402. data/lib/wallee-ruby-sdk/models/tax_create.rb +35 -14
  403. data/lib/wallee-ruby-sdk/models/tenant_database.rb +20 -12
  404. data/lib/wallee-ruby-sdk/models/token.rb +70 -13
  405. data/lib/wallee-ruby-sdk/models/token_create.rb +83 -82
  406. data/lib/wallee-ruby-sdk/models/token_update.rb +55 -72
  407. data/lib/wallee-ruby-sdk/models/token_version.rb +98 -13
  408. data/lib/wallee-ruby-sdk/models/token_version_state.rb +9 -17
  409. data/lib/wallee-ruby-sdk/models/{email_sender_type.rb → token_version_type.rb} +9 -16
  410. data/lib/wallee-ruby-sdk/models/tokenization_mode.rb +37 -0
  411. data/lib/wallee-ruby-sdk/models/transaction.rb +275 -18
  412. data/lib/wallee-ruby-sdk/models/transaction_aware_entity.rb +5 -12
  413. data/lib/{wallee/models/connector_invocation.rb → wallee-ruby-sdk/models/transaction_comment.rb} +72 -54
  414. data/lib/wallee-ruby-sdk/models/transaction_comment_active.rb +236 -0
  415. data/lib/wallee-ruby-sdk/models/transaction_comment_create.rb +221 -0
  416. data/lib/wallee-ruby-sdk/models/transaction_completion.rb +126 -13
  417. data/lib/wallee-ruby-sdk/models/transaction_completion_mode.rb +9 -17
  418. data/lib/{wallee/models/transaction_invoice_replacement.rb → wallee-ruby-sdk/models/transaction_completion_request.rb} +64 -48
  419. data/lib/wallee-ruby-sdk/models/transaction_completion_state.rb +11 -18
  420. data/lib/wallee-ruby-sdk/models/transaction_create.rb +172 -280
  421. data/lib/wallee-ruby-sdk/models/transaction_environment_selection_strategy.rb +36 -0
  422. data/lib/wallee-ruby-sdk/models/transaction_group.rb +20 -12
  423. data/lib/wallee-ruby-sdk/models/transaction_group_state.rb +9 -17
  424. data/lib/wallee-ruby-sdk/models/transaction_invoice.rb +85 -13
  425. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment.rb +296 -0
  426. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_active.rb +236 -0
  427. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_create.rb +221 -0
  428. data/lib/wallee-ruby-sdk/models/transaction_invoice_replacement.rb +62 -16
  429. data/lib/wallee-ruby-sdk/models/transaction_invoice_state.rb +13 -21
  430. data/lib/wallee-ruby-sdk/models/transaction_line_item_update_request.rb +6 -13
  431. data/lib/wallee-ruby-sdk/models/transaction_line_item_version.rb +5 -12
  432. data/lib/wallee-ruby-sdk/models/transaction_pending.rb +94 -271
  433. data/lib/wallee-ruby-sdk/models/transaction_state.rb +16 -24
  434. data/lib/wallee-ruby-sdk/models/transaction_user_interface_type.rb +11 -17
  435. data/lib/wallee-ruby-sdk/models/transaction_void.rb +5 -12
  436. data/lib/wallee-ruby-sdk/models/transaction_void_mode.rb +8 -16
  437. data/lib/wallee-ruby-sdk/models/transaction_void_state.rb +10 -18
  438. data/lib/{wallee/models/subscription_metric_type.rb → wallee-ruby-sdk/models/two_factor_authentication_type.rb} +21 -18
  439. data/lib/wallee-ruby-sdk/models/unencrypted_card_data.rb +284 -0
  440. data/lib/wallee-ruby-sdk/models/unencrypted_card_data_create.rb +293 -0
  441. data/lib/wallee-ruby-sdk/models/user.rb +5 -12
  442. data/lib/{wallee/models/user.rb → wallee-ruby-sdk/models/user_account_role.rb} +37 -44
  443. data/lib/{wallee/models/tenant_database.rb → wallee-ruby-sdk/models/user_space_role.rb} +34 -21
  444. data/lib/wallee-ruby-sdk/models/user_type.rb +11 -18
  445. data/lib/wallee-ruby-sdk/models/webhook_identity.rb +20 -12
  446. data/lib/wallee-ruby-sdk/models/webhook_listener.rb +20 -12
  447. data/lib/wallee-ruby-sdk/models/webhook_listener_create.rb +44 -96
  448. data/lib/wallee-ruby-sdk/models/webhook_listener_entity.rb +6 -13
  449. data/lib/wallee-ruby-sdk/models/webhook_listener_update.rb +30 -72
  450. data/lib/wallee-ruby-sdk/models/webhook_url.rb +20 -12
  451. data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +22 -69
  452. data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +33 -45
  453. data/lib/wallee-ruby-sdk/version.rb +1 -5
  454. data/test/{transactioncreate.rb → transaction_create_service_test.rb} +7 -11
  455. data/test/transaction_payment_page_service_test.rb +91 -0
  456. data/wallee-ruby-sdk.gemspec +2 -6
  457. metadata +242 -370
  458. data/Gemfile.lock +0 -31
  459. data/lib/wallee-ruby-sdk/models/attachment_resource.rb +0 -210
  460. data/lib/wallee-ruby-sdk/models/email_sender.rb +0 -278
  461. data/lib/wallee-ruby-sdk/models/email_template.rb +0 -324
  462. data/lib/wallee-ruby-sdk/models/email_template_type.rb +0 -288
  463. data/lib/wallee-ruby-sdk/models/entity_reference.rb +0 -188
  464. data/lib/wallee-ruby-sdk/services/application_user_service_api.rb +0 -372
  465. data/lib/wallee-ruby-sdk/services/condition_type_service_api.rb +0 -143
  466. data/lib/wallee-ruby-sdk/services/delivery_indication_service_api.rb +0 -341
  467. data/lib/wallee-ruby-sdk/services/email_sender_service_api.rb +0 -219
  468. data/lib/wallee-ruby-sdk/services/email_sender_type_service_api.rb +0 -143
  469. data/lib/wallee-ruby-sdk/services/email_template_type_service_api.rb +0 -143
  470. data/lib/wallee-ruby-sdk/services/installment_payment_service_api.rb +0 -287
  471. data/lib/wallee-ruby-sdk/services/installment_plan_calculation_service_api.rb +0 -95
  472. data/lib/wallee-ruby-sdk/services/installment_plan_slice_configuration_service_api.rb +0 -219
  473. data/lib/wallee-ruby-sdk/services/refund_service_api.rb +0 -468
  474. data/lib/wallee-ruby-sdk/services/space_service_api.rb +0 -372
  475. data/lib/wallee-ruby-sdk/services/subscription_ledger_entry_service_api.rb +0 -279
  476. data/lib/wallee-ruby-sdk/services/subscription_metric_usage_service_api.rb +0 -279
  477. data/lib/wallee-ruby-sdk/services/subscription_product_retirement_service_api.rb +0 -279
  478. data/lib/wallee-ruby-sdk/services/subscription_product_setup_fee_service_api.rb +0 -402
  479. data/lib/wallee-ruby-sdk/services/subscription_product_version_service_api.rb +0 -404
  480. data/lib/wallee-ruby-sdk/services/subscription_service_api.rb +0 -608
  481. data/lib/wallee-ruby-sdk/services/transaction_void_service_api.rb +0 -343
  482. data/lib/wallee.rb +0 -332
  483. data/lib/wallee/api_client.rb +0 -403
  484. data/lib/wallee/api_error.rb +0 -47
  485. data/lib/wallee/configuration.rb +0 -144
  486. data/lib/wallee/models/account.rb +0 -298
  487. data/lib/wallee/models/account_create.rb +0 -308
  488. data/lib/wallee/models/account_update.rb +0 -308
  489. data/lib/wallee/models/application_user.rb +0 -268
  490. data/lib/wallee/models/application_user_create_with_mac_key.rb +0 -278
  491. data/lib/wallee/models/attachment_resource.rb +0 -210
  492. data/lib/wallee/models/charge_attempt.rb +0 -420
  493. data/lib/wallee/models/client_error_type.rb +0 -44
  494. data/lib/wallee/models/connector_invocation_stage.rb +0 -45
  495. data/lib/wallee/models/creation_entity_state.rb +0 -46
  496. data/lib/wallee/models/criteria_operator.rb +0 -50
  497. data/lib/wallee/models/customers_presence.rb +0 -44
  498. data/lib/wallee/models/database_translated_string.rb +0 -222
  499. data/lib/wallee/models/database_translated_string_create.rb +0 -222
  500. data/lib/wallee/models/delivery_indication_state.rb +0 -45
  501. data/lib/wallee/models/email_sender.rb +0 -278
  502. data/lib/wallee/models/email_template.rb +0 -324
  503. data/lib/wallee/models/email_template_type.rb +0 -288
  504. data/lib/wallee/models/entity_query.rb +0 -240
  505. data/lib/wallee/models/entity_query_filter.rb +0 -245
  506. data/lib/wallee/models/entity_query_filter_type.rb +0 -44
  507. data/lib/wallee/models/entity_query_order_by.rb +0 -208
  508. data/lib/wallee/models/entity_query_order_by_type.rb +0 -43
  509. data/lib/wallee/models/entity_reference.rb +0 -188
  510. data/lib/wallee/models/failure_category.rb +0 -46
  511. data/lib/wallee/models/feature.rb +0 -274
  512. data/lib/wallee/models/human_user.rb +0 -318
  513. data/lib/wallee/models/human_user_update.rb +0 -328
  514. data/lib/wallee/models/installment_calculated_plan.rb +0 -242
  515. data/lib/wallee/models/installment_payment_slice_state.rb +0 -48
  516. data/lib/wallee/models/installment_payment_state.rb +0 -49
  517. data/lib/wallee/models/installment_plan_configuration.rb +0 -362
  518. data/lib/wallee/models/installment_plan_slice_configuration.rb +0 -288
  519. data/lib/wallee/models/label_descriptor.rb +0 -274
  520. data/lib/wallee/models/label_descriptor_category.rb +0 -43
  521. data/lib/wallee/models/legal_organization_form.rb +0 -242
  522. data/lib/wallee/models/line_item.rb +0 -342
  523. data/lib/wallee/models/line_item_create.rb +0 -367
  524. data/lib/wallee/models/line_item_reduction.rb +0 -218
  525. data/lib/wallee/models/line_item_reduction_create.rb +0 -233
  526. data/lib/wallee/models/line_item_type.rb +0 -45
  527. data/lib/wallee/models/manual_task.rb +0 -290
  528. data/lib/wallee/models/manual_task_action.rb +0 -230
  529. data/lib/wallee/models/manual_task_action_style.rb +0 -44
  530. data/lib/wallee/models/manual_task_state.rb +0 -44
  531. data/lib/wallee/models/one_click_payment_mode.rb +0 -44
  532. data/lib/wallee/models/payment_connector.rb +0 -306
  533. data/lib/wallee/models/payment_connector_configuration.rb +0 -322
  534. data/lib/wallee/models/payment_method.rb +0 -256
  535. data/lib/wallee/models/payment_method_brand.rb +0 -252
  536. data/lib/wallee/models/payment_method_configuration.rb +0 -328
  537. data/lib/wallee/models/payment_primary_risk_taker.rb +0 -44
  538. data/lib/wallee/models/payment_processor.rb +0 -278
  539. data/lib/wallee/models/payment_processor_configuration.rb +0 -258
  540. data/lib/wallee/models/permission.rb +0 -286
  541. data/lib/wallee/models/product_fee_type.rb +0 -44
  542. data/lib/wallee/models/product_metered_fee.rb +0 -278
  543. data/lib/wallee/models/product_metered_fee_update.rb +0 -288
  544. data/lib/wallee/models/product_metered_tier_fee_update.rb +0 -250
  545. data/lib/wallee/models/product_metered_tier_pricing.rb +0 -43
  546. data/lib/wallee/models/product_period_fee.rb +0 -280
  547. data/lib/wallee/models/product_period_fee_update.rb +0 -290
  548. data/lib/wallee/models/product_setup_fee.rb +0 -294
  549. data/lib/wallee/models/product_setup_fee_update.rb +0 -304
  550. data/lib/wallee/models/refund_state.rb +0 -46
  551. data/lib/wallee/models/refund_type.rb +0 -45
  552. data/lib/wallee/models/rendered_document.rb +0 -230
  553. data/lib/wallee/models/resource_path.rb +0 -258
  554. data/lib/wallee/models/resource_state.rb +0 -44
  555. data/lib/wallee/models/rest_country.rb +0 -240
  556. data/lib/wallee/models/rest_currency.rb +0 -218
  557. data/lib/wallee/models/rest_language.rb +0 -248
  558. data/lib/wallee/models/scope.rb +0 -302
  559. data/lib/wallee/models/space_create.rb +0 -350
  560. data/lib/wallee/models/space_reference_state.rb +0 -46
  561. data/lib/wallee/models/space_update.rb +0 -340
  562. data/lib/wallee/models/space_view.rb +0 -258
  563. data/lib/wallee/models/subscription_charge.rb +0 -390
  564. data/lib/wallee/models/subscription_charge_create.rb +0 -405
  565. data/lib/wallee/models/subscription_charge_processing_type.rb +0 -43
  566. data/lib/wallee/models/subscription_charge_state.rb +0 -46
  567. data/lib/wallee/models/subscription_charge_type.rb +0 -43
  568. data/lib/wallee/models/subscription_create_request.rb +0 -245
  569. data/lib/wallee/models/subscription_ledger_entry_create.rb +0 -375
  570. data/lib/wallee/models/subscription_ledger_entry_state.rb +0 -44
  571. data/lib/wallee/models/subscription_metric_active.rb +0 -278
  572. data/lib/wallee/models/subscription_metric_update.rb +0 -278
  573. data/lib/wallee/models/subscription_metric_usage_report.rb +0 -298
  574. data/lib/wallee/models/subscription_metric_usage_report_create.rb +0 -318
  575. data/lib/wallee/models/subscription_period_bill.rb +0 -298
  576. data/lib/wallee/models/subscription_period_bill_state.rb +0 -43
  577. data/lib/wallee/models/subscription_product_component.rb +0 -298
  578. data/lib/wallee/models/subscription_product_component_group.rb +0 -258
  579. data/lib/wallee/models/subscription_product_component_group_update.rb +0 -268
  580. data/lib/wallee/models/subscription_product_component_reference.rb +0 -258
  581. data/lib/wallee/models/subscription_product_component_reference_state.rb +0 -45
  582. data/lib/wallee/models/subscription_product_component_update.rb +0 -308
  583. data/lib/wallee/models/subscription_product_state.rb +0 -46
  584. data/lib/wallee/models/subscription_product_version.rb +0 -390
  585. data/lib/wallee/models/subscription_product_version_pending.rb +0 -310
  586. data/lib/wallee/models/subscription_product_version_retirement.rb +0 -258
  587. data/lib/wallee/models/subscription_product_version_state.rb +0 -46
  588. data/lib/wallee/models/subscription_state.rb +0 -48
  589. data/lib/wallee/models/subscription_suspension.rb +0 -328
  590. data/lib/wallee/models/subscription_suspension_action.rb +0 -43
  591. data/lib/wallee/models/subscription_suspension_create.rb +0 -343
  592. data/lib/wallee/models/subscription_suspension_reason.rb +0 -44
  593. data/lib/wallee/models/subscription_suspension_running.rb +0 -328
  594. data/lib/wallee/models/subscription_suspension_state.rb +0 -43
  595. data/lib/wallee/models/subscription_update.rb +0 -348
  596. data/lib/wallee/models/subscription_version.rb +0 -370
  597. data/lib/wallee/models/subscription_version_state.rb +0 -47
  598. data/lib/wallee/models/tax_class.rb +0 -258
  599. data/lib/wallee/models/token_version_state.rb +0 -44
  600. data/lib/wallee/models/transaction.rb +0 -626
  601. data/lib/wallee/models/transaction_completion.rb +0 -390
  602. data/lib/wallee/models/transaction_completion_mode.rb +0 -44
  603. data/lib/wallee/models/transaction_completion_state.rb +0 -45
  604. data/lib/wallee/models/transaction_create.rb +0 -646
  605. data/lib/wallee/models/transaction_group.rb +0 -268
  606. data/lib/wallee/models/transaction_group_state.rb +0 -44
  607. data/lib/wallee/models/transaction_invoice.rb +0 -380
  608. data/lib/wallee/models/transaction_invoice_state.rb +0 -48
  609. data/lib/wallee/models/transaction_line_item_update_request.rb +0 -215
  610. data/lib/wallee/models/transaction_state.rb +0 -51
  611. data/lib/wallee/models/transaction_user_interface_type.rb +0 -44
  612. data/lib/wallee/models/transaction_void.rb +0 -380
  613. data/lib/wallee/models/user_type.rb +0 -45
  614. data/lib/wallee/models/webhook_listener.rb +0 -300
  615. data/lib/wallee/models/webhook_listener_update.rb +0 -310
  616. data/lib/wallee/models/webhook_url.rb +0 -258
  617. data/lib/wallee/models/webhook_url_create.rb +0 -273
  618. data/lib/wallee/models/webhook_url_update.rb +0 -268
  619. data/lib/wallee/services/account_service_api.rb +0 -372
  620. data/lib/wallee/services/charge_flow_service_api.rb +0 -352
  621. data/lib/wallee/services/country_state_service_api.rb +0 -143
  622. data/lib/wallee/services/document_template_service_api.rb +0 -217
  623. data/lib/wallee/services/document_template_type_service_api.rb +0 -143
  624. data/lib/wallee/services/email_sender_service_api.rb +0 -219
  625. data/lib/wallee/services/email_sender_type_service_api.rb +0 -143
  626. data/lib/wallee/services/email_template_service_api.rb +0 -217
  627. data/lib/wallee/services/email_template_type_service_api.rb +0 -143
  628. data/lib/wallee/services/human_user_service_api.rb +0 -372
  629. data/lib/wallee/services/installment_payment_slice_service_api.rb +0 -219
  630. data/lib/wallee/services/installment_plan_configuration_service_api.rb +0 -219
  631. data/lib/wallee/services/label_description_group_service_api.rb +0 -143
  632. data/lib/wallee/services/label_description_service_api.rb +0 -143
  633. data/lib/wallee/services/language_service_api.rb +0 -85
  634. data/lib/wallee/services/payment_connector_configuration_service_api.rb +0 -217
  635. data/lib/wallee/services/payment_connector_service_api.rb +0 -143
  636. data/lib/wallee/services/payment_method_configuration_service_api.rb +0 -217
  637. data/lib/wallee/services/payment_processor_configuration_service_api.rb +0 -217
  638. data/lib/wallee/services/payment_processor_service_api.rb +0 -143
  639. data/lib/wallee/services/static_value_service_api.rb +0 -143
  640. data/lib/wallee/services/subscription_period_bill_service_api.rb +0 -217
  641. data/lib/wallee/services/subscription_product_component_group_service_api.rb +0 -402
  642. data/lib/wallee/services/subscription_product_component_service_api.rb +0 -402
  643. data/lib/wallee/services/subscription_product_metered_fee_service_api.rb +0 -402
  644. data/lib/wallee/services/subscription_product_version_retirement_service_api.rb +0 -279
  645. data/lib/wallee/services/subscription_version_service_api.rb +0 -217
  646. data/lib/wallee/services/token_version_service_api.rb +0 -280
  647. data/lib/wallee/services/transaction_completion_service_api.rb +0 -343
  648. data/lib/wallee/services/transaction_service_api.rb +0 -1263
  649. data/lib/wallee/services/webhook_url_service_api.rb +0 -402
  650. data/lib/wallee/version.rb +0 -24
@@ -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
@@ -24,10 +20,13 @@ require 'date'
24
20
  module Wallee
25
21
  #
26
22
  class TransactionInvoiceReplacement
23
+ #
24
+ attr_accessor :billing_address
25
+
27
26
  # The date on which the invoice should be paid on.
28
27
  attr_accessor :due_on
29
28
 
30
- #
29
+ # The external id helps to identify the entity and a subsequent creation of an entity with the same ID will not create a new entity.
31
30
  attr_accessor :external_id
32
31
 
33
32
  #
@@ -39,10 +38,10 @@ module Wallee
39
38
  # When the connector is configured to send the invoice to the customer and this property is true the customer will receive an email with the updated invoice. When this property is false no invoice is sent.
40
39
  attr_accessor :sent_to_customer
41
40
 
42
-
43
41
  # Attribute mapping from ruby-style variable name to JSON key.
44
42
  def self.attribute_map
45
43
  {
44
+ :'billing_address' => :'billingAddress',
46
45
  :'due_on' => :'dueOn',
47
46
  :'external_id' => :'externalId',
48
47
  :'line_items' => :'lineItems',
@@ -54,6 +53,7 @@ module Wallee
54
53
  # Attribute type mapping.
55
54
  def self.swagger_types
56
55
  {
56
+ :'billing_address' => :'AddressCreate',
57
57
  :'due_on' => :'DateTime',
58
58
  :'external_id' => :'String',
59
59
  :'line_items' => :'Array<LineItemCreate>',
@@ -68,7 +68,11 @@ module Wallee
68
68
  return unless attributes.is_a?(Hash)
69
69
 
70
70
  # convert string to symbol for hash key
71
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
71
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
72
+
73
+ if attributes.has_key?(:'billingAddress')
74
+ self.billing_address = attributes[:'billingAddress']
75
+ end
72
76
 
73
77
  if attributes.has_key?(:'dueOn')
74
78
  self.due_on = attributes[:'dueOn']
@@ -91,30 +95,72 @@ module Wallee
91
95
  if attributes.has_key?(:'sentToCustomer')
92
96
  self.sent_to_customer = attributes[:'sentToCustomer']
93
97
  end
94
-
95
98
  end
96
99
 
97
100
  # Show invalid properties with the reasons. Usually used together with valid?
98
- # @return Array for valid properies with the reasons
101
+ # @return Array for valid properties with the reasons
99
102
  def list_invalid_properties
100
103
  invalid_properties = Array.new
101
104
  if @external_id.nil?
102
- invalid_properties.push("invalid value for 'external_id', external_id cannot be nil.")
105
+ invalid_properties.push('invalid value for "external_id", external_id cannot be nil.')
106
+ end
107
+
108
+ if @external_id.to_s.length > 100
109
+ invalid_properties.push('invalid value for "external_id", the character length must be smaller than or equal to 100.')
110
+ end
111
+
112
+ if @external_id.to_s.length < 1
113
+ invalid_properties.push('invalid value for "external_id", the character length must be great than or equal to 1.')
103
114
  end
104
115
 
105
116
  if @line_items.nil?
106
- invalid_properties.push("invalid value for 'line_items', line_items cannot be nil.")
117
+ invalid_properties.push('invalid value for "line_items", line_items cannot be nil.')
107
118
  end
108
119
 
109
- return invalid_properties
120
+ if !@merchant_reference.nil? && @merchant_reference.to_s.length > 100
121
+ invalid_properties.push('invalid value for "merchant_reference", the character length must be smaller than or equal to 100.')
122
+ end
123
+
124
+ invalid_properties
110
125
  end
111
126
 
112
127
  # Check to see if the all the properties in the model are valid
113
128
  # @return true if the model is valid
114
129
  def valid?
115
130
  return false if @external_id.nil?
131
+ return false if @external_id.to_s.length > 100
132
+ return false if @external_id.to_s.length < 1
116
133
  return false if @line_items.nil?
117
- return true
134
+ return false if !@merchant_reference.nil? && @merchant_reference.to_s.length > 100
135
+ true
136
+ end
137
+
138
+ # Custom attribute writer method with validation
139
+ # @param [Object] external_id Value to be assigned
140
+ def external_id=(external_id)
141
+ if external_id.nil?
142
+ fail ArgumentError, 'external_id cannot be nil'
143
+ end
144
+
145
+ if external_id.to_s.length > 100
146
+ fail ArgumentError, 'invalid value for "external_id", the character length must be smaller than or equal to 100.'
147
+ end
148
+
149
+ if external_id.to_s.length < 1
150
+ fail ArgumentError, 'invalid value for "external_id", the character length must be great than or equal to 1.'
151
+ end
152
+
153
+ @external_id = external_id
154
+ end
155
+
156
+ # Custom attribute writer method with validation
157
+ # @param [Object] merchant_reference Value to be assigned
158
+ def merchant_reference=(merchant_reference)
159
+ if !merchant_reference.nil? && merchant_reference.to_s.length > 100
160
+ fail ArgumentError, 'invalid value for "merchant_reference", the character length must be smaller than or equal to 100.'
161
+ end
162
+
163
+ @merchant_reference = merchant_reference
118
164
  end
119
165
 
120
166
  # Checks equality by comparing each attribute.
@@ -122,6 +168,7 @@ module Wallee
122
168
  def ==(o)
123
169
  return true if self.equal?(o)
124
170
  self.class == o.class &&
171
+ billing_address == o.billing_address &&
125
172
  due_on == o.due_on &&
126
173
  external_id == o.external_id &&
127
174
  line_items == o.line_items &&
@@ -138,7 +185,7 @@ module Wallee
138
185
  # Calculates hash code according to all attributes.
139
186
  # @return [Fixnum] Hash code
140
187
  def hash
141
- [due_on, external_id, line_items, merchant_reference, sent_to_customer].hash
188
+ [billing_address, due_on, external_id, line_items, merchant_reference, sent_to_customer].hash
142
189
  end
143
190
 
144
191
  # Builds the object from hash
@@ -148,7 +195,7 @@ module Wallee
148
195
  return nil unless attributes.is_a?(Hash)
149
196
  self.class.swagger_types.each_pair do |key, type|
150
197
  if type =~ /\AArray<(.*)>/i
151
- # check to ensure the input is an array given that the the attribute
198
+ # check to ensure the input is an array given that the attribute
152
199
  # is documented as an array but the input is not
153
200
  if attributes[self.class.attribute_map[key]].is_a?(Array)
154
201
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
@@ -246,5 +293,4 @@ module Wallee
246
293
  end
247
294
 
248
295
  end
249
-
250
296
  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
@@ -24,25 +20,21 @@ require 'date'
24
20
  module Wallee
25
21
  class TransactionInvoiceState
26
22
 
27
- CREATE = "CREATE".freeze
28
- OPEN = "OPEN".freeze
29
- OVERDUE = "OVERDUE".freeze
30
- CANCELED = "CANCELED".freeze
31
- PAID = "PAID".freeze
32
- DERECOGNIZED = "DERECOGNIZED".freeze
33
- NOT_APPLICABLE = "NOT_APPLICABLE".freeze
34
-
35
- # Builds the object from hash
36
- # @param [Hash] attributes Model attributes in the form of hash
37
- # @return [Object] Returns the model itself
23
+ CREATE = 'CREATE'.freeze
24
+ OPEN = 'OPEN'.freeze
25
+ OVERDUE = 'OVERDUE'.freeze
26
+ CANCELED = 'CANCELED'.freeze
27
+ PAID = 'PAID'.freeze
28
+ DERECOGNIZED = 'DERECOGNIZED'.freeze
29
+ NOT_APPLICABLE = 'NOT_APPLICABLE'.freeze
30
+
31
+ # Builds the enum from string
32
+ # @param [String] The enum value in the form of the string
33
+ # @return [String] The enum value
38
34
  def build_from_hash(value)
39
-
40
- consantValues = TransactionInvoiceState.constants.select{|c| c.to_s == value}
41
- raise "Invalid ENUM value #{value} for class #TransactionInvoiceState" if consantValues.empty?
42
-
35
+ constantValues = TransactionInvoiceState.constants.select { |c| TransactionInvoiceState::const_get(c) == value }
36
+ raise "Invalid ENUM value #{value} for class #TransactionInvoiceState" if constantValues.empty?
43
37
  value
44
-
45
38
  end
46
39
  end
47
-
48
40
  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
@@ -30,7 +26,6 @@ module Wallee
30
26
  #
31
27
  attr_accessor :transaction_id
32
28
 
33
-
34
29
  # Attribute mapping from ruby-style variable name to JSON key.
35
30
  def self.attribute_map
36
31
  {
@@ -53,7 +48,7 @@ module Wallee
53
48
  return unless attributes.is_a?(Hash)
54
49
 
55
50
  # convert string to symbol for hash key
56
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
52
 
58
53
  if attributes.has_key?(:'newLineItems')
59
54
  if (value = attributes[:'newLineItems']).is_a?(Array)
@@ -64,25 +59,24 @@ module Wallee
64
59
  if attributes.has_key?(:'transactionId')
65
60
  self.transaction_id = attributes[:'transactionId']
66
61
  end
67
-
68
62
  end
69
63
 
70
64
  # Show invalid properties with the reasons. Usually used together with valid?
71
- # @return Array for valid properies with the reasons
65
+ # @return Array for valid properties with the reasons
72
66
  def list_invalid_properties
73
67
  invalid_properties = Array.new
74
68
  if @transaction_id.nil?
75
- invalid_properties.push("invalid value for 'transaction_id', transaction_id cannot be nil.")
69
+ invalid_properties.push('invalid value for "transaction_id", transaction_id cannot be nil.')
76
70
  end
77
71
 
78
- return invalid_properties
72
+ invalid_properties
79
73
  end
80
74
 
81
75
  # Check to see if the all the properties in the model are valid
82
76
  # @return true if the model is valid
83
77
  def valid?
84
78
  return false if @transaction_id.nil?
85
- return true
79
+ true
86
80
  end
87
81
 
88
82
  # Checks equality by comparing each attribute.
@@ -113,7 +107,7 @@ module Wallee
113
107
  return nil unless attributes.is_a?(Hash)
114
108
  self.class.swagger_types.each_pair do |key, type|
115
109
  if type =~ /\AArray<(.*)>/i
116
- # check to ensure the input is an array given that the the attribute
110
+ # check to ensure the input is an array given that the attribute
117
111
  # is documented as an array but the input is not
118
112
  if attributes[self.class.attribute_map[key]].is_a?(Array)
119
113
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
@@ -211,5 +205,4 @@ module Wallee
211
205
  end
212
206
 
213
207
  end
214
-
215
208
  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
@@ -63,7 +59,6 @@ module Wallee
63
59
  # The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
64
60
  attr_accessor :version
65
61
 
66
-
67
62
  # Attribute mapping from ruby-style variable name to JSON key.
68
63
  def self.attribute_map
69
64
  {
@@ -108,7 +103,7 @@ module Wallee
108
103
  return unless attributes.is_a?(Hash)
109
104
 
110
105
  # convert string to symbol for hash key
111
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
106
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
112
107
 
113
108
  if attributes.has_key?(:'id')
114
109
  self.id = attributes[:'id']
@@ -163,20 +158,19 @@ module Wallee
163
158
  if attributes.has_key?(:'version')
164
159
  self.version = attributes[:'version']
165
160
  end
166
-
167
161
  end
168
162
 
169
163
  # Show invalid properties with the reasons. Usually used together with valid?
170
- # @return Array for valid properies with the reasons
164
+ # @return Array for valid properties with the reasons
171
165
  def list_invalid_properties
172
166
  invalid_properties = Array.new
173
- return invalid_properties
167
+ invalid_properties
174
168
  end
175
169
 
176
170
  # Check to see if the all the properties in the model are valid
177
171
  # @return true if the model is valid
178
172
  def valid?
179
- return true
173
+ true
180
174
  end
181
175
 
182
176
  # Checks equality by comparing each attribute.
@@ -218,7 +212,7 @@ module Wallee
218
212
  return nil unless attributes.is_a?(Hash)
219
213
  self.class.swagger_types.each_pair do |key, type|
220
214
  if type =~ /\AArray<(.*)>/i
221
- # check to ensure the input is an array given that the the attribute
215
+ # check to ensure the input is an array given that the attribute
222
216
  # is documented as an array but the input is not
223
217
  if attributes[self.class.attribute_map[key]].is_a?(Array)
224
218
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
@@ -316,5 +310,4 @@ module Wallee
316
310
  end
317
311
 
318
312
  end
319
-
320
313
  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
@@ -24,78 +20,27 @@ require 'date'
24
20
  module Wallee
25
21
  #
26
22
  class TransactionPending
27
- #
28
- attr_accessor :accept_header
29
-
30
23
  #
31
24
  attr_accessor :allowed_payment_method_brands
32
25
 
33
26
  #
34
27
  attr_accessor :allowed_payment_method_configurations
35
28
 
36
- #
37
- attr_accessor :authorization_amount
38
-
39
- #
40
- attr_accessor :authorized_on
41
-
42
29
  #
43
30
  attr_accessor :billing_address
44
31
 
45
- # When the charging of the customer fails we can retry the charging. This implies that we redirect the user back to the payment page which allows the customer to retry. By default we will retry.
46
- attr_accessor :charge_retry_enabled
47
-
48
- #
49
- attr_accessor :completed_on
50
-
51
- #
52
- attr_accessor :completion_timeout_on
53
-
54
- #
55
- attr_accessor :confirmed_by
56
-
57
- #
58
- attr_accessor :confirmed_on
59
-
60
- #
61
- attr_accessor :created_by
62
-
63
- # The created on date indicates the date on which the entity was stored into the database.
64
- attr_accessor :created_on
65
-
66
32
  #
67
33
  attr_accessor :currency
68
34
 
69
- # The customer email address is the email address of the customer. If no email address is used provided on the shipping or billing address this address is used.
35
+ # The customer email address is the email address of the customer. If no email address is provided on the shipping or billing address this address is used.
70
36
  attr_accessor :customer_email_address
71
37
 
72
38
  #
73
39
  attr_accessor :customer_id
74
40
 
75
- #
76
- attr_accessor :customers_presence
77
-
78
- # The transaction's end of life indicates the date from which on no operation can be carried out anymore.
79
- attr_accessor :end_of_life
80
-
81
- #
82
- attr_accessor :failed_on
83
-
84
41
  # The user will be redirected to failed URL when the transaction could not be authorized or completed. In case no failed URL is specified a default failed page will be displayed.
85
42
  attr_accessor :failed_url
86
43
 
87
- #
88
- attr_accessor :group
89
-
90
- # The ID is the primary key of the entity. The ID identifies the entity uniquely.
91
- attr_accessor :id
92
-
93
- #
94
- attr_accessor :internet_protocol_address
95
-
96
- #
97
- attr_accessor :internet_protocol_address_country
98
-
99
44
  #
100
45
  attr_accessor :invoice_merchant_reference
101
46
 
@@ -105,100 +50,58 @@ module Wallee
105
50
  #
106
51
  attr_accessor :line_items
107
52
 
108
- # The linked space id holds the ID of the space to which the entity belongs to.
109
- attr_accessor :linked_space_id
110
-
111
53
  #
112
54
  attr_accessor :merchant_reference
113
55
 
114
56
  # Meta data allow to store additional data along the object.
115
57
  attr_accessor :meta_data
116
58
 
117
- #
118
- attr_accessor :payment_connector_configuration
119
-
120
- # The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
121
- attr_accessor :planned_purge_date
122
-
123
- #
124
- attr_accessor :processing_on
125
-
126
- # The refunded amount is the total amount which has been refunded so far.
127
- attr_accessor :refunded_amount
128
-
129
59
  #
130
60
  attr_accessor :shipping_address
131
61
 
132
62
  #
133
63
  attr_accessor :shipping_method
134
64
 
135
- #
136
- attr_accessor :space_view_id
137
-
138
- #
139
- attr_accessor :state
140
-
141
65
  # The user will be redirected to success URL when the transaction could be authorized or completed. In case no success URL is specified a default success page will be displayed.
142
66
  attr_accessor :success_url
143
67
 
68
+ # The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer.
69
+ attr_accessor :time_zone
70
+
144
71
  #
145
72
  attr_accessor :token
146
73
 
147
- #
148
- attr_accessor :user_agent_header
74
+ # The tokenization mode controls if and how the tokenization of payment information is applied to the transaction.
75
+ attr_accessor :tokenization_mode
149
76
 
150
- # The user interface type defines through which user interface the transaction has been processed resp. created.
151
- attr_accessor :user_interface_type
77
+ # The ID is the primary key of the entity. The ID identifies the entity uniquely.
78
+ attr_accessor :id
152
79
 
153
80
  # The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
154
81
  attr_accessor :version
155
82
 
156
-
157
83
  # Attribute mapping from ruby-style variable name to JSON key.
158
84
  def self.attribute_map
159
85
  {
160
- :'accept_header' => :'acceptHeader',
161
86
  :'allowed_payment_method_brands' => :'allowedPaymentMethodBrands',
162
87
  :'allowed_payment_method_configurations' => :'allowedPaymentMethodConfigurations',
163
- :'authorization_amount' => :'authorizationAmount',
164
- :'authorized_on' => :'authorizedOn',
165
88
  :'billing_address' => :'billingAddress',
166
- :'charge_retry_enabled' => :'chargeRetryEnabled',
167
- :'completed_on' => :'completedOn',
168
- :'completion_timeout_on' => :'completionTimeoutOn',
169
- :'confirmed_by' => :'confirmedBy',
170
- :'confirmed_on' => :'confirmedOn',
171
- :'created_by' => :'createdBy',
172
- :'created_on' => :'createdOn',
173
89
  :'currency' => :'currency',
174
90
  :'customer_email_address' => :'customerEmailAddress',
175
91
  :'customer_id' => :'customerId',
176
- :'customers_presence' => :'customersPresence',
177
- :'end_of_life' => :'endOfLife',
178
- :'failed_on' => :'failedOn',
179
92
  :'failed_url' => :'failedUrl',
180
- :'group' => :'group',
181
- :'id' => :'id',
182
- :'internet_protocol_address' => :'internetProtocolAddress',
183
- :'internet_protocol_address_country' => :'internetProtocolAddressCountry',
184
93
  :'invoice_merchant_reference' => :'invoiceMerchantReference',
185
94
  :'language' => :'language',
186
95
  :'line_items' => :'lineItems',
187
- :'linked_space_id' => :'linkedSpaceId',
188
96
  :'merchant_reference' => :'merchantReference',
189
97
  :'meta_data' => :'metaData',
190
- :'payment_connector_configuration' => :'paymentConnectorConfiguration',
191
- :'planned_purge_date' => :'plannedPurgeDate',
192
- :'processing_on' => :'processingOn',
193
- :'refunded_amount' => :'refundedAmount',
194
98
  :'shipping_address' => :'shippingAddress',
195
99
  :'shipping_method' => :'shippingMethod',
196
- :'space_view_id' => :'spaceViewId',
197
- :'state' => :'state',
198
100
  :'success_url' => :'successUrl',
101
+ :'time_zone' => :'timeZone',
199
102
  :'token' => :'token',
200
- :'user_agent_header' => :'userAgentHeader',
201
- :'user_interface_type' => :'userInterfaceType',
103
+ :'tokenization_mode' => :'tokenizationMode',
104
+ :'id' => :'id',
202
105
  :'version' => :'version'
203
106
  }
204
107
  end
@@ -206,48 +109,25 @@ module Wallee
206
109
  # Attribute type mapping.
207
110
  def self.swagger_types
208
111
  {
209
- :'accept_header' => :'String',
210
112
  :'allowed_payment_method_brands' => :'Array<PaymentMethodBrand>',
211
113
  :'allowed_payment_method_configurations' => :'Array<Integer>',
212
- :'authorization_amount' => :'Float',
213
- :'authorized_on' => :'DateTime',
214
114
  :'billing_address' => :'AddressCreate',
215
- :'charge_retry_enabled' => :'BOOLEAN',
216
- :'completed_on' => :'DateTime',
217
- :'completion_timeout_on' => :'DateTime',
218
- :'confirmed_by' => :'Integer',
219
- :'confirmed_on' => :'DateTime',
220
- :'created_by' => :'Integer',
221
- :'created_on' => :'DateTime',
222
115
  :'currency' => :'String',
223
116
  :'customer_email_address' => :'String',
224
117
  :'customer_id' => :'String',
225
- :'customers_presence' => :'CustomersPresence',
226
- :'end_of_life' => :'DateTime',
227
- :'failed_on' => :'DateTime',
228
118
  :'failed_url' => :'String',
229
- :'group' => :'TransactionGroup',
230
- :'id' => :'Integer',
231
- :'internet_protocol_address' => :'String',
232
- :'internet_protocol_address_country' => :'String',
233
119
  :'invoice_merchant_reference' => :'String',
234
120
  :'language' => :'String',
235
121
  :'line_items' => :'Array<LineItemCreate>',
236
- :'linked_space_id' => :'Integer',
237
122
  :'merchant_reference' => :'String',
238
123
  :'meta_data' => :'Hash<String, String>',
239
- :'payment_connector_configuration' => :'PaymentConnectorConfiguration',
240
- :'planned_purge_date' => :'DateTime',
241
- :'processing_on' => :'DateTime',
242
- :'refunded_amount' => :'Float',
243
124
  :'shipping_address' => :'AddressCreate',
244
125
  :'shipping_method' => :'String',
245
- :'space_view_id' => :'Integer',
246
- :'state' => :'TransactionState',
247
126
  :'success_url' => :'String',
127
+ :'time_zone' => :'String',
248
128
  :'token' => :'Integer',
249
- :'user_agent_header' => :'String',
250
- :'user_interface_type' => :'TransactionUserInterfaceType',
129
+ :'tokenization_mode' => :'TokenizationMode',
130
+ :'id' => :'Integer',
251
131
  :'version' => :'Integer'
252
132
  }
253
133
  end
@@ -258,11 +138,7 @@ module Wallee
258
138
  return unless attributes.is_a?(Hash)
259
139
 
260
140
  # convert string to symbol for hash key
261
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
262
-
263
- if attributes.has_key?(:'acceptHeader')
264
- self.accept_header = attributes[:'acceptHeader']
265
- end
141
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
266
142
 
267
143
  if attributes.has_key?(:'allowedPaymentMethodBrands')
268
144
  if (value = attributes[:'allowedPaymentMethodBrands']).is_a?(Array)
@@ -276,46 +152,10 @@ module Wallee
276
152
  end
277
153
  end
278
154
 
279
- if attributes.has_key?(:'authorizationAmount')
280
- self.authorization_amount = attributes[:'authorizationAmount']
281
- end
282
-
283
- if attributes.has_key?(:'authorizedOn')
284
- self.authorized_on = attributes[:'authorizedOn']
285
- end
286
-
287
155
  if attributes.has_key?(:'billingAddress')
288
156
  self.billing_address = attributes[:'billingAddress']
289
157
  end
290
158
 
291
- if attributes.has_key?(:'chargeRetryEnabled')
292
- self.charge_retry_enabled = attributes[:'chargeRetryEnabled']
293
- end
294
-
295
- if attributes.has_key?(:'completedOn')
296
- self.completed_on = attributes[:'completedOn']
297
- end
298
-
299
- if attributes.has_key?(:'completionTimeoutOn')
300
- self.completion_timeout_on = attributes[:'completionTimeoutOn']
301
- end
302
-
303
- if attributes.has_key?(:'confirmedBy')
304
- self.confirmed_by = attributes[:'confirmedBy']
305
- end
306
-
307
- if attributes.has_key?(:'confirmedOn')
308
- self.confirmed_on = attributes[:'confirmedOn']
309
- end
310
-
311
- if attributes.has_key?(:'createdBy')
312
- self.created_by = attributes[:'createdBy']
313
- end
314
-
315
- if attributes.has_key?(:'createdOn')
316
- self.created_on = attributes[:'createdOn']
317
- end
318
-
319
159
  if attributes.has_key?(:'currency')
320
160
  self.currency = attributes[:'currency']
321
161
  end
@@ -328,38 +168,10 @@ module Wallee
328
168
  self.customer_id = attributes[:'customerId']
329
169
  end
330
170
 
331
- if attributes.has_key?(:'customersPresence')
332
- self.customers_presence = attributes[:'customersPresence']
333
- end
334
-
335
- if attributes.has_key?(:'endOfLife')
336
- self.end_of_life = attributes[:'endOfLife']
337
- end
338
-
339
- if attributes.has_key?(:'failedOn')
340
- self.failed_on = attributes[:'failedOn']
341
- end
342
-
343
171
  if attributes.has_key?(:'failedUrl')
344
172
  self.failed_url = attributes[:'failedUrl']
345
173
  end
346
174
 
347
- if attributes.has_key?(:'group')
348
- self.group = attributes[:'group']
349
- end
350
-
351
- if attributes.has_key?(:'id')
352
- self.id = attributes[:'id']
353
- end
354
-
355
- if attributes.has_key?(:'internetProtocolAddress')
356
- self.internet_protocol_address = attributes[:'internetProtocolAddress']
357
- end
358
-
359
- if attributes.has_key?(:'internetProtocolAddressCountry')
360
- self.internet_protocol_address_country = attributes[:'internetProtocolAddressCountry']
361
- end
362
-
363
175
  if attributes.has_key?(:'invoiceMerchantReference')
364
176
  self.invoice_merchant_reference = attributes[:'invoiceMerchantReference']
365
177
  end
@@ -374,36 +186,16 @@ module Wallee
374
186
  end
375
187
  end
376
188
 
377
- if attributes.has_key?(:'linkedSpaceId')
378
- self.linked_space_id = attributes[:'linkedSpaceId']
379
- end
380
-
381
189
  if attributes.has_key?(:'merchantReference')
382
190
  self.merchant_reference = attributes[:'merchantReference']
383
191
  end
384
192
 
385
193
  if attributes.has_key?(:'metaData')
386
- if (value = attributes[:'metaData']).is_a?(Array)
194
+ if (value = attributes[:'metaData']).is_a?(Hash)
387
195
  self.meta_data = value
388
196
  end
389
197
  end
390
198
 
391
- if attributes.has_key?(:'paymentConnectorConfiguration')
392
- self.payment_connector_configuration = attributes[:'paymentConnectorConfiguration']
393
- end
394
-
395
- if attributes.has_key?(:'plannedPurgeDate')
396
- self.planned_purge_date = attributes[:'plannedPurgeDate']
397
- end
398
-
399
- if attributes.has_key?(:'processingOn')
400
- self.processing_on = attributes[:'processingOn']
401
- end
402
-
403
- if attributes.has_key?(:'refundedAmount')
404
- self.refunded_amount = attributes[:'refundedAmount']
405
- end
406
-
407
199
  if attributes.has_key?(:'shippingAddress')
408
200
  self.shipping_address = attributes[:'shippingAddress']
409
201
  end
@@ -412,57 +204,112 @@ module Wallee
412
204
  self.shipping_method = attributes[:'shippingMethod']
413
205
  end
414
206
 
415
- if attributes.has_key?(:'spaceViewId')
416
- self.space_view_id = attributes[:'spaceViewId']
417
- end
418
-
419
- if attributes.has_key?(:'state')
420
- self.state = attributes[:'state']
421
- end
422
-
423
207
  if attributes.has_key?(:'successUrl')
424
208
  self.success_url = attributes[:'successUrl']
425
209
  end
426
210
 
211
+ if attributes.has_key?(:'timeZone')
212
+ self.time_zone = attributes[:'timeZone']
213
+ end
214
+
427
215
  if attributes.has_key?(:'token')
428
216
  self.token = attributes[:'token']
429
217
  end
430
218
 
431
- if attributes.has_key?(:'userAgentHeader')
432
- self.user_agent_header = attributes[:'userAgentHeader']
219
+ if attributes.has_key?(:'tokenizationMode')
220
+ self.tokenization_mode = attributes[:'tokenizationMode']
433
221
  end
434
222
 
435
- if attributes.has_key?(:'userInterfaceType')
436
- self.user_interface_type = attributes[:'userInterfaceType']
223
+ if attributes.has_key?(:'id')
224
+ self.id = attributes[:'id']
437
225
  end
438
226
 
439
227
  if attributes.has_key?(:'version')
440
228
  self.version = attributes[:'version']
441
229
  end
442
-
443
230
  end
444
231
 
445
232
  # Show invalid properties with the reasons. Usually used together with valid?
446
- # @return Array for valid properies with the reasons
233
+ # @return Array for valid properties with the reasons
447
234
  def list_invalid_properties
448
235
  invalid_properties = Array.new
236
+ if !@customer_email_address.nil? && @customer_email_address.to_s.length > 254
237
+ invalid_properties.push('invalid value for "customer_email_address", the character length must be smaller than or equal to 254.')
238
+ end
239
+
240
+ if !@invoice_merchant_reference.nil? && @invoice_merchant_reference.to_s.length > 100
241
+ invalid_properties.push('invalid value for "invoice_merchant_reference", the character length must be smaller than or equal to 100.')
242
+ end
243
+
244
+ if !@merchant_reference.nil? && @merchant_reference.to_s.length > 100
245
+ invalid_properties.push('invalid value for "merchant_reference", the character length must be smaller than or equal to 100.')
246
+ end
247
+
248
+ if !@shipping_method.nil? && @shipping_method.to_s.length > 200
249
+ invalid_properties.push('invalid value for "shipping_method", the character length must be smaller than or equal to 200.')
250
+ end
251
+
449
252
  if @id.nil?
450
- invalid_properties.push("invalid value for 'id', id cannot be nil.")
253
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
451
254
  end
452
255
 
453
256
  if @version.nil?
454
- invalid_properties.push("invalid value for 'version', version cannot be nil.")
257
+ invalid_properties.push('invalid value for "version", version cannot be nil.')
455
258
  end
456
259
 
457
- return invalid_properties
260
+ invalid_properties
458
261
  end
459
262
 
460
263
  # Check to see if the all the properties in the model are valid
461
264
  # @return true if the model is valid
462
265
  def valid?
266
+ return false if !@customer_email_address.nil? && @customer_email_address.to_s.length > 254
267
+ return false if !@invoice_merchant_reference.nil? && @invoice_merchant_reference.to_s.length > 100
268
+ return false if !@merchant_reference.nil? && @merchant_reference.to_s.length > 100
269
+ return false if !@shipping_method.nil? && @shipping_method.to_s.length > 200
463
270
  return false if @id.nil?
464
271
  return false if @version.nil?
465
- return true
272
+ true
273
+ end
274
+
275
+ # Custom attribute writer method with validation
276
+ # @param [Object] customer_email_address Value to be assigned
277
+ def customer_email_address=(customer_email_address)
278
+ if !customer_email_address.nil? && customer_email_address.to_s.length > 254
279
+ fail ArgumentError, 'invalid value for "customer_email_address", the character length must be smaller than or equal to 254.'
280
+ end
281
+
282
+ @customer_email_address = customer_email_address
283
+ end
284
+
285
+ # Custom attribute writer method with validation
286
+ # @param [Object] invoice_merchant_reference Value to be assigned
287
+ def invoice_merchant_reference=(invoice_merchant_reference)
288
+ if !invoice_merchant_reference.nil? && invoice_merchant_reference.to_s.length > 100
289
+ fail ArgumentError, 'invalid value for "invoice_merchant_reference", the character length must be smaller than or equal to 100.'
290
+ end
291
+
292
+ @invoice_merchant_reference = invoice_merchant_reference
293
+ end
294
+
295
+ # Custom attribute writer method with validation
296
+ # @param [Object] merchant_reference Value to be assigned
297
+ def merchant_reference=(merchant_reference)
298
+ if !merchant_reference.nil? && merchant_reference.to_s.length > 100
299
+ fail ArgumentError, 'invalid value for "merchant_reference", the character length must be smaller than or equal to 100.'
300
+ end
301
+
302
+ @merchant_reference = merchant_reference
303
+ end
304
+
305
+ # Custom attribute writer method with validation
306
+ # @param [Object] shipping_method Value to be assigned
307
+ def shipping_method=(shipping_method)
308
+ if !shipping_method.nil? && shipping_method.to_s.length > 200
309
+ fail ArgumentError, 'invalid value for "shipping_method", the character length must be smaller than or equal to 200.'
310
+ end
311
+
312
+ @shipping_method = shipping_method
466
313
  end
467
314
 
468
315
  # Checks equality by comparing each attribute.
@@ -470,48 +317,25 @@ module Wallee
470
317
  def ==(o)
471
318
  return true if self.equal?(o)
472
319
  self.class == o.class &&
473
- accept_header == o.accept_header &&
474
320
  allowed_payment_method_brands == o.allowed_payment_method_brands &&
475
321
  allowed_payment_method_configurations == o.allowed_payment_method_configurations &&
476
- authorization_amount == o.authorization_amount &&
477
- authorized_on == o.authorized_on &&
478
322
  billing_address == o.billing_address &&
479
- charge_retry_enabled == o.charge_retry_enabled &&
480
- completed_on == o.completed_on &&
481
- completion_timeout_on == o.completion_timeout_on &&
482
- confirmed_by == o.confirmed_by &&
483
- confirmed_on == o.confirmed_on &&
484
- created_by == o.created_by &&
485
- created_on == o.created_on &&
486
323
  currency == o.currency &&
487
324
  customer_email_address == o.customer_email_address &&
488
325
  customer_id == o.customer_id &&
489
- customers_presence == o.customers_presence &&
490
- end_of_life == o.end_of_life &&
491
- failed_on == o.failed_on &&
492
326
  failed_url == o.failed_url &&
493
- group == o.group &&
494
- id == o.id &&
495
- internet_protocol_address == o.internet_protocol_address &&
496
- internet_protocol_address_country == o.internet_protocol_address_country &&
497
327
  invoice_merchant_reference == o.invoice_merchant_reference &&
498
328
  language == o.language &&
499
329
  line_items == o.line_items &&
500
- linked_space_id == o.linked_space_id &&
501
330
  merchant_reference == o.merchant_reference &&
502
331
  meta_data == o.meta_data &&
503
- payment_connector_configuration == o.payment_connector_configuration &&
504
- planned_purge_date == o.planned_purge_date &&
505
- processing_on == o.processing_on &&
506
- refunded_amount == o.refunded_amount &&
507
332
  shipping_address == o.shipping_address &&
508
333
  shipping_method == o.shipping_method &&
509
- space_view_id == o.space_view_id &&
510
- state == o.state &&
511
334
  success_url == o.success_url &&
335
+ time_zone == o.time_zone &&
512
336
  token == o.token &&
513
- user_agent_header == o.user_agent_header &&
514
- user_interface_type == o.user_interface_type &&
337
+ tokenization_mode == o.tokenization_mode &&
338
+ id == o.id &&
515
339
  version == o.version
516
340
  end
517
341
 
@@ -524,7 +348,7 @@ module Wallee
524
348
  # Calculates hash code according to all attributes.
525
349
  # @return [Fixnum] Hash code
526
350
  def hash
527
- [accept_header, allowed_payment_method_brands, allowed_payment_method_configurations, authorization_amount, authorized_on, billing_address, charge_retry_enabled, completed_on, completion_timeout_on, confirmed_by, confirmed_on, created_by, created_on, currency, customer_email_address, customer_id, customers_presence, end_of_life, failed_on, failed_url, group, id, internet_protocol_address, internet_protocol_address_country, invoice_merchant_reference, language, line_items, linked_space_id, merchant_reference, meta_data, payment_connector_configuration, planned_purge_date, processing_on, refunded_amount, shipping_address, shipping_method, space_view_id, state, success_url, token, user_agent_header, user_interface_type, version].hash
351
+ [allowed_payment_method_brands, allowed_payment_method_configurations, billing_address, currency, customer_email_address, customer_id, failed_url, invoice_merchant_reference, language, line_items, merchant_reference, meta_data, shipping_address, shipping_method, success_url, time_zone, token, tokenization_mode, id, version].hash
528
352
  end
529
353
 
530
354
  # Builds the object from hash
@@ -534,7 +358,7 @@ module Wallee
534
358
  return nil unless attributes.is_a?(Hash)
535
359
  self.class.swagger_types.each_pair do |key, type|
536
360
  if type =~ /\AArray<(.*)>/i
537
- # check to ensure the input is an array given that the the attribute
361
+ # check to ensure the input is an array given that the attribute
538
362
  # is documented as an array but the input is not
539
363
  if attributes[self.class.attribute_map[key]].is_a?(Array)
540
364
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
@@ -632,5 +456,4 @@ module Wallee
632
456
  end
633
457
 
634
458
  end
635
-
636
459
  end