wallee-ruby-sdk 1.0.1 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) 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 +260 -99
  6. data/lib/wallee-ruby-sdk/{services → api}/account_service_api.rb +37 -41
  7. data/lib/wallee-ruby-sdk/{services → 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-ruby-sdk/{services → api}/charge_attempt_service_api.rb +22 -26
  10. data/lib/wallee-ruby-sdk/api/charge_flow_level_payment_link_service_api.rb +213 -0
  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-ruby-sdk/{services → 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-ruby-sdk/{services → api}/currency_service_api.rb +7 -11
  17. data/lib/wallee-ruby-sdk/api/customer_address_service_api.rb +460 -0
  18. data/lib/wallee-ruby-sdk/api/customer_comment_service_api.rb +522 -0
  19. data/lib/wallee-ruby-sdk/api/customer_service_api.rb +398 -0
  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-ruby-sdk/api/debt_collector_service_api.rb +139 -0
  23. data/lib/wallee-ruby-sdk/{services → 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-ruby-sdk/{services → 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-ruby-sdk/{services → 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-ruby-sdk/{services → 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-ruby-sdk/{services → 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-ruby-sdk/{services/token_service_api.rb → api/payment_link_service_api.rb} +68 -72
  41. data/lib/wallee-ruby-sdk/api/payment_method_brand_service_api.rb +139 -0
  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/email_template_service_api.rb → api/payment_terminal_service_api.rb} +36 -40
  47. data/lib/wallee-ruby-sdk/api/payment_terminal_till_service_api.rb +99 -0
  48. data/lib/wallee-ruby-sdk/{services → api}/permission_service_api.rb +15 -19
  49. data/lib/wallee-ruby-sdk/api/refund_comment_service_api.rb +464 -0
  50. data/lib/wallee-ruby-sdk/{services → api}/refund_service_api.rb +125 -61
  51. data/lib/wallee-ruby-sdk/api/shopify_recurring_order_service_api.rb +274 -0
  52. data/lib/wallee-ruby-sdk/api/shopify_subscriber_service_api.rb +213 -0
  53. data/lib/wallee-ruby-sdk/api/shopify_subscription_product_service_api.rb +337 -0
  54. data/lib/wallee-ruby-sdk/api/shopify_subscription_service_api.rb +466 -0
  55. data/lib/wallee-ruby-sdk/api/shopify_subscription_suspension_service_api.rb +337 -0
  56. data/lib/wallee-ruby-sdk/api/shopify_subscription_version_service_api.rb +213 -0
  57. data/lib/wallee-ruby-sdk/api/shopify_transaction_service_api.rb +213 -0
  58. data/lib/wallee-ruby-sdk/{services → api}/space_service_api.rb +37 -41
  59. data/lib/wallee-ruby-sdk/{services → api}/static_value_service_api.rb +15 -19
  60. data/lib/wallee-ruby-sdk/{services → api}/subscriber_service_api.rb +46 -50
  61. data/lib/wallee-ruby-sdk/api/subscription_affiliate_service_api.rb +398 -0
  62. data/lib/wallee-ruby-sdk/{services → api}/subscription_charge_service_api.rb +38 -42
  63. data/lib/wallee-ruby-sdk/{services → api}/subscription_ledger_entry_service_api.rb +29 -33
  64. data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_service_api.rb +43 -47
  65. data/lib/wallee-ruby-sdk/{services → api}/subscription_metric_usage_service_api.rb +29 -33
  66. data/lib/wallee-ruby-sdk/{services → api}/subscription_period_bill_service_api.rb +28 -32
  67. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_group_service_api.rb +43 -47
  68. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_component_service_api.rb +43 -47
  69. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_fee_tier_service_api.rb +43 -47
  70. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_metered_fee_service_api.rb +43 -47
  71. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_period_fee_service_api.rb +43 -47
  72. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_retirement_service_api.rb +29 -33
  73. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_service_api.rb +36 -40
  74. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_setup_fee_service_api.rb +43 -47
  75. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_retirement_service_api.rb +29 -33
  76. data/lib/wallee-ruby-sdk/{services → api}/subscription_product_version_service_api.rb +43 -47
  77. data/lib/wallee-ruby-sdk/{services → api}/subscription_service_api.rb +245 -115
  78. data/lib/wallee-ruby-sdk/{services → api}/subscription_suspension_service_api.rb +36 -40
  79. data/lib/wallee-ruby-sdk/{services → api}/subscription_version_service_api.rb +22 -26
  80. data/lib/wallee-ruby-sdk/api/token_service_api.rb +587 -0
  81. data/lib/wallee-ruby-sdk/{services → api}/token_version_service_api.rb +31 -35
  82. data/lib/wallee-ruby-sdk/api/transaction_comment_service_api.rb +464 -0
  83. data/lib/wallee-ruby-sdk/{services → api}/transaction_completion_service_api.rb +164 -44
  84. data/lib/wallee-ruby-sdk/api/transaction_iframe_service_api.rb +91 -0
  85. data/lib/wallee-ruby-sdk/api/transaction_invoice_comment_service_api.rb +464 -0
  86. data/lib/wallee-ruby-sdk/{services → api}/transaction_invoice_service_api.rb +186 -59
  87. data/lib/wallee-ruby-sdk/api/transaction_lightbox_service_api.rb +91 -0
  88. data/lib/wallee-ruby-sdk/api/transaction_mobile_sdk_service_api.rb +86 -0
  89. data/lib/wallee-ruby-sdk/api/transaction_payment_page_service_api.rb +91 -0
  90. data/lib/wallee-ruby-sdk/{services → api}/transaction_service_api.rb +273 -326
  91. data/lib/wallee-ruby-sdk/api/transaction_terminal_service_api.rb +172 -0
  92. data/lib/wallee-ruby-sdk/{services → api}/transaction_void_service_api.rb +40 -44
  93. data/lib/wallee-ruby-sdk/{services → api}/user_account_role_service_api.rb +27 -31
  94. data/lib/wallee-ruby-sdk/{services → api}/user_space_role_service_api.rb +30 -34
  95. data/lib/wallee-ruby-sdk/{services → api}/webhook_listener_service_api.rb +43 -47
  96. data/lib/wallee-ruby-sdk/{services → api}/webhook_url_service_api.rb +43 -47
  97. data/lib/wallee-ruby-sdk/api_client.rb +7 -7
  98. data/lib/wallee-ruby-sdk/api_error.rb +0 -4
  99. data/lib/wallee-ruby-sdk/configuration.rb +2 -6
  100. data/lib/wallee-ruby-sdk/models/abstract_account_update.rb +40 -14
  101. data/lib/wallee-ruby-sdk/models/abstract_application_user_update.rb +31 -14
  102. data/lib/wallee-ruby-sdk/models/abstract_customer_active.rb +312 -0
  103. data/lib/wallee-ruby-sdk/models/abstract_customer_address_active.rb +200 -0
  104. data/lib/wallee-ruby-sdk/models/abstract_customer_comment_active.rb +205 -0
  105. data/lib/wallee-ruby-sdk/models/abstract_debt_collection_case_update.rb +262 -0
  106. data/lib/wallee-ruby-sdk/models/abstract_human_user_update.rb +87 -15
  107. data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +309 -0
  108. data/lib/wallee-ruby-sdk/models/abstract_refund_comment_active.rb +205 -0
  109. data/lib/wallee-ruby-sdk/models/abstract_shopify_subscription_product_update.rb +320 -0
  110. data/lib/wallee-ruby-sdk/models/abstract_space_update.rb +51 -15
  111. data/lib/wallee-ruby-sdk/models/abstract_subscriber_update.rb +51 -14
  112. data/lib/wallee-ruby-sdk/models/abstract_subscription_affiliate_update.rb +246 -0
  113. data/lib/wallee-ruby-sdk/models/abstract_subscription_metric_update.rb +5 -13
  114. data/lib/wallee-ruby-sdk/models/abstract_subscription_product_active.rb +20 -13
  115. data/lib/wallee-ruby-sdk/models/abstract_token_update.rb +35 -13
  116. data/lib/wallee-ruby-sdk/models/abstract_transaction_comment_active.rb +205 -0
  117. data/lib/wallee-ruby-sdk/models/abstract_transaction_invoice_comment_active.rb +205 -0
  118. data/lib/wallee-ruby-sdk/models/abstract_transaction_pending.rb +136 -16
  119. data/lib/wallee-ruby-sdk/models/abstract_webhook_listener_update.rb +43 -14
  120. data/lib/wallee-ruby-sdk/models/abstract_webhook_url_update.rb +44 -13
  121. data/lib/wallee-ruby-sdk/models/account.rb +90 -13
  122. data/lib/wallee-ruby-sdk/models/account_create.rb +56 -14
  123. data/lib/wallee-ruby-sdk/models/account_state.rb +12 -20
  124. data/lib/wallee-ruby-sdk/models/account_type.rb +9 -17
  125. data/lib/wallee-ruby-sdk/models/account_update.rb +42 -15
  126. data/lib/wallee-ruby-sdk/models/address.rb +240 -22
  127. data/lib/wallee-ruby-sdk/models/address_create.rb +240 -22
  128. data/lib/wallee-ruby-sdk/models/application_user.rb +32 -14
  129. data/lib/wallee-ruby-sdk/models/application_user_create.rb +32 -14
  130. data/lib/wallee-ruby-sdk/models/application_user_create_with_mac_key.rb +31 -13
  131. data/lib/wallee-ruby-sdk/models/application_user_update.rb +33 -15
  132. data/lib/wallee-ruby-sdk/models/charge.rb +16 -13
  133. data/lib/wallee-ruby-sdk/models/charge_attempt.rb +61 -13
  134. data/lib/wallee-ruby-sdk/models/charge_attempt_environment.rb +8 -16
  135. data/lib/wallee-ruby-sdk/models/charge_attempt_state.rb +9 -17
  136. data/lib/wallee-ruby-sdk/models/charge_flow.rb +5 -12
  137. data/lib/wallee-ruby-sdk/models/charge_flow_level.rb +5 -12
  138. data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration.rb +20 -12
  139. data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration_type.rb +20 -15
  140. data/lib/wallee-ruby-sdk/models/charge_flow_level_payment_link.rb +231 -0
  141. data/lib/wallee-ruby-sdk/models/charge_flow_level_state.rb +9 -17
  142. data/lib/wallee-ruby-sdk/models/charge_state.rb +9 -17
  143. data/lib/wallee-ruby-sdk/models/charge_type.rb +10 -17
  144. data/lib/wallee-ruby-sdk/models/client_error.rb +5 -12
  145. data/lib/wallee-ruby-sdk/models/client_error_type.rb +9 -17
  146. data/lib/wallee-ruby-sdk/models/completion_line_item.rb +226 -0
  147. data/lib/wallee-ruby-sdk/models/completion_line_item_create.rb +245 -0
  148. data/lib/wallee-ruby-sdk/models/condition.rb +20 -12
  149. data/lib/wallee-ruby-sdk/models/condition_type.rb +7 -14
  150. data/lib/wallee-ruby-sdk/models/connector_invocation.rb +5 -12
  151. data/lib/wallee-ruby-sdk/models/connector_invocation_stage.rb +10 -18
  152. data/lib/wallee-ruby-sdk/models/creation_entity_state.rb +11 -19
  153. data/lib/wallee-ruby-sdk/models/criteria_operator.rb +18 -23
  154. data/lib/wallee-ruby-sdk/models/customer.rb +353 -0
  155. data/lib/wallee-ruby-sdk/models/customer_active.rb +343 -0
  156. data/lib/wallee-ruby-sdk/models/customer_address.rb +261 -0
  157. data/lib/wallee-ruby-sdk/models/customer_address_active.rb +231 -0
  158. data/lib/wallee-ruby-sdk/models/customer_address_create.rb +216 -0
  159. data/lib/wallee-ruby-sdk/models/customer_address_type.rb +36 -0
  160. data/lib/wallee-ruby-sdk/models/customer_comment.rb +296 -0
  161. data/lib/wallee-ruby-sdk/models/customer_comment_active.rb +236 -0
  162. data/lib/wallee-ruby-sdk/models/customer_comment_create.rb +221 -0
  163. data/lib/wallee-ruby-sdk/models/customer_create.rb +313 -0
  164. data/lib/wallee-ruby-sdk/models/customer_postal_address.rb +606 -0
  165. data/lib/wallee-ruby-sdk/models/customer_postal_address_create.rb +606 -0
  166. data/lib/wallee-ruby-sdk/models/customers_presence.rb +9 -17
  167. data/lib/wallee-ruby-sdk/models/data_collection_type.rb +8 -16
  168. data/lib/wallee-ruby-sdk/models/database_translated_string.rb +5 -12
  169. data/lib/wallee-ruby-sdk/models/database_translated_string_create.rb +5 -12
  170. data/lib/wallee-ruby-sdk/models/database_translated_string_item.rb +20 -12
  171. data/lib/wallee-ruby-sdk/models/database_translated_string_item_create.rb +21 -13
  172. data/lib/wallee-ruby-sdk/models/debt_collection_case.rb +495 -0
  173. data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +303 -0
  174. data/lib/wallee-ruby-sdk/models/debt_collection_case_document.rb +338 -0
  175. data/lib/wallee-ruby-sdk/models/debt_collection_case_source.rb +225 -0
  176. data/lib/wallee-ruby-sdk/models/debt_collection_case_state.rb +40 -0
  177. data/lib/wallee-ruby-sdk/models/debt_collection_case_update.rb +293 -0
  178. data/lib/wallee-ruby-sdk/models/debt_collection_environment.rb +35 -0
  179. data/lib/wallee-ruby-sdk/models/debt_collection_receipt.rb +305 -0
  180. data/lib/wallee-ruby-sdk/models/debt_collection_receipt_source.rb +215 -0
  181. data/lib/wallee-ruby-sdk/models/debt_collector.rb +215 -0
  182. data/lib/wallee-ruby-sdk/models/{email_sender.rb → debt_collector_condition.rb} +34 -46
  183. data/lib/wallee-ruby-sdk/models/debt_collector_condition_type.rb +215 -0
  184. data/lib/wallee-ruby-sdk/models/debt_collector_configuration.rb +310 -0
  185. data/lib/wallee-ruby-sdk/models/delivery_indication.rb +16 -13
  186. data/lib/wallee-ruby-sdk/models/delivery_indication_decision_reason.rb +7 -14
  187. data/lib/wallee-ruby-sdk/models/delivery_indication_state.rb +10 -18
  188. data/lib/wallee-ruby-sdk/models/document_template.rb +41 -13
  189. data/lib/wallee-ruby-sdk/models/document_template_type.rb +18 -25
  190. data/lib/wallee-ruby-sdk/models/document_template_type_group.rb +203 -0
  191. data/lib/wallee-ruby-sdk/models/entity_export_request.rb +208 -0
  192. data/lib/wallee-ruby-sdk/models/entity_query.rb +6 -13
  193. data/lib/wallee-ruby-sdk/models/entity_query_filter.rb +6 -13
  194. data/lib/wallee-ruby-sdk/models/entity_query_filter_type.rb +9 -17
  195. data/lib/wallee-ruby-sdk/models/entity_query_order_by.rb +15 -12
  196. data/lib/wallee-ruby-sdk/models/entity_query_order_by_type.rb +8 -16
  197. data/lib/wallee-ruby-sdk/models/environment.rb +35 -0
  198. data/lib/wallee-ruby-sdk/models/failure_category.rb +11 -19
  199. data/lib/wallee-ruby-sdk/models/failure_reason.rb +7 -14
  200. data/lib/wallee-ruby-sdk/models/feature.rb +18 -15
  201. data/lib/wallee-ruby-sdk/models/feature_category.rb +225 -0
  202. data/lib/wallee-ruby-sdk/models/gender.rb +8 -16
  203. data/lib/wallee-ruby-sdk/models/human_user.rb +107 -14
  204. data/lib/wallee-ruby-sdk/models/human_user_create.rb +86 -13
  205. data/lib/wallee-ruby-sdk/models/human_user_update.rb +88 -15
  206. data/lib/wallee-ruby-sdk/models/installment_calculated_plan.rb +5 -12
  207. data/lib/wallee-ruby-sdk/models/installment_calculated_slice.rb +5 -12
  208. data/lib/wallee-ruby-sdk/models/installment_payment.rb +5 -12
  209. data/lib/wallee-ruby-sdk/models/installment_payment_slice.rb +5 -12
  210. data/lib/wallee-ruby-sdk/models/installment_payment_slice_state.rb +13 -21
  211. data/lib/wallee-ruby-sdk/models/installment_payment_state.rb +14 -22
  212. data/lib/wallee-ruby-sdk/models/installment_plan_configuration.rb +20 -12
  213. data/lib/wallee-ruby-sdk/models/installment_plan_slice_configuration.rb +5 -12
  214. data/lib/wallee-ruby-sdk/models/label.rb +5 -12
  215. data/lib/wallee-ruby-sdk/models/label_descriptor.rb +7 -14
  216. data/lib/wallee-ruby-sdk/models/label_descriptor_category.rb +8 -16
  217. data/lib/wallee-ruby-sdk/models/label_descriptor_group.rb +7 -14
  218. data/lib/wallee-ruby-sdk/models/label_descriptor_type.rb +7 -14
  219. data/lib/wallee-ruby-sdk/models/legal_organization_form.rb +5 -12
  220. data/lib/wallee-ruby-sdk/models/line_item.rb +121 -14
  221. data/lib/wallee-ruby-sdk/models/line_item_attribute.rb +35 -12
  222. data/lib/wallee-ruby-sdk/models/line_item_attribute_create.rb +45 -14
  223. data/lib/wallee-ruby-sdk/models/line_item_create.rb +84 -19
  224. data/lib/wallee-ruby-sdk/models/line_item_reduction.rb +20 -12
  225. data/lib/wallee-ruby-sdk/models/line_item_reduction_create.rb +27 -15
  226. data/lib/wallee-ruby-sdk/models/line_item_type.rb +10 -18
  227. data/lib/wallee-ruby-sdk/models/localized_string.rb +5 -12
  228. data/lib/wallee-ruby-sdk/models/manual_task.rb +5 -12
  229. data/lib/wallee-ruby-sdk/models/manual_task_action.rb +6 -13
  230. data/lib/wallee-ruby-sdk/models/manual_task_action_style.rb +9 -17
  231. data/lib/wallee-ruby-sdk/models/manual_task_state.rb +9 -17
  232. data/lib/wallee-ruby-sdk/models/manual_task_type.rb +7 -14
  233. data/lib/wallee-ruby-sdk/models/metric_usage.rb +225 -0
  234. data/lib/wallee-ruby-sdk/models/one_click_payment_mode.rb +9 -17
  235. data/lib/wallee-ruby-sdk/models/payment_connector.rb +30 -15
  236. data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +33 -13
  237. data/lib/wallee-ruby-sdk/models/payment_connector_feature.rb +5 -12
  238. data/lib/wallee-ruby-sdk/models/payment_contract.rb +355 -0
  239. data/lib/wallee-ruby-sdk/models/payment_contract_state.rb +38 -0
  240. data/lib/wallee-ruby-sdk/models/{email_sender_type.rb → payment_contract_type.rb} +9 -16
  241. data/lib/wallee-ruby-sdk/models/payment_information_hash.rb +211 -0
  242. data/lib/wallee-ruby-sdk/models/payment_information_hash_type.rb +203 -0
  243. data/lib/wallee-ruby-sdk/models/payment_link.rb +414 -0
  244. data/lib/wallee-ruby-sdk/models/payment_link_active.rb +350 -0
  245. data/lib/wallee-ruby-sdk/models/payment_link_create.rb +373 -0
  246. data/lib/wallee-ruby-sdk/models/payment_link_protection_mode.rb +35 -0
  247. data/lib/wallee-ruby-sdk/models/payment_link_update.rb +340 -0
  248. data/lib/wallee-ruby-sdk/models/payment_method.rb +20 -15
  249. data/lib/wallee-ruby-sdk/models/payment_method_brand.rb +7 -14
  250. data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +22 -14
  251. data/lib/wallee-ruby-sdk/models/payment_primary_risk_taker.rb +9 -17
  252. data/lib/wallee-ruby-sdk/models/payment_processor.rb +10 -17
  253. data/lib/wallee-ruby-sdk/models/payment_processor_configuration.rb +31 -13
  254. data/lib/wallee-ruby-sdk/models/{email_template.rb → payment_terminal.rb} +51 -79
  255. data/lib/wallee-ruby-sdk/models/payment_terminal_address.rb +456 -0
  256. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration.rb +266 -0
  257. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_state.rb +37 -0
  258. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version.rb +313 -0
  259. data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version_state.rb +38 -0
  260. data/lib/wallee-ruby-sdk/models/{space_address_setter.rb → payment_terminal_contact_address.rb} +105 -27
  261. data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +286 -0
  262. data/lib/wallee-ruby-sdk/models/payment_terminal_location_state.rb +37 -0
  263. data/lib/wallee-ruby-sdk/models/payment_terminal_location_version.rb +281 -0
  264. data/lib/wallee-ruby-sdk/models/payment_terminal_location_version_state.rb +38 -0
  265. data/lib/wallee-ruby-sdk/models/payment_terminal_state.rb +38 -0
  266. data/lib/wallee-ruby-sdk/models/{attachment_resource.rb → payment_terminal_type.rb} +33 -28
  267. data/lib/wallee-ruby-sdk/models/permission.rb +20 -17
  268. data/lib/wallee-ruby-sdk/models/persistable_currency_amount.rb +5 -12
  269. data/lib/wallee-ruby-sdk/models/persistable_currency_amount_update.rb +5 -12
  270. data/lib/wallee-ruby-sdk/models/product_fee_type.rb +9 -17
  271. data/lib/wallee-ruby-sdk/models/product_metered_fee.rb +5 -12
  272. data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +7 -14
  273. data/lib/wallee-ruby-sdk/models/product_metered_tier_fee.rb +5 -12
  274. data/lib/wallee-ruby-sdk/models/product_metered_tier_fee_update.rb +7 -14
  275. data/lib/wallee-ruby-sdk/models/product_metered_tier_pricing.rb +8 -16
  276. data/lib/wallee-ruby-sdk/models/product_period_fee.rb +16 -13
  277. data/lib/wallee-ruby-sdk/models/product_period_fee_update.rb +18 -15
  278. data/lib/wallee-ruby-sdk/models/product_setup_fee.rb +5 -12
  279. data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +7 -14
  280. data/lib/wallee-ruby-sdk/models/refund.rb +130 -13
  281. data/lib/wallee-ruby-sdk/models/refund_comment.rb +296 -0
  282. data/lib/wallee-ruby-sdk/models/refund_comment_active.rb +236 -0
  283. data/lib/wallee-ruby-sdk/models/refund_comment_create.rb +221 -0
  284. data/lib/wallee-ruby-sdk/models/refund_create.rb +67 -21
  285. data/lib/wallee-ruby-sdk/models/refund_state.rb +12 -19
  286. data/lib/wallee-ruby-sdk/models/refund_type.rb +10 -18
  287. data/lib/wallee-ruby-sdk/models/rendered_document.rb +5 -12
  288. data/lib/wallee-ruby-sdk/models/rendered_terminal_receipt.rb +203 -0
  289. data/lib/wallee-ruby-sdk/models/resource_path.rb +29 -12
  290. data/lib/wallee-ruby-sdk/models/resource_state.rb +9 -17
  291. data/lib/wallee-ruby-sdk/models/rest_address_format.rb +227 -0
  292. data/lib/wallee-ruby-sdk/models/rest_address_format_field.rb +43 -0
  293. data/lib/wallee-ruby-sdk/models/rest_country.rb +16 -13
  294. data/lib/wallee-ruby-sdk/models/rest_country_state.rb +5 -12
  295. data/lib/wallee-ruby-sdk/models/rest_currency.rb +5 -12
  296. data/lib/wallee-ruby-sdk/models/rest_language.rb +5 -12
  297. data/lib/wallee-ruby-sdk/models/role.rb +16 -13
  298. data/lib/wallee-ruby-sdk/models/sales_channel.rb +245 -0
  299. data/lib/wallee-ruby-sdk/models/scope.rb +61 -13
  300. data/lib/wallee-ruby-sdk/models/server_error.rb +5 -12
  301. data/lib/wallee-ruby-sdk/models/shopify_additional_line_item_data.rb +35 -0
  302. data/lib/wallee-ruby-sdk/models/shopify_integration.rb +470 -0
  303. data/lib/wallee-ruby-sdk/models/shopify_integration_payment_app_version.rb +34 -0
  304. data/lib/wallee-ruby-sdk/models/shopify_integration_subscription_app_version.rb +36 -0
  305. data/lib/wallee-ruby-sdk/models/shopify_recurring_order.rb +351 -0
  306. data/lib/wallee-ruby-sdk/models/shopify_recurring_order_state.rb +39 -0
  307. data/lib/wallee-ruby-sdk/models/shopify_recurring_order_update_request.rb +201 -0
  308. data/lib/wallee-ruby-sdk/models/shopify_subscriber.rb +281 -0
  309. data/lib/wallee-ruby-sdk/models/shopify_subscriber_creation.rb +216 -0
  310. data/lib/wallee-ruby-sdk/models/shopify_subscriber_state.rb +36 -0
  311. data/lib/wallee-ruby-sdk/models/shopify_subscription.rb +365 -0
  312. data/lib/wallee-ruby-sdk/models/shopify_subscription_address.rb +546 -0
  313. data/lib/wallee-ruby-sdk/models/shopify_subscription_address_create.rb +546 -0
  314. data/lib/wallee-ruby-sdk/models/shopify_subscription_billing_interval_unit.rb +39 -0
  315. data/lib/wallee-ruby-sdk/models/shopify_subscription_creation_request.rb +353 -0
  316. data/lib/wallee-ruby-sdk/models/shopify_subscription_model_billing_configuration.rb +261 -0
  317. data/lib/wallee-ruby-sdk/models/shopify_subscription_model_item.rb +233 -0
  318. data/lib/wallee-ruby-sdk/models/{entity_reference.rb → shopify_subscription_model_tax_line.rb} +27 -14
  319. data/lib/wallee-ruby-sdk/models/shopify_subscription_product.rb +471 -0
  320. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_create.rb +366 -0
  321. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_pricing_option.rb +38 -0
  322. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_state.rb +39 -0
  323. data/lib/wallee-ruby-sdk/models/shopify_subscription_product_update.rb +351 -0
  324. data/lib/wallee-ruby-sdk/models/shopify_subscription_state.rb +39 -0
  325. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension.rb +311 -0
  326. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_create.rb +226 -0
  327. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_initiator.rb +35 -0
  328. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_state.rb +35 -0
  329. data/lib/wallee-ruby-sdk/models/shopify_subscription_suspension_type.rb +35 -0
  330. data/lib/wallee-ruby-sdk/models/shopify_subscription_update_addresses_request.rb +211 -0
  331. data/lib/wallee-ruby-sdk/models/shopify_subscription_update_request.rb +233 -0
  332. data/lib/wallee-ruby-sdk/models/shopify_subscription_version.rb +453 -0
  333. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_item.rb +233 -0
  334. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_item_price_strategy.rb +35 -0
  335. data/lib/wallee-ruby-sdk/models/shopify_subscription_version_state.rb +36 -0
  336. data/lib/wallee-ruby-sdk/models/shopify_subscription_weekday.rb +40 -0
  337. data/lib/wallee-ruby-sdk/models/shopify_tax_line.rb +231 -0
  338. data/lib/wallee-ruby-sdk/models/shopify_transaction.rb +301 -0
  339. data/lib/wallee-ruby-sdk/models/shopify_transaction_state.rb +38 -0
  340. data/lib/wallee-ruby-sdk/models/space.rb +91 -14
  341. data/lib/wallee-ruby-sdk/models/space_address.rb +120 -22
  342. data/lib/wallee-ruby-sdk/models/space_address_create.rb +120 -22
  343. data/lib/wallee-ruby-sdk/models/space_create.rb +52 -15
  344. data/lib/wallee-ruby-sdk/models/space_reference.rb +5 -12
  345. data/lib/wallee-ruby-sdk/models/space_reference_state.rb +11 -19
  346. data/lib/wallee-ruby-sdk/models/space_update.rb +53 -16
  347. data/lib/wallee-ruby-sdk/models/space_view.rb +29 -12
  348. data/lib/wallee-ruby-sdk/models/static_value.rb +7 -14
  349. data/lib/wallee-ruby-sdk/models/subscriber.rb +51 -13
  350. data/lib/wallee-ruby-sdk/models/subscriber_active.rb +53 -15
  351. data/lib/wallee-ruby-sdk/models/subscriber_create.rb +52 -14
  352. data/lib/wallee-ruby-sdk/models/subscriber_update.rb +53 -15
  353. data/lib/wallee-ruby-sdk/models/subscription.rb +86 -13
  354. data/lib/wallee-ruby-sdk/models/subscription_affiliate.rb +355 -0
  355. data/lib/wallee-ruby-sdk/models/subscription_affiliate_create.rb +333 -0
  356. data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleted.rb +355 -0
  357. data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleting.rb +355 -0
  358. data/lib/wallee-ruby-sdk/models/subscription_affiliate_inactive.rb +277 -0
  359. data/lib/wallee-ruby-sdk/models/subscription_affiliate_update.rb +277 -0
  360. data/lib/wallee-ruby-sdk/models/subscription_change_request.rb +27 -17
  361. data/lib/wallee-ruby-sdk/models/subscription_charge.rb +79 -13
  362. data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +71 -15
  363. data/lib/wallee-ruby-sdk/models/subscription_charge_processing_type.rb +8 -16
  364. data/lib/wallee-ruby-sdk/models/subscription_charge_state.rb +11 -19
  365. data/lib/wallee-ruby-sdk/models/subscription_charge_type.rb +8 -16
  366. data/lib/wallee-ruby-sdk/models/subscription_component_configuration.rb +201 -0
  367. data/lib/wallee-ruby-sdk/models/subscription_component_reference_configuration.rb +201 -0
  368. data/lib/wallee-ruby-sdk/models/subscription_create_request.rb +22 -17
  369. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +29 -12
  370. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +38 -17
  371. data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_state.rb +9 -17
  372. data/lib/wallee-ruby-sdk/models/subscription_metric.rb +5 -12
  373. data/lib/wallee-ruby-sdk/models/subscription_metric_active.rb +7 -14
  374. data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +7 -14
  375. data/lib/wallee-ruby-sdk/models/subscription_metric_type.rb +7 -14
  376. data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +7 -14
  377. data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report.rb +20 -12
  378. data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report_create.rb +24 -16
  379. data/lib/wallee-ruby-sdk/models/subscription_pending.rb +48 -15
  380. data/lib/wallee-ruby-sdk/models/subscription_period_bill.rb +5 -12
  381. data/lib/wallee-ruby-sdk/models/subscription_period_bill_state.rb +8 -16
  382. data/lib/wallee-ruby-sdk/models/subscription_product.rb +35 -12
  383. data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +22 -14
  384. data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +36 -13
  385. data/lib/wallee-ruby-sdk/models/subscription_product_component_group.rb +5 -12
  386. data/lib/wallee-ruby-sdk/models/subscription_product_component_group_update.rb +7 -14
  387. data/lib/wallee-ruby-sdk/models/subscription_product_component_reference.rb +20 -12
  388. data/lib/wallee-ruby-sdk/models/subscription_product_component_reference_state.rb +10 -18
  389. data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +38 -15
  390. data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +40 -13
  391. data/lib/wallee-ruby-sdk/models/subscription_product_retirement.rb +5 -12
  392. data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +6 -13
  393. data/lib/wallee-ruby-sdk/models/subscription_product_state.rb +11 -19
  394. data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +31 -13
  395. data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +19 -16
  396. data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement.rb +5 -12
  397. data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +6 -13
  398. data/lib/wallee-ruby-sdk/models/subscription_product_version_state.rb +11 -19
  399. data/lib/wallee-ruby-sdk/models/subscription_state.rb +14 -21
  400. data/lib/wallee-ruby-sdk/models/subscription_suspension.rb +20 -12
  401. data/lib/wallee-ruby-sdk/models/subscription_suspension_action.rb +8 -16
  402. data/lib/wallee-ruby-sdk/models/subscription_suspension_create.rb +23 -15
  403. data/lib/wallee-ruby-sdk/models/subscription_suspension_reason.rb +9 -17
  404. data/lib/wallee-ruby-sdk/models/subscription_suspension_running.rb +20 -12
  405. data/lib/wallee-ruby-sdk/models/subscription_suspension_state.rb +8 -16
  406. data/lib/wallee-ruby-sdk/models/subscription_update.rb +33 -15
  407. data/lib/wallee-ruby-sdk/models/subscription_update_request.rb +206 -0
  408. data/lib/wallee-ruby-sdk/models/subscription_version.rb +18 -13
  409. data/lib/wallee-ruby-sdk/models/subscription_version_state.rb +12 -20
  410. data/lib/wallee-ruby-sdk/models/tax.rb +29 -12
  411. data/lib/wallee-ruby-sdk/models/tax_calculation.rb +35 -0
  412. data/lib/wallee-ruby-sdk/models/tax_class.rb +20 -12
  413. data/lib/wallee-ruby-sdk/models/tax_create.rb +35 -14
  414. data/lib/wallee-ruby-sdk/models/tenant_database.rb +20 -12
  415. data/lib/wallee-ruby-sdk/models/token.rb +59 -12
  416. data/lib/wallee-ruby-sdk/models/token_create.rb +64 -13
  417. data/lib/wallee-ruby-sdk/models/token_update.rb +37 -14
  418. data/lib/wallee-ruby-sdk/models/token_version.rb +78 -13
  419. data/lib/wallee-ruby-sdk/models/token_version_state.rb +9 -17
  420. data/lib/wallee-ruby-sdk/models/token_version_type.rb +7 -14
  421. data/lib/wallee-ruby-sdk/models/tokenization_mode.rb +37 -0
  422. data/lib/wallee-ruby-sdk/models/transaction.rb +291 -16
  423. data/lib/wallee-ruby-sdk/models/transaction_aware_entity.rb +5 -12
  424. data/lib/wallee-ruby-sdk/models/transaction_comment.rb +296 -0
  425. data/lib/wallee-ruby-sdk/models/transaction_comment_active.rb +236 -0
  426. data/lib/wallee-ruby-sdk/models/transaction_comment_create.rb +221 -0
  427. data/lib/wallee-ruby-sdk/models/transaction_completion.rb +151 -13
  428. data/lib/wallee-ruby-sdk/models/transaction_completion_behavior.rb +36 -0
  429. data/lib/wallee-ruby-sdk/models/transaction_completion_mode.rb +9 -17
  430. data/lib/wallee-ruby-sdk/models/transaction_completion_request.rb +291 -0
  431. data/lib/wallee-ruby-sdk/models/transaction_completion_state.rb +11 -18
  432. data/lib/wallee-ruby-sdk/models/transaction_create.rb +200 -15
  433. data/lib/wallee-ruby-sdk/models/transaction_environment_selection_strategy.rb +36 -0
  434. data/lib/wallee-ruby-sdk/models/transaction_group.rb +20 -12
  435. data/lib/wallee-ruby-sdk/models/transaction_group_state.rb +9 -17
  436. data/lib/wallee-ruby-sdk/models/transaction_invoice.rb +85 -13
  437. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment.rb +296 -0
  438. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_active.rb +236 -0
  439. data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_create.rb +221 -0
  440. data/lib/wallee-ruby-sdk/models/transaction_invoice_replacement.rb +62 -16
  441. data/lib/wallee-ruby-sdk/models/transaction_invoice_state.rb +13 -21
  442. data/lib/wallee-ruby-sdk/models/transaction_line_item_update_request.rb +6 -13
  443. data/lib/wallee-ruby-sdk/models/transaction_line_item_version.rb +5 -12
  444. data/lib/wallee-ruby-sdk/models/transaction_pending.rb +137 -16
  445. data/lib/wallee-ruby-sdk/models/transaction_state.rb +16 -24
  446. data/lib/wallee-ruby-sdk/models/transaction_user_interface_type.rb +11 -17
  447. data/lib/wallee-ruby-sdk/models/transaction_void.rb +5 -12
  448. data/lib/wallee-ruby-sdk/models/transaction_void_mode.rb +8 -16
  449. data/lib/wallee-ruby-sdk/models/transaction_void_state.rb +10 -18
  450. data/lib/wallee-ruby-sdk/models/{email_template_type.rb → two_factor_authentication_type.rb} +18 -71
  451. data/lib/wallee-ruby-sdk/models/unencrypted_card_data.rb +284 -0
  452. data/lib/wallee-ruby-sdk/models/unencrypted_card_data_create.rb +293 -0
  453. data/lib/wallee-ruby-sdk/models/user.rb +5 -12
  454. data/lib/wallee-ruby-sdk/models/user_account_role.rb +5 -12
  455. data/lib/wallee-ruby-sdk/models/user_space_role.rb +5 -12
  456. data/lib/wallee-ruby-sdk/models/user_type.rb +11 -19
  457. data/lib/wallee-ruby-sdk/models/webhook_identity.rb +20 -12
  458. data/lib/wallee-ruby-sdk/models/webhook_listener.rb +20 -12
  459. data/lib/wallee-ruby-sdk/models/webhook_listener_create.rb +44 -41
  460. data/lib/wallee-ruby-sdk/models/webhook_listener_entity.rb +7 -24
  461. data/lib/wallee-ruby-sdk/models/webhook_listener_update.rb +45 -15
  462. data/lib/wallee-ruby-sdk/models/webhook_url.rb +44 -12
  463. data/lib/wallee-ruby-sdk/models/webhook_url_create.rb +44 -12
  464. data/lib/wallee-ruby-sdk/models/webhook_url_update.rb +46 -14
  465. data/lib/wallee-ruby-sdk/version.rb +1 -5
  466. data/test/{transactioncreate.rb → transaction_create_service_test.rb} +2 -2
  467. data/test/transaction_payment_page_service_test.rb +91 -0
  468. data/wallee-ruby-sdk.gemspec +5 -8
  469. metadata +262 -87
  470. data/lib/wallee-ruby-sdk/services/email_sender_service_api.rb +0 -219
  471. data/lib/wallee-ruby-sdk/services/email_sender_type_service_api.rb +0 -143
  472. 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
@@ -27,6 +23,9 @@ module Wallee
27
23
  #
28
24
  attr_accessor :accept_header
29
25
 
26
+ # The accept language contains the header which indicates the language preferences of the buyer.
27
+ attr_accessor :accept_language_header
28
+
30
29
  #
31
30
  attr_accessor :allowed_payment_method_brands
32
31
 
@@ -36,6 +35,12 @@ module Wallee
36
35
  #
37
36
  attr_accessor :authorization_amount
38
37
 
38
+ # The environment in which this transaction was successfully authorized.
39
+ attr_accessor :authorization_environment
40
+
41
+ # The sales channel through which the transaction was placed.
42
+ attr_accessor :authorization_sales_channel
43
+
39
44
  # This is the time on which the transaction will be timed out when it is not at least authorized. The timeout time may change over time.
40
45
  attr_accessor :authorization_timeout_on
41
46
 
@@ -51,9 +56,15 @@ module Wallee
51
56
  # 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.
52
57
  attr_accessor :charge_retry_enabled
53
58
 
59
+ # The completed amount is the total amount which has been captured so far.
60
+ attr_accessor :completed_amount
61
+
54
62
  #
55
63
  attr_accessor :completed_on
56
64
 
65
+ # The completion behavior controls when the transaction is completed.
66
+ attr_accessor :completion_behavior
67
+
57
68
  #
58
69
  attr_accessor :completion_timeout_on
59
70
 
@@ -81,9 +92,24 @@ module Wallee
81
92
  # The customer's presence indicates what kind of authentication methods can be used during the authorization of the transaction. If no value is provided, 'Virtually Present' is used by default.
82
93
  attr_accessor :customers_presence
83
94
 
95
+ # This date indicates when the decision has been made if a transaction should be delivered or not.
96
+ attr_accessor :delivery_decision_made_on
97
+
98
+ # The device session identifier links the transaction with the session identifier provided in the URL of the device data JavaScript. This allows to link the transaction with the collected device data of the buyer.
99
+ attr_accessor :device_session_identifier
100
+
101
+ # Flag indicating whether email sending is disabled for this particular transaction. Defaults to false.
102
+ attr_accessor :emails_disabled
103
+
84
104
  # The transaction's end of life indicates the date from which on no operation can be carried out anymore.
85
105
  attr_accessor :end_of_life
86
106
 
107
+ #
108
+ attr_accessor :environment
109
+
110
+ # The environment selection strategy determines how the environment (test or production) for processing the transaction is selected.
111
+ attr_accessor :environment_selection_strategy
112
+
87
113
  #
88
114
  attr_accessor :failed_on
89
115
 
@@ -99,7 +125,7 @@ module Wallee
99
125
  # The ID is the primary key of the entity. The ID identifies the entity uniquely.
100
126
  attr_accessor :id
101
127
 
102
- #
128
+ # The Internet Protocol (IP) address identifies the device of the buyer.
103
129
  attr_accessor :internet_protocol_address
104
130
 
105
131
  #
@@ -123,6 +149,9 @@ module Wallee
123
149
  # Meta data allow to store additional data along the object.
124
150
  attr_accessor :meta_data
125
151
 
152
+ #
153
+ attr_accessor :parent
154
+
126
155
  #
127
156
  attr_accessor :payment_connector_configuration
128
157
 
@@ -150,13 +179,25 @@ module Wallee
150
179
  # 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.
151
180
  attr_accessor :success_url
152
181
 
182
+ # The terminal on which the payment was processed.
183
+ attr_accessor :terminal
184
+
153
185
  # 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.
154
186
  attr_accessor :time_zone
155
187
 
156
188
  #
157
189
  attr_accessor :token
158
190
 
159
- #
191
+ # The tokenization mode controls if and how the tokenization of payment information is applied to the transaction.
192
+ attr_accessor :tokenization_mode
193
+
194
+ # The total applied fees is the sum of all fees that have been applied so far.
195
+ attr_accessor :total_applied_fees
196
+
197
+ # The total settled amount is the total amount which has been settled so far.
198
+ attr_accessor :total_settled_amount
199
+
200
+ # The user agent header provides the exact string which contains the user agent of the buyer.
160
201
  attr_accessor :user_agent_header
161
202
 
162
203
  # The failure message describes for an end user why the transaction is failed in the language of the user. This is only provided when the transaction is marked as failed.
@@ -168,20 +209,24 @@ module Wallee
168
209
  # The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
169
210
  attr_accessor :version
170
211
 
171
-
172
212
  # Attribute mapping from ruby-style variable name to JSON key.
173
213
  def self.attribute_map
174
214
  {
175
215
  :'accept_header' => :'acceptHeader',
216
+ :'accept_language_header' => :'acceptLanguageHeader',
176
217
  :'allowed_payment_method_brands' => :'allowedPaymentMethodBrands',
177
218
  :'allowed_payment_method_configurations' => :'allowedPaymentMethodConfigurations',
178
219
  :'authorization_amount' => :'authorizationAmount',
220
+ :'authorization_environment' => :'authorizationEnvironment',
221
+ :'authorization_sales_channel' => :'authorizationSalesChannel',
179
222
  :'authorization_timeout_on' => :'authorizationTimeoutOn',
180
223
  :'authorized_on' => :'authorizedOn',
181
224
  :'auto_confirmation_enabled' => :'autoConfirmationEnabled',
182
225
  :'billing_address' => :'billingAddress',
183
226
  :'charge_retry_enabled' => :'chargeRetryEnabled',
227
+ :'completed_amount' => :'completedAmount',
184
228
  :'completed_on' => :'completedOn',
229
+ :'completion_behavior' => :'completionBehavior',
185
230
  :'completion_timeout_on' => :'completionTimeoutOn',
186
231
  :'confirmed_by' => :'confirmedBy',
187
232
  :'confirmed_on' => :'confirmedOn',
@@ -191,7 +236,12 @@ module Wallee
191
236
  :'customer_email_address' => :'customerEmailAddress',
192
237
  :'customer_id' => :'customerId',
193
238
  :'customers_presence' => :'customersPresence',
239
+ :'delivery_decision_made_on' => :'deliveryDecisionMadeOn',
240
+ :'device_session_identifier' => :'deviceSessionIdentifier',
241
+ :'emails_disabled' => :'emailsDisabled',
194
242
  :'end_of_life' => :'endOfLife',
243
+ :'environment' => :'environment',
244
+ :'environment_selection_strategy' => :'environmentSelectionStrategy',
195
245
  :'failed_on' => :'failedOn',
196
246
  :'failed_url' => :'failedUrl',
197
247
  :'failure_reason' => :'failureReason',
@@ -205,6 +255,7 @@ module Wallee
205
255
  :'linked_space_id' => :'linkedSpaceId',
206
256
  :'merchant_reference' => :'merchantReference',
207
257
  :'meta_data' => :'metaData',
258
+ :'parent' => :'parent',
208
259
  :'payment_connector_configuration' => :'paymentConnectorConfiguration',
209
260
  :'planned_purge_date' => :'plannedPurgeDate',
210
261
  :'processing_on' => :'processingOn',
@@ -214,8 +265,12 @@ module Wallee
214
265
  :'space_view_id' => :'spaceViewId',
215
266
  :'state' => :'state',
216
267
  :'success_url' => :'successUrl',
268
+ :'terminal' => :'terminal',
217
269
  :'time_zone' => :'timeZone',
218
270
  :'token' => :'token',
271
+ :'tokenization_mode' => :'tokenizationMode',
272
+ :'total_applied_fees' => :'totalAppliedFees',
273
+ :'total_settled_amount' => :'totalSettledAmount',
219
274
  :'user_agent_header' => :'userAgentHeader',
220
275
  :'user_failure_message' => :'userFailureMessage',
221
276
  :'user_interface_type' => :'userInterfaceType',
@@ -227,15 +282,20 @@ module Wallee
227
282
  def self.swagger_types
228
283
  {
229
284
  :'accept_header' => :'String',
285
+ :'accept_language_header' => :'String',
230
286
  :'allowed_payment_method_brands' => :'Array<PaymentMethodBrand>',
231
287
  :'allowed_payment_method_configurations' => :'Array<Integer>',
232
288
  :'authorization_amount' => :'Float',
289
+ :'authorization_environment' => :'ChargeAttemptEnvironment',
290
+ :'authorization_sales_channel' => :'Integer',
233
291
  :'authorization_timeout_on' => :'DateTime',
234
292
  :'authorized_on' => :'DateTime',
235
293
  :'auto_confirmation_enabled' => :'BOOLEAN',
236
294
  :'billing_address' => :'Address',
237
295
  :'charge_retry_enabled' => :'BOOLEAN',
296
+ :'completed_amount' => :'Float',
238
297
  :'completed_on' => :'DateTime',
298
+ :'completion_behavior' => :'TransactionCompletionBehavior',
239
299
  :'completion_timeout_on' => :'DateTime',
240
300
  :'confirmed_by' => :'Integer',
241
301
  :'confirmed_on' => :'DateTime',
@@ -245,7 +305,12 @@ module Wallee
245
305
  :'customer_email_address' => :'String',
246
306
  :'customer_id' => :'String',
247
307
  :'customers_presence' => :'CustomersPresence',
308
+ :'delivery_decision_made_on' => :'DateTime',
309
+ :'device_session_identifier' => :'String',
310
+ :'emails_disabled' => :'BOOLEAN',
248
311
  :'end_of_life' => :'DateTime',
312
+ :'environment' => :'Environment',
313
+ :'environment_selection_strategy' => :'TransactionEnvironmentSelectionStrategy',
249
314
  :'failed_on' => :'DateTime',
250
315
  :'failed_url' => :'String',
251
316
  :'failure_reason' => :'FailureReason',
@@ -259,6 +324,7 @@ module Wallee
259
324
  :'linked_space_id' => :'Integer',
260
325
  :'merchant_reference' => :'String',
261
326
  :'meta_data' => :'Hash<String, String>',
327
+ :'parent' => :'Integer',
262
328
  :'payment_connector_configuration' => :'PaymentConnectorConfiguration',
263
329
  :'planned_purge_date' => :'DateTime',
264
330
  :'processing_on' => :'DateTime',
@@ -268,8 +334,12 @@ module Wallee
268
334
  :'space_view_id' => :'Integer',
269
335
  :'state' => :'TransactionState',
270
336
  :'success_url' => :'String',
337
+ :'terminal' => :'PaymentTerminal',
271
338
  :'time_zone' => :'String',
272
339
  :'token' => :'Token',
340
+ :'tokenization_mode' => :'TokenizationMode',
341
+ :'total_applied_fees' => :'Float',
342
+ :'total_settled_amount' => :'Float',
273
343
  :'user_agent_header' => :'String',
274
344
  :'user_failure_message' => :'String',
275
345
  :'user_interface_type' => :'TransactionUserInterfaceType',
@@ -283,12 +353,16 @@ module Wallee
283
353
  return unless attributes.is_a?(Hash)
284
354
 
285
355
  # convert string to symbol for hash key
286
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
356
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
287
357
 
288
358
  if attributes.has_key?(:'acceptHeader')
289
359
  self.accept_header = attributes[:'acceptHeader']
290
360
  end
291
361
 
362
+ if attributes.has_key?(:'acceptLanguageHeader')
363
+ self.accept_language_header = attributes[:'acceptLanguageHeader']
364
+ end
365
+
292
366
  if attributes.has_key?(:'allowedPaymentMethodBrands')
293
367
  if (value = attributes[:'allowedPaymentMethodBrands']).is_a?(Array)
294
368
  self.allowed_payment_method_brands = value
@@ -305,6 +379,14 @@ module Wallee
305
379
  self.authorization_amount = attributes[:'authorizationAmount']
306
380
  end
307
381
 
382
+ if attributes.has_key?(:'authorizationEnvironment')
383
+ self.authorization_environment = attributes[:'authorizationEnvironment']
384
+ end
385
+
386
+ if attributes.has_key?(:'authorizationSalesChannel')
387
+ self.authorization_sales_channel = attributes[:'authorizationSalesChannel']
388
+ end
389
+
308
390
  if attributes.has_key?(:'authorizationTimeoutOn')
309
391
  self.authorization_timeout_on = attributes[:'authorizationTimeoutOn']
310
392
  end
@@ -325,10 +407,18 @@ module Wallee
325
407
  self.charge_retry_enabled = attributes[:'chargeRetryEnabled']
326
408
  end
327
409
 
410
+ if attributes.has_key?(:'completedAmount')
411
+ self.completed_amount = attributes[:'completedAmount']
412
+ end
413
+
328
414
  if attributes.has_key?(:'completedOn')
329
415
  self.completed_on = attributes[:'completedOn']
330
416
  end
331
417
 
418
+ if attributes.has_key?(:'completionBehavior')
419
+ self.completion_behavior = attributes[:'completionBehavior']
420
+ end
421
+
332
422
  if attributes.has_key?(:'completionTimeoutOn')
333
423
  self.completion_timeout_on = attributes[:'completionTimeoutOn']
334
424
  end
@@ -365,10 +455,30 @@ module Wallee
365
455
  self.customers_presence = attributes[:'customersPresence']
366
456
  end
367
457
 
458
+ if attributes.has_key?(:'deliveryDecisionMadeOn')
459
+ self.delivery_decision_made_on = attributes[:'deliveryDecisionMadeOn']
460
+ end
461
+
462
+ if attributes.has_key?(:'deviceSessionIdentifier')
463
+ self.device_session_identifier = attributes[:'deviceSessionIdentifier']
464
+ end
465
+
466
+ if attributes.has_key?(:'emailsDisabled')
467
+ self.emails_disabled = attributes[:'emailsDisabled']
468
+ end
469
+
368
470
  if attributes.has_key?(:'endOfLife')
369
471
  self.end_of_life = attributes[:'endOfLife']
370
472
  end
371
473
 
474
+ if attributes.has_key?(:'environment')
475
+ self.environment = attributes[:'environment']
476
+ end
477
+
478
+ if attributes.has_key?(:'environmentSelectionStrategy')
479
+ self.environment_selection_strategy = attributes[:'environmentSelectionStrategy']
480
+ end
481
+
372
482
  if attributes.has_key?(:'failedOn')
373
483
  self.failed_on = attributes[:'failedOn']
374
484
  end
@@ -420,11 +530,15 @@ module Wallee
420
530
  end
421
531
 
422
532
  if attributes.has_key?(:'metaData')
423
- if (value = attributes[:'metaData']).is_a?(Array)
533
+ if (value = attributes[:'metaData']).is_a?(Hash)
424
534
  self.meta_data = value
425
535
  end
426
536
  end
427
537
 
538
+ if attributes.has_key?(:'parent')
539
+ self.parent = attributes[:'parent']
540
+ end
541
+
428
542
  if attributes.has_key?(:'paymentConnectorConfiguration')
429
543
  self.payment_connector_configuration = attributes[:'paymentConnectorConfiguration']
430
544
  end
@@ -461,6 +575,10 @@ module Wallee
461
575
  self.success_url = attributes[:'successUrl']
462
576
  end
463
577
 
578
+ if attributes.has_key?(:'terminal')
579
+ self.terminal = attributes[:'terminal']
580
+ end
581
+
464
582
  if attributes.has_key?(:'timeZone')
465
583
  self.time_zone = attributes[:'timeZone']
466
584
  end
@@ -469,6 +587,18 @@ module Wallee
469
587
  self.token = attributes[:'token']
470
588
  end
471
589
 
590
+ if attributes.has_key?(:'tokenizationMode')
591
+ self.tokenization_mode = attributes[:'tokenizationMode']
592
+ end
593
+
594
+ if attributes.has_key?(:'totalAppliedFees')
595
+ self.total_applied_fees = attributes[:'totalAppliedFees']
596
+ end
597
+
598
+ if attributes.has_key?(:'totalSettledAmount')
599
+ self.total_settled_amount = attributes[:'totalSettledAmount']
600
+ end
601
+
472
602
  if attributes.has_key?(:'userAgentHeader')
473
603
  self.user_agent_header = attributes[:'userAgentHeader']
474
604
  end
@@ -484,20 +614,151 @@ module Wallee
484
614
  if attributes.has_key?(:'version')
485
615
  self.version = attributes[:'version']
486
616
  end
487
-
488
617
  end
489
618
 
490
619
  # Show invalid properties with the reasons. Usually used together with valid?
491
- # @return Array for valid properies with the reasons
620
+ # @return Array for valid properties with the reasons
492
621
  def list_invalid_properties
493
622
  invalid_properties = Array.new
494
- return invalid_properties
623
+ if !@customer_email_address.nil? && @customer_email_address.to_s.length > 254
624
+ invalid_properties.push('invalid value for "customer_email_address", the character length must be smaller than or equal to 254.')
625
+ end
626
+
627
+ if !@device_session_identifier.nil? && @device_session_identifier.to_s.length > 40
628
+ invalid_properties.push('invalid value for "device_session_identifier", the character length must be smaller than or equal to 40.')
629
+ end
630
+
631
+ if !@device_session_identifier.nil? && @device_session_identifier.to_s.length < 10
632
+ invalid_properties.push('invalid value for "device_session_identifier", the character length must be great than or equal to 10.')
633
+ end
634
+
635
+ if !@failed_url.nil? && @failed_url.to_s.length > 1000
636
+ invalid_properties.push('invalid value for "failed_url", the character length must be smaller than or equal to 1000.')
637
+ end
638
+
639
+ if !@failed_url.nil? && @failed_url.to_s.length < 9
640
+ invalid_properties.push('invalid value for "failed_url", the character length must be great than or equal to 9.')
641
+ end
642
+
643
+ if !@invoice_merchant_reference.nil? && @invoice_merchant_reference.to_s.length > 100
644
+ invalid_properties.push('invalid value for "invoice_merchant_reference", the character length must be smaller than or equal to 100.')
645
+ end
646
+
647
+ if !@merchant_reference.nil? && @merchant_reference.to_s.length > 100
648
+ invalid_properties.push('invalid value for "merchant_reference", the character length must be smaller than or equal to 100.')
649
+ end
650
+
651
+ if !@shipping_method.nil? && @shipping_method.to_s.length > 200
652
+ invalid_properties.push('invalid value for "shipping_method", the character length must be smaller than or equal to 200.')
653
+ end
654
+
655
+ if !@success_url.nil? && @success_url.to_s.length > 1000
656
+ invalid_properties.push('invalid value for "success_url", the character length must be smaller than or equal to 1000.')
657
+ end
658
+
659
+ if !@success_url.nil? && @success_url.to_s.length < 9
660
+ invalid_properties.push('invalid value for "success_url", the character length must be great than or equal to 9.')
661
+ end
662
+
663
+ invalid_properties
495
664
  end
496
665
 
497
666
  # Check to see if the all the properties in the model are valid
498
667
  # @return true if the model is valid
499
668
  def valid?
500
- return true
669
+ return false if !@customer_email_address.nil? && @customer_email_address.to_s.length > 254
670
+ return false if !@device_session_identifier.nil? && @device_session_identifier.to_s.length > 40
671
+ return false if !@device_session_identifier.nil? && @device_session_identifier.to_s.length < 10
672
+ return false if !@failed_url.nil? && @failed_url.to_s.length > 1000
673
+ return false if !@failed_url.nil? && @failed_url.to_s.length < 9
674
+ return false if !@invoice_merchant_reference.nil? && @invoice_merchant_reference.to_s.length > 100
675
+ return false if !@merchant_reference.nil? && @merchant_reference.to_s.length > 100
676
+ return false if !@shipping_method.nil? && @shipping_method.to_s.length > 200
677
+ return false if !@success_url.nil? && @success_url.to_s.length > 1000
678
+ return false if !@success_url.nil? && @success_url.to_s.length < 9
679
+ true
680
+ end
681
+
682
+ # Custom attribute writer method with validation
683
+ # @param [Object] customer_email_address Value to be assigned
684
+ def customer_email_address=(customer_email_address)
685
+ if !customer_email_address.nil? && customer_email_address.to_s.length > 254
686
+ fail ArgumentError, 'invalid value for "customer_email_address", the character length must be smaller than or equal to 254.'
687
+ end
688
+
689
+ @customer_email_address = customer_email_address
690
+ end
691
+
692
+ # Custom attribute writer method with validation
693
+ # @param [Object] device_session_identifier Value to be assigned
694
+ def device_session_identifier=(device_session_identifier)
695
+ if !device_session_identifier.nil? && device_session_identifier.to_s.length > 40
696
+ fail ArgumentError, 'invalid value for "device_session_identifier", the character length must be smaller than or equal to 40.'
697
+ end
698
+
699
+ if !device_session_identifier.nil? && device_session_identifier.to_s.length < 10
700
+ fail ArgumentError, 'invalid value for "device_session_identifier", the character length must be great than or equal to 10.'
701
+ end
702
+
703
+ @device_session_identifier = device_session_identifier
704
+ end
705
+
706
+ # Custom attribute writer method with validation
707
+ # @param [Object] failed_url Value to be assigned
708
+ def failed_url=(failed_url)
709
+ if !failed_url.nil? && failed_url.to_s.length > 1000
710
+ fail ArgumentError, 'invalid value for "failed_url", the character length must be smaller than or equal to 1000.'
711
+ end
712
+
713
+ if !failed_url.nil? && failed_url.to_s.length < 9
714
+ fail ArgumentError, 'invalid value for "failed_url", the character length must be great than or equal to 9.'
715
+ end
716
+
717
+ @failed_url = failed_url
718
+ end
719
+
720
+ # Custom attribute writer method with validation
721
+ # @param [Object] invoice_merchant_reference Value to be assigned
722
+ def invoice_merchant_reference=(invoice_merchant_reference)
723
+ if !invoice_merchant_reference.nil? && invoice_merchant_reference.to_s.length > 100
724
+ fail ArgumentError, 'invalid value for "invoice_merchant_reference", the character length must be smaller than or equal to 100.'
725
+ end
726
+
727
+ @invoice_merchant_reference = invoice_merchant_reference
728
+ end
729
+
730
+ # Custom attribute writer method with validation
731
+ # @param [Object] merchant_reference Value to be assigned
732
+ def merchant_reference=(merchant_reference)
733
+ if !merchant_reference.nil? && merchant_reference.to_s.length > 100
734
+ fail ArgumentError, 'invalid value for "merchant_reference", the character length must be smaller than or equal to 100.'
735
+ end
736
+
737
+ @merchant_reference = merchant_reference
738
+ end
739
+
740
+ # Custom attribute writer method with validation
741
+ # @param [Object] shipping_method Value to be assigned
742
+ def shipping_method=(shipping_method)
743
+ if !shipping_method.nil? && shipping_method.to_s.length > 200
744
+ fail ArgumentError, 'invalid value for "shipping_method", the character length must be smaller than or equal to 200.'
745
+ end
746
+
747
+ @shipping_method = shipping_method
748
+ end
749
+
750
+ # Custom attribute writer method with validation
751
+ # @param [Object] success_url Value to be assigned
752
+ def success_url=(success_url)
753
+ if !success_url.nil? && success_url.to_s.length > 1000
754
+ fail ArgumentError, 'invalid value for "success_url", the character length must be smaller than or equal to 1000.'
755
+ end
756
+
757
+ if !success_url.nil? && success_url.to_s.length < 9
758
+ fail ArgumentError, 'invalid value for "success_url", the character length must be great than or equal to 9.'
759
+ end
760
+
761
+ @success_url = success_url
501
762
  end
502
763
 
503
764
  # Checks equality by comparing each attribute.
@@ -506,15 +767,20 @@ module Wallee
506
767
  return true if self.equal?(o)
507
768
  self.class == o.class &&
508
769
  accept_header == o.accept_header &&
770
+ accept_language_header == o.accept_language_header &&
509
771
  allowed_payment_method_brands == o.allowed_payment_method_brands &&
510
772
  allowed_payment_method_configurations == o.allowed_payment_method_configurations &&
511
773
  authorization_amount == o.authorization_amount &&
774
+ authorization_environment == o.authorization_environment &&
775
+ authorization_sales_channel == o.authorization_sales_channel &&
512
776
  authorization_timeout_on == o.authorization_timeout_on &&
513
777
  authorized_on == o.authorized_on &&
514
778
  auto_confirmation_enabled == o.auto_confirmation_enabled &&
515
779
  billing_address == o.billing_address &&
516
780
  charge_retry_enabled == o.charge_retry_enabled &&
781
+ completed_amount == o.completed_amount &&
517
782
  completed_on == o.completed_on &&
783
+ completion_behavior == o.completion_behavior &&
518
784
  completion_timeout_on == o.completion_timeout_on &&
519
785
  confirmed_by == o.confirmed_by &&
520
786
  confirmed_on == o.confirmed_on &&
@@ -524,7 +790,12 @@ module Wallee
524
790
  customer_email_address == o.customer_email_address &&
525
791
  customer_id == o.customer_id &&
526
792
  customers_presence == o.customers_presence &&
793
+ delivery_decision_made_on == o.delivery_decision_made_on &&
794
+ device_session_identifier == o.device_session_identifier &&
795
+ emails_disabled == o.emails_disabled &&
527
796
  end_of_life == o.end_of_life &&
797
+ environment == o.environment &&
798
+ environment_selection_strategy == o.environment_selection_strategy &&
528
799
  failed_on == o.failed_on &&
529
800
  failed_url == o.failed_url &&
530
801
  failure_reason == o.failure_reason &&
@@ -538,6 +809,7 @@ module Wallee
538
809
  linked_space_id == o.linked_space_id &&
539
810
  merchant_reference == o.merchant_reference &&
540
811
  meta_data == o.meta_data &&
812
+ parent == o.parent &&
541
813
  payment_connector_configuration == o.payment_connector_configuration &&
542
814
  planned_purge_date == o.planned_purge_date &&
543
815
  processing_on == o.processing_on &&
@@ -547,8 +819,12 @@ module Wallee
547
819
  space_view_id == o.space_view_id &&
548
820
  state == o.state &&
549
821
  success_url == o.success_url &&
822
+ terminal == o.terminal &&
550
823
  time_zone == o.time_zone &&
551
824
  token == o.token &&
825
+ tokenization_mode == o.tokenization_mode &&
826
+ total_applied_fees == o.total_applied_fees &&
827
+ total_settled_amount == o.total_settled_amount &&
552
828
  user_agent_header == o.user_agent_header &&
553
829
  user_failure_message == o.user_failure_message &&
554
830
  user_interface_type == o.user_interface_type &&
@@ -564,7 +840,7 @@ module Wallee
564
840
  # Calculates hash code according to all attributes.
565
841
  # @return [Fixnum] Hash code
566
842
  def hash
567
- [accept_header, allowed_payment_method_brands, allowed_payment_method_configurations, authorization_amount, authorization_timeout_on, authorized_on, auto_confirmation_enabled, 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, failure_reason, 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, time_zone, token, user_agent_header, user_failure_message, user_interface_type, version].hash
843
+ [accept_header, accept_language_header, allowed_payment_method_brands, allowed_payment_method_configurations, authorization_amount, authorization_environment, authorization_sales_channel, authorization_timeout_on, authorized_on, auto_confirmation_enabled, billing_address, charge_retry_enabled, completed_amount, completed_on, completion_behavior, completion_timeout_on, confirmed_by, confirmed_on, created_by, created_on, currency, customer_email_address, customer_id, customers_presence, delivery_decision_made_on, device_session_identifier, emails_disabled, end_of_life, environment, environment_selection_strategy, failed_on, failed_url, failure_reason, group, id, internet_protocol_address, internet_protocol_address_country, invoice_merchant_reference, language, line_items, linked_space_id, merchant_reference, meta_data, parent, payment_connector_configuration, planned_purge_date, processing_on, refunded_amount, shipping_address, shipping_method, space_view_id, state, success_url, terminal, time_zone, token, tokenization_mode, total_applied_fees, total_settled_amount, user_agent_header, user_failure_message, user_interface_type, version].hash
568
844
  end
569
845
 
570
846
  # Builds the object from hash
@@ -574,7 +850,7 @@ module Wallee
574
850
  return nil unless attributes.is_a?(Hash)
575
851
  self.class.swagger_types.each_pair do |key, type|
576
852
  if type =~ /\AArray<(.*)>/i
577
- # check to ensure the input is an array given that the the attribute
853
+ # check to ensure the input is an array given that the attribute
578
854
  # is documented as an array but the input is not
579
855
  if attributes[self.class.attribute_map[key]].is_a?(Array)
580
856
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
@@ -672,5 +948,4 @@ module Wallee
672
948
  end
673
949
 
674
950
  end
675
-
676
951
  end