subskribe_sandbox 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/AccountsApi.md +2 -2
  4. data/docs/AutomatedInvoiceRule.md +5 -5
  5. data/docs/BillingApi.md +23 -23
  6. data/docs/BulkPaymentUploadData.md +7 -7
  7. data/docs/ChargeJson.md +2 -2
  8. data/docs/PaginatedAccountsResponse.md +10 -0
  9. data/docs/TaxJarIntegration.md +4 -4
  10. data/lib/subskribe_dev/api/accounts_api.rb +3 -3
  11. data/lib/subskribe_dev/api/entities_api.rb +158 -0
  12. data/lib/subskribe_dev/api/erp_api.rb +20 -20
  13. data/lib/subskribe_dev/api/product_catalog_api.rb +58 -0
  14. data/lib/subskribe_dev/api/revenue_recognition_api.rb +22 -22
  15. data/lib/subskribe_dev/models/automated_invoice_rule.rb +22 -22
  16. data/lib/subskribe_dev/models/bulk_invoice_run_item.rb +22 -22
  17. data/lib/subskribe_dev/models/bulk_payment_upload_data.rb +31 -31
  18. data/lib/subskribe_dev/models/bulk_payment_upload_result.rb +13 -13
  19. data/lib/subskribe_dev/models/charge_json.rb +19 -19
  20. data/lib/subskribe_dev/models/order_line_item_json.rb +10 -1
  21. data/lib/subskribe_dev/models/order_line_item_request_json.rb +10 -1
  22. data/lib/subskribe_dev/models/paginated_accounts_response.rb +204 -0
  23. data/lib/subskribe_dev/models/plan_metadata_json.rb +187 -0
  24. data/lib/subskribe_dev/models/tax_jar_integration.rb +10 -10
  25. data/lib/subskribe_dev/version.rb +1 -1
  26. data/lib/subskribe_dev.rb +2 -1
  27. data/lib/subskribe_dev2/api/accounting_api.rb +193 -0
  28. data/lib/subskribe_dev2/api/accounts_api.rb +858 -0
  29. data/lib/subskribe_dev2/api/approvals_api.rb +965 -0
  30. data/lib/subskribe_dev2/api/attachments_api.rb +299 -0
  31. data/lib/subskribe_dev2/api/authentication_api.rb +335 -0
  32. data/lib/subskribe_dev2/api/billing_api.rb +2098 -0
  33. data/lib/subskribe_dev2/api/credit_memo_api.rb +636 -0
  34. data/lib/subskribe_dev2/api/custom_field_api.rb +434 -0
  35. data/lib/subskribe_dev2/api/customization_api.rb +269 -0
  36. data/lib/subskribe_dev2/api/default_api.rb +223 -0
  37. data/lib/subskribe_dev2/api/discounts_api.rb +340 -0
  38. data/lib/subskribe_dev2/api/entities_api.rb +532 -0
  39. data/lib/subskribe_dev2/api/erp_api.rb +278 -0
  40. data/lib/subskribe_dev2/api/import_api.rb +568 -0
  41. data/lib/subskribe_dev2/api/integrations_api.rb +1678 -0
  42. data/lib/subskribe_dev2/api/metrics_reporting_api.rb +223 -0
  43. data/lib/subskribe_dev2/api/notifications_api.rb +245 -0
  44. data/lib/subskribe_dev2/api/opportunity_api.rb +177 -0
  45. data/lib/subskribe_dev2/api/orders_api.rb +1381 -0
  46. data/lib/subskribe_dev2/api/payments_api.rb +431 -0
  47. data/lib/subskribe_dev2/api/product_catalog_api.rb +1886 -0
  48. data/lib/subskribe_dev2/api/rate_card_api.rb +68 -0
  49. data/lib/subskribe_dev2/api/refunds_api.rb +189 -0
  50. data/lib/subskribe_dev2/api/reports_api.rb +227 -0
  51. data/lib/subskribe_dev2/api/revenue_recognition_api.rb +484 -0
  52. data/lib/subskribe_dev2/api/sales_room_api.rb +74 -0
  53. data/lib/subskribe_dev2/api/settings_api.rb +1321 -0
  54. data/lib/subskribe_dev2/api/subscriptions_api.rb +576 -0
  55. data/lib/subskribe_dev2/api/usage_api.rb +604 -0
  56. data/lib/subskribe_dev2/api/users_api.rb +728 -0
  57. data/lib/subskribe_dev2/api_client.rb +391 -0
  58. data/lib/subskribe_dev2/api_error.rb +38 -0
  59. data/lib/subskribe_dev2/configuration.rb +209 -0
  60. data/lib/subskribe_dev2/models/account_address.rb +265 -0
  61. data/lib/subskribe_dev2/models/account_address_json.rb +229 -0
  62. data/lib/subskribe_dev2/models/account_contact.rb +530 -0
  63. data/lib/subskribe_dev2/models/account_contact_json.rb +274 -0
  64. data/lib/subskribe_dev2/models/account_json.rb +395 -0
  65. data/lib/subskribe_dev2/models/account_payment_method_json.rb +268 -0
  66. data/lib/subskribe_dev2/models/account_receivable_contact_json.rb +225 -0
  67. data/lib/subskribe_dev2/models/accounting_event.rb +319 -0
  68. data/lib/subskribe_dev2/models/accounting_event_paginated_response.rb +204 -0
  69. data/lib/subskribe_dev2/models/accounting_period.rb +356 -0
  70. data/lib/subskribe_dev2/models/accounting_period_calculation.rb +229 -0
  71. data/lib/subskribe_dev2/models/add_and_apply_payment_application_json.rb +344 -0
  72. data/lib/subskribe_dev2/models/anrok_integration_input.rb +184 -0
  73. data/lib/subskribe_dev2/models/approval_matrix_import_data_json.rb +229 -0
  74. data/lib/subskribe_dev2/models/approval_matrix_import_preview.rb +226 -0
  75. data/lib/subskribe_dev2/models/approval_role_json.rb +220 -0
  76. data/lib/subskribe_dev2/models/approval_role_segment_change.rb +211 -0
  77. data/lib/subskribe_dev2/models/approval_segment_json.rb +220 -0
  78. data/lib/subskribe_dev2/models/attachment.rb +326 -0
  79. data/lib/subskribe_dev2/models/attribute_reference.rb +193 -0
  80. data/lib/subskribe_dev2/models/auth_saml_integration_json.rb +204 -0
  81. data/lib/subskribe_dev2/models/automated_invoice_rule.rb +328 -0
  82. data/lib/subskribe_dev2/models/automated_invoice_rule_request_json.rb +307 -0
  83. data/lib/subskribe_dev2/models/avalara_integration.rb +238 -0
  84. data/lib/subskribe_dev2/models/avalara_integration_input.rb +268 -0
  85. data/lib/subskribe_dev2/models/billing_event_entry.rb +211 -0
  86. data/lib/subskribe_dev2/models/billing_event_input.rb +216 -0
  87. data/lib/subskribe_dev2/models/bulk_invoice_run.rb +350 -0
  88. data/lib/subskribe_dev2/models/bulk_invoice_run_exclusions.rb +197 -0
  89. data/lib/subskribe_dev2/models/bulk_invoice_run_input.rb +263 -0
  90. data/lib/subskribe_dev2/models/bulk_invoice_run_item.rb +364 -0
  91. data/lib/subskribe_dev2/models/bulk_invoice_run_selector.rb +184 -0
  92. data/lib/subskribe_dev2/models/bulk_payment_upload_data.rb +274 -0
  93. data/lib/subskribe_dev2/models/bulk_payment_upload_result.rb +204 -0
  94. data/lib/subskribe_dev2/models/byte_buffer.rb +247 -0
  95. data/lib/subskribe_dev2/models/catalog_relationship.rb +364 -0
  96. data/lib/subskribe_dev2/models/charge_json.rb +631 -0
  97. data/lib/subskribe_dev2/models/charge_partial_json.rb +310 -0
  98. data/lib/subskribe_dev2/models/company_contact_json.rb +225 -0
  99. data/lib/subskribe_dev2/models/credit_memo_application_json.rb +239 -0
  100. data/lib/subskribe_dev2/models/credit_memo_balance_json.rb +211 -0
  101. data/lib/subskribe_dev2/models/credit_memo_json.rb +363 -0
  102. data/lib/subskribe_dev2/models/credit_memo_line_item_json.rb +252 -0
  103. data/lib/subskribe_dev2/models/credit_memo_line_item_request_json.rb +211 -0
  104. data/lib/subskribe_dev2/models/credit_memo_pagination_response_json.rb +204 -0
  105. data/lib/subskribe_dev2/models/crm_account_import_response.rb +193 -0
  106. data/lib/subskribe_dev2/models/custom_field_default.rb +195 -0
  107. data/lib/subskribe_dev2/models/custom_field_definition_create_input.rb +317 -0
  108. data/lib/subskribe_dev2/models/custom_field_definition_json.rb +313 -0
  109. data/lib/subskribe_dev2/models/custom_field_definition_update_input.rb +256 -0
  110. data/lib/subskribe_dev2/models/custom_field_entry.rb +325 -0
  111. data/lib/subskribe_dev2/models/custom_field_update_input.rb +195 -0
  112. data/lib/subskribe_dev2/models/custom_field_value.rb +316 -0
  113. data/lib/subskribe_dev2/models/data_import.rb +355 -0
  114. data/lib/subskribe_dev2/models/discount_detail_json.rb +263 -0
  115. data/lib/subskribe_dev2/models/discount_json.rb +254 -0
  116. data/lib/subskribe_dev2/models/docu_sign_integration_request_json.rb +236 -0
  117. data/lib/subskribe_dev2/models/docu_sign_integration_response_json.rb +245 -0
  118. data/lib/subskribe_dev2/models/document_custom_content.rb +211 -0
  119. data/lib/subskribe_dev2/models/document_section.rb +265 -0
  120. data/lib/subskribe_dev2/models/document_template_json.rb +300 -0
  121. data/lib/subskribe_dev2/models/dunning_setting_json.rb +200 -0
  122. data/lib/subskribe_dev2/models/email_notifiers_list.rb +208 -0
  123. data/lib/subskribe_dev2/models/entity.rb +356 -0
  124. data/lib/subskribe_dev2/models/entity_json.rb +347 -0
  125. data/lib/subskribe_dev2/models/entity_ref.rb +202 -0
  126. data/lib/subskribe_dev2/models/entry.rb +202 -0
  127. data/lib/subskribe_dev2/models/external_arr_schedule_json.rb +319 -0
  128. data/lib/subskribe_dev2/models/flatfile_workbook_response.rb +184 -0
  129. data/lib/subskribe_dev2/models/flatfile_workbook_response_data.rb +193 -0
  130. data/lib/subskribe_dev2/models/input_stream.rb +175 -0
  131. data/lib/subskribe_dev2/models/integration.rb +311 -0
  132. data/lib/subskribe_dev2/models/invoice_balance_json.rb +211 -0
  133. data/lib/subskribe_dev2/models/invoice_item_json.rb +355 -0
  134. data/lib/subskribe_dev2/models/invoice_item_preview_json.rb +229 -0
  135. data/lib/subskribe_dev2/models/invoice_json.rb +439 -0
  136. data/lib/subskribe_dev2/models/invoice_json_pagination_response.rb +204 -0
  137. data/lib/subskribe_dev2/models/invoice_number_prefix.rb +184 -0
  138. data/lib/subskribe_dev2/models/invoice_preview_json.rb +222 -0
  139. data/lib/subskribe_dev2/models/ledger_account.rb +316 -0
  140. data/lib/subskribe_dev2/models/ledger_account_mapping.rb +222 -0
  141. data/lib/subskribe_dev2/models/metrics_json.rb +267 -0
  142. data/lib/subskribe_dev2/models/notification_target_and_subscriptions.rb +265 -0
  143. data/lib/subskribe_dev2/models/number_config.rb +254 -0
  144. data/lib/subskribe_dev2/models/opportunity.rb +326 -0
  145. data/lib/subskribe_dev2/models/opportunity_json.rb +326 -0
  146. data/lib/subskribe_dev2/models/opportunity_pagination_response.rb +204 -0
  147. data/lib/subskribe_dev2/models/opportunity_rest_json.rb +317 -0
  148. data/lib/subskribe_dev2/models/order_json.rb +754 -0
  149. data/lib/subskribe_dev2/models/order_json_pagination_response.rb +204 -0
  150. data/lib/subskribe_dev2/models/order_line_item_json.rb +474 -0
  151. data/lib/subskribe_dev2/models/order_line_item_request_json.rb +384 -0
  152. data/lib/subskribe_dev2/models/order_request_json.rb +616 -0
  153. data/lib/subskribe_dev2/models/order_terms.rb +265 -0
  154. data/lib/subskribe_dev2/models/paginated_accounts_response.rb +204 -0
  155. data/lib/subskribe_dev2/models/paginated_response.rb +204 -0
  156. data/lib/subskribe_dev2/models/payment_balance_json.rb +211 -0
  157. data/lib/subskribe_dev2/models/payment_configuration.rb +208 -0
  158. data/lib/subskribe_dev2/models/payment_json.rb +300 -0
  159. data/lib/subskribe_dev2/models/payment_json_pagination_response.rb +204 -0
  160. data/lib/subskribe_dev2/models/payment_term_settings_json.rb +219 -0
  161. data/lib/subskribe_dev2/models/plan_json.rb +339 -0
  162. data/lib/subskribe_dev2/models/plan_json_pagination_response.rb +204 -0
  163. data/lib/subskribe_dev2/models/plan_metadata_json.rb +187 -0
  164. data/lib/subskribe_dev2/models/predefined_report_def_chart_json.rb +265 -0
  165. data/lib/subskribe_dev2/models/predefined_report_def_json.rb +222 -0
  166. data/lib/subskribe_dev2/models/predefined_report_defs_json.rb +186 -0
  167. data/lib/subskribe_dev2/models/predefined_report_json.rb +213 -0
  168. data/lib/subskribe_dev2/models/predefined_report_param.rb +296 -0
  169. data/lib/subskribe_dev2/models/predefined_report_param_object.rb +296 -0
  170. data/lib/subskribe_dev2/models/prepaid_stats.rb +310 -0
  171. data/lib/subskribe_dev2/models/price_tier_json.rb +212 -0
  172. data/lib/subskribe_dev2/models/product_category.rb +264 -0
  173. data/lib/subskribe_dev2/models/product_category_pagination_response.rb +204 -0
  174. data/lib/subskribe_dev2/models/product_input_json.rb +249 -0
  175. data/lib/subskribe_dev2/models/product_json.rb +276 -0
  176. data/lib/subskribe_dev2/models/product_json_pagination_response.rb +204 -0
  177. data/lib/subskribe_dev2/models/purchase_order.rb +226 -0
  178. data/lib/subskribe_dev2/models/raw_usage.rb +247 -0
  179. data/lib/subskribe_dev2/models/raw_usages_data.rb +192 -0
  180. data/lib/subskribe_dev2/models/recognition_event_completion.rb +322 -0
  181. data/lib/subskribe_dev2/models/recognition_rule.rb +376 -0
  182. data/lib/subskribe_dev2/models/recurrence_json.rb +256 -0
  183. data/lib/subskribe_dev2/models/refund.rb +301 -0
  184. data/lib/subskribe_dev2/models/refund_detail.rb +322 -0
  185. data/lib/subskribe_dev2/models/refund_request_json.rb +272 -0
  186. data/lib/subskribe_dev2/models/report_duration.rb +193 -0
  187. data/lib/subskribe_dev2/models/report_job_response.rb +245 -0
  188. data/lib/subskribe_dev2/models/salesforce_account.rb +229 -0
  189. data/lib/subskribe_dev2/models/salesforce_account_billing_address.rb +220 -0
  190. data/lib/subskribe_dev2/models/salesforce_client_integration_request_json.rb +211 -0
  191. data/lib/subskribe_dev2/models/settlement_application.rb +329 -0
  192. data/lib/subskribe_dev2/models/standalone_credit_memo_request.rb +353 -0
  193. data/lib/subskribe_dev2/models/subscription_charge_alias.rb +283 -0
  194. data/lib/subskribe_dev2/models/subscription_charge_json.rb +362 -0
  195. data/lib/subskribe_dev2/models/subscription_json.rb +583 -0
  196. data/lib/subskribe_dev2/models/subscription_update_json.rb +280 -0
  197. data/lib/subskribe_dev2/models/tax_jar_integration.rb +238 -0
  198. data/lib/subskribe_dev2/models/tax_jar_integration_input.rb +193 -0
  199. data/lib/subskribe_dev2/models/tax_rate_json.rb +286 -0
  200. data/lib/subskribe_dev2/models/tax_rate_pagination_response_json.rb +204 -0
  201. data/lib/subskribe_dev2/models/tenant_credit_memo_configuration_json.rb +211 -0
  202. data/lib/subskribe_dev2/models/tenant_discount_json.rb +193 -0
  203. data/lib/subskribe_dev2/models/tenant_discount_line_item_json.rb +202 -0
  204. data/lib/subskribe_dev2/models/tenant_invoice_config.rb +254 -0
  205. data/lib/subskribe_dev2/models/tenant_json.rb +283 -0
  206. data/lib/subskribe_dev2/models/tenant_setting_json.rb +307 -0
  207. data/lib/subskribe_dev2/models/time_series_amount_json.rb +193 -0
  208. data/lib/subskribe_dev2/models/time_zone.rb +211 -0
  209. data/lib/subskribe_dev2/models/unit_of_measure_json.rb +250 -0
  210. data/lib/subskribe_dev2/models/unit_of_measure_pagination_response_json.rb +204 -0
  211. data/lib/subskribe_dev2/models/update_invoice_request.rb +282 -0
  212. data/lib/subskribe_dev2/models/usage_aggregate_output.rb +258 -0
  213. data/lib/subskribe_dev2/models/usage_batch_insert_result.rb +213 -0
  214. data/lib/subskribe_dev2/models/user_group_json.rb +224 -0
  215. data/lib/subskribe_dev2/models/user_group_request_json.rb +224 -0
  216. data/lib/subskribe_dev2/models/user_input.rb +304 -0
  217. data/lib/subskribe_dev2/models/user_json.rb +376 -0
  218. data/lib/subskribe_dev2/models/user_pagination_response_json.rb +204 -0
  219. data/lib/subskribe_dev2/models/void_invoice_request.rb +203 -0
  220. data/lib/subskribe_dev2/models/void_payment_json.rb +235 -0
  221. data/lib/subskribe_dev2/version.rb +15 -0
  222. data/lib/subskribe_dev2.rb +230 -0
  223. data/lib/subskribe_sandbox/api/accounts_api.rb +3 -3
  224. data/lib/subskribe_sandbox/api/billing_api.rb +35 -35
  225. data/lib/subskribe_sandbox/models/automated_invoice_rule.rb +49 -49
  226. data/lib/subskribe_sandbox/models/bulk_payment_upload_data.rb +46 -46
  227. data/lib/subskribe_sandbox/models/charge_json.rb +16 -16
  228. data/lib/subskribe_sandbox/models/paginated_accounts_response.rb +204 -0
  229. data/lib/subskribe_sandbox/models/tax_jar_integration.rb +31 -31
  230. data/lib/subskribe_sandbox/version.rb +1 -1
  231. data/lib/subskribe_sandbox.rb +1 -0
  232. data/lib/swagger_client/api/accounting_api.rb +193 -0
  233. data/lib/swagger_client/api/accounts_api.rb +858 -0
  234. data/lib/swagger_client/api/approvals_api.rb +965 -0
  235. data/lib/swagger_client/api/attachments_api.rb +299 -0
  236. data/lib/swagger_client/api/authentication_api.rb +335 -0
  237. data/lib/swagger_client/api/billing_api.rb +2098 -0
  238. data/lib/swagger_client/api/credit_memo_api.rb +636 -0
  239. data/lib/swagger_client/api/custom_field_api.rb +434 -0
  240. data/lib/swagger_client/api/customization_api.rb +269 -0
  241. data/lib/swagger_client/api/default_api.rb +223 -0
  242. data/lib/swagger_client/api/discounts_api.rb +340 -0
  243. data/lib/swagger_client/api/entities_api.rb +532 -0
  244. data/lib/swagger_client/api/erp_api.rb +278 -0
  245. data/lib/swagger_client/api/import_api.rb +568 -0
  246. data/lib/swagger_client/api/integrations_api.rb +1678 -0
  247. data/lib/swagger_client/api/metrics_reporting_api.rb +223 -0
  248. data/lib/swagger_client/api/notifications_api.rb +245 -0
  249. data/lib/swagger_client/api/opportunity_api.rb +177 -0
  250. data/lib/swagger_client/api/orders_api.rb +1381 -0
  251. data/lib/swagger_client/api/payments_api.rb +431 -0
  252. data/lib/swagger_client/api/product_catalog_api.rb +1886 -0
  253. data/lib/swagger_client/api/rate_card_api.rb +68 -0
  254. data/lib/swagger_client/api/refunds_api.rb +189 -0
  255. data/lib/swagger_client/api/reports_api.rb +227 -0
  256. data/lib/swagger_client/api/revenue_recognition_api.rb +484 -0
  257. data/lib/swagger_client/api/sales_room_api.rb +74 -0
  258. data/lib/swagger_client/api/settings_api.rb +1321 -0
  259. data/lib/swagger_client/api/subscriptions_api.rb +576 -0
  260. data/lib/swagger_client/api/usage_api.rb +604 -0
  261. data/lib/swagger_client/api/users_api.rb +728 -0
  262. data/lib/swagger_client/api_client.rb +391 -0
  263. data/lib/swagger_client/api_error.rb +38 -0
  264. data/lib/swagger_client/configuration.rb +209 -0
  265. data/lib/swagger_client/models/account_address.rb +265 -0
  266. data/lib/swagger_client/models/account_address_json.rb +229 -0
  267. data/lib/swagger_client/models/account_contact.rb +530 -0
  268. data/lib/swagger_client/models/account_contact_json.rb +274 -0
  269. data/lib/swagger_client/models/account_json.rb +395 -0
  270. data/lib/swagger_client/models/account_payment_method_json.rb +268 -0
  271. data/lib/swagger_client/models/account_receivable_contact_json.rb +225 -0
  272. data/lib/swagger_client/models/accounting_event.rb +319 -0
  273. data/lib/swagger_client/models/accounting_event_paginated_response.rb +204 -0
  274. data/lib/swagger_client/models/accounting_period.rb +356 -0
  275. data/lib/swagger_client/models/accounting_period_calculation.rb +229 -0
  276. data/lib/swagger_client/models/add_and_apply_payment_application_json.rb +344 -0
  277. data/lib/swagger_client/models/anrok_integration_input.rb +184 -0
  278. data/lib/swagger_client/models/approval_matrix_import_data_json.rb +229 -0
  279. data/lib/swagger_client/models/approval_matrix_import_preview.rb +226 -0
  280. data/lib/swagger_client/models/approval_role_json.rb +220 -0
  281. data/lib/swagger_client/models/approval_role_segment_change.rb +211 -0
  282. data/lib/swagger_client/models/approval_segment_json.rb +220 -0
  283. data/lib/swagger_client/models/attachment.rb +326 -0
  284. data/lib/swagger_client/models/attribute_reference.rb +193 -0
  285. data/lib/swagger_client/models/auth_saml_integration_json.rb +204 -0
  286. data/lib/swagger_client/models/automated_invoice_rule.rb +328 -0
  287. data/lib/swagger_client/models/automated_invoice_rule_request_json.rb +307 -0
  288. data/lib/swagger_client/models/avalara_integration.rb +238 -0
  289. data/lib/swagger_client/models/avalara_integration_input.rb +268 -0
  290. data/lib/swagger_client/models/billing_event_entry.rb +211 -0
  291. data/lib/swagger_client/models/billing_event_input.rb +216 -0
  292. data/lib/swagger_client/models/bulk_invoice_run.rb +350 -0
  293. data/lib/swagger_client/models/bulk_invoice_run_exclusions.rb +197 -0
  294. data/lib/swagger_client/models/bulk_invoice_run_input.rb +263 -0
  295. data/lib/swagger_client/models/bulk_invoice_run_item.rb +364 -0
  296. data/lib/swagger_client/models/bulk_invoice_run_selector.rb +184 -0
  297. data/lib/swagger_client/models/bulk_payment_upload_data.rb +274 -0
  298. data/lib/swagger_client/models/bulk_payment_upload_result.rb +204 -0
  299. data/lib/swagger_client/models/byte_buffer.rb +247 -0
  300. data/lib/swagger_client/models/catalog_relationship.rb +364 -0
  301. data/lib/swagger_client/models/charge_json.rb +631 -0
  302. data/lib/swagger_client/models/charge_partial_json.rb +310 -0
  303. data/lib/swagger_client/models/company_contact_json.rb +225 -0
  304. data/lib/swagger_client/models/credit_memo_application_json.rb +239 -0
  305. data/lib/swagger_client/models/credit_memo_balance_json.rb +211 -0
  306. data/lib/swagger_client/models/credit_memo_json.rb +363 -0
  307. data/lib/swagger_client/models/credit_memo_line_item_json.rb +252 -0
  308. data/lib/swagger_client/models/credit_memo_line_item_request_json.rb +211 -0
  309. data/lib/swagger_client/models/credit_memo_pagination_response_json.rb +204 -0
  310. data/lib/swagger_client/models/crm_account_import_response.rb +193 -0
  311. data/lib/swagger_client/models/custom_field_default.rb +195 -0
  312. data/lib/swagger_client/models/custom_field_definition_create_input.rb +317 -0
  313. data/lib/swagger_client/models/custom_field_definition_json.rb +313 -0
  314. data/lib/swagger_client/models/custom_field_definition_update_input.rb +256 -0
  315. data/lib/swagger_client/models/custom_field_entry.rb +325 -0
  316. data/lib/swagger_client/models/custom_field_update_input.rb +195 -0
  317. data/lib/swagger_client/models/custom_field_value.rb +316 -0
  318. data/lib/swagger_client/models/data_import.rb +355 -0
  319. data/lib/swagger_client/models/discount_detail_json.rb +263 -0
  320. data/lib/swagger_client/models/discount_json.rb +254 -0
  321. data/lib/swagger_client/models/docu_sign_integration_request_json.rb +236 -0
  322. data/lib/swagger_client/models/docu_sign_integration_response_json.rb +245 -0
  323. data/lib/swagger_client/models/document_custom_content.rb +211 -0
  324. data/lib/swagger_client/models/document_section.rb +265 -0
  325. data/lib/swagger_client/models/document_template_json.rb +300 -0
  326. data/lib/swagger_client/models/dunning_setting_json.rb +200 -0
  327. data/lib/swagger_client/models/email_notifiers_list.rb +208 -0
  328. data/lib/swagger_client/models/entity.rb +356 -0
  329. data/lib/swagger_client/models/entity_json.rb +347 -0
  330. data/lib/swagger_client/models/entity_ref.rb +202 -0
  331. data/lib/swagger_client/models/entry.rb +202 -0
  332. data/lib/swagger_client/models/external_arr_schedule_json.rb +319 -0
  333. data/lib/swagger_client/models/flatfile_workbook_response.rb +184 -0
  334. data/lib/swagger_client/models/flatfile_workbook_response_data.rb +193 -0
  335. data/lib/swagger_client/models/input_stream.rb +175 -0
  336. data/lib/swagger_client/models/integration.rb +311 -0
  337. data/lib/swagger_client/models/invoice_balance_json.rb +211 -0
  338. data/lib/swagger_client/models/invoice_item_json.rb +355 -0
  339. data/lib/swagger_client/models/invoice_item_preview_json.rb +229 -0
  340. data/lib/swagger_client/models/invoice_json.rb +439 -0
  341. data/lib/swagger_client/models/invoice_json_pagination_response.rb +204 -0
  342. data/lib/swagger_client/models/invoice_number_prefix.rb +184 -0
  343. data/lib/swagger_client/models/invoice_preview_json.rb +222 -0
  344. data/lib/swagger_client/models/ledger_account.rb +316 -0
  345. data/lib/swagger_client/models/ledger_account_mapping.rb +222 -0
  346. data/lib/swagger_client/models/metrics_json.rb +267 -0
  347. data/lib/swagger_client/models/notification_target_and_subscriptions.rb +265 -0
  348. data/lib/swagger_client/models/number_config.rb +254 -0
  349. data/lib/swagger_client/models/opportunity.rb +326 -0
  350. data/lib/swagger_client/models/opportunity_json.rb +326 -0
  351. data/lib/swagger_client/models/opportunity_pagination_response.rb +204 -0
  352. data/lib/swagger_client/models/opportunity_rest_json.rb +317 -0
  353. data/lib/swagger_client/models/order_json.rb +754 -0
  354. data/lib/swagger_client/models/order_json_pagination_response.rb +204 -0
  355. data/lib/swagger_client/models/order_line_item_json.rb +474 -0
  356. data/lib/swagger_client/models/order_line_item_request_json.rb +384 -0
  357. data/lib/swagger_client/models/order_request_json.rb +616 -0
  358. data/lib/swagger_client/models/order_terms.rb +265 -0
  359. data/lib/swagger_client/models/paginated_accounts_response.rb +204 -0
  360. data/lib/swagger_client/models/paginated_response.rb +204 -0
  361. data/lib/swagger_client/models/payment_balance_json.rb +211 -0
  362. data/lib/swagger_client/models/payment_configuration.rb +208 -0
  363. data/lib/swagger_client/models/payment_json.rb +300 -0
  364. data/lib/swagger_client/models/payment_json_pagination_response.rb +204 -0
  365. data/lib/swagger_client/models/payment_term_settings_json.rb +219 -0
  366. data/lib/swagger_client/models/plan_json.rb +339 -0
  367. data/lib/swagger_client/models/plan_json_pagination_response.rb +204 -0
  368. data/lib/swagger_client/models/plan_metadata_json.rb +187 -0
  369. data/lib/swagger_client/models/predefined_report_def_chart_json.rb +265 -0
  370. data/lib/swagger_client/models/predefined_report_def_json.rb +222 -0
  371. data/lib/swagger_client/models/predefined_report_defs_json.rb +186 -0
  372. data/lib/swagger_client/models/predefined_report_json.rb +213 -0
  373. data/lib/swagger_client/models/predefined_report_param.rb +296 -0
  374. data/lib/swagger_client/models/predefined_report_param_object.rb +296 -0
  375. data/lib/swagger_client/models/prepaid_stats.rb +310 -0
  376. data/lib/swagger_client/models/price_tier_json.rb +212 -0
  377. data/lib/swagger_client/models/product_category.rb +264 -0
  378. data/lib/swagger_client/models/product_category_pagination_response.rb +204 -0
  379. data/lib/swagger_client/models/product_input_json.rb +249 -0
  380. data/lib/swagger_client/models/product_json.rb +276 -0
  381. data/lib/swagger_client/models/product_json_pagination_response.rb +204 -0
  382. data/lib/swagger_client/models/purchase_order.rb +226 -0
  383. data/lib/swagger_client/models/raw_usage.rb +247 -0
  384. data/lib/swagger_client/models/raw_usages_data.rb +192 -0
  385. data/lib/swagger_client/models/recognition_event_completion.rb +322 -0
  386. data/lib/swagger_client/models/recognition_rule.rb +376 -0
  387. data/lib/swagger_client/models/recurrence_json.rb +256 -0
  388. data/lib/swagger_client/models/refund.rb +301 -0
  389. data/lib/swagger_client/models/refund_detail.rb +322 -0
  390. data/lib/swagger_client/models/refund_request_json.rb +272 -0
  391. data/lib/swagger_client/models/report_duration.rb +193 -0
  392. data/lib/swagger_client/models/report_job_response.rb +245 -0
  393. data/lib/swagger_client/models/salesforce_account.rb +229 -0
  394. data/lib/swagger_client/models/salesforce_account_billing_address.rb +220 -0
  395. data/lib/swagger_client/models/salesforce_client_integration_request_json.rb +211 -0
  396. data/lib/swagger_client/models/settlement_application.rb +329 -0
  397. data/lib/swagger_client/models/standalone_credit_memo_request.rb +353 -0
  398. data/lib/swagger_client/models/subscription_charge_alias.rb +283 -0
  399. data/lib/swagger_client/models/subscription_charge_json.rb +362 -0
  400. data/lib/swagger_client/models/subscription_json.rb +583 -0
  401. data/lib/swagger_client/models/subscription_update_json.rb +280 -0
  402. data/lib/swagger_client/models/tax_jar_integration.rb +238 -0
  403. data/lib/swagger_client/models/tax_jar_integration_input.rb +193 -0
  404. data/lib/swagger_client/models/tax_rate_json.rb +286 -0
  405. data/lib/swagger_client/models/tax_rate_pagination_response_json.rb +204 -0
  406. data/lib/swagger_client/models/tenant_credit_memo_configuration_json.rb +211 -0
  407. data/lib/swagger_client/models/tenant_discount_json.rb +193 -0
  408. data/lib/swagger_client/models/tenant_discount_line_item_json.rb +202 -0
  409. data/lib/swagger_client/models/tenant_invoice_config.rb +254 -0
  410. data/lib/swagger_client/models/tenant_json.rb +283 -0
  411. data/lib/swagger_client/models/tenant_setting_json.rb +307 -0
  412. data/lib/swagger_client/models/time_series_amount_json.rb +193 -0
  413. data/lib/swagger_client/models/time_zone.rb +211 -0
  414. data/lib/swagger_client/models/unit_of_measure_json.rb +250 -0
  415. data/lib/swagger_client/models/unit_of_measure_pagination_response_json.rb +204 -0
  416. data/lib/swagger_client/models/update_invoice_request.rb +282 -0
  417. data/lib/swagger_client/models/usage_aggregate_output.rb +258 -0
  418. data/lib/swagger_client/models/usage_batch_insert_result.rb +213 -0
  419. data/lib/swagger_client/models/user_group_json.rb +224 -0
  420. data/lib/swagger_client/models/user_group_request_json.rb +224 -0
  421. data/lib/swagger_client/models/user_input.rb +304 -0
  422. data/lib/swagger_client/models/user_json.rb +376 -0
  423. data/lib/swagger_client/models/user_pagination_response_json.rb +204 -0
  424. data/lib/swagger_client/models/void_invoice_request.rb +203 -0
  425. data/lib/swagger_client/models/void_payment_json.rb +235 -0
  426. data/lib/swagger_client/version.rb +15 -0
  427. data/lib/swagger_client.rb +230 -0
  428. data/spec/models/paginated_accounts_response_spec.rb +53 -0
  429. data/spec/models/plan_metadata_json_spec.rb +3 -3
  430. data/subskribe_dev-1.3.1.gem +0 -0
  431. data/subskribe_dev.gemspec +4 -4
  432. data/subskribe_dev2-1.3.2.gem +0 -0
  433. data/subskribe_dev2.gemspec +46 -0
  434. data/subskribe_sandbox.gemspec +3 -3
  435. data/swagger_client.gemspec +46 -0
  436. metadata +589 -187
@@ -238,25 +238,31 @@ module SubskribeDevClient
238
238
  end
239
239
  return data, status_code, headers
240
240
  end
241
- # Get revenue recognition rules
242
- # Get revenue recognition rules.
241
+ # Get revenue recognition rule
242
+ # Get a revenue recognition rule using id.
243
+ # @param id id of the recognition rule
243
244
  # @param [Hash] opts the optional parameters
244
245
  # @return [nil]
245
- def get_recognition_rule_by_id(opts = {})
246
- get_recognition_rule_by_id_with_http_info(opts)
246
+ def get_recognition_rule_by_id(id, opts = {})
247
+ get_recognition_rule_by_id_with_http_info(id, opts)
247
248
  nil
248
249
  end
249
250
 
250
- # Get revenue recognition rules
251
- # Get revenue recognition rules.
251
+ # Get revenue recognition rule
252
+ # Get a revenue recognition rule using id.
253
+ # @param id id of the recognition rule
252
254
  # @param [Hash] opts the optional parameters
253
255
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
254
- def get_recognition_rule_by_id_with_http_info(opts = {})
256
+ def get_recognition_rule_by_id_with_http_info(id, opts = {})
255
257
  if @api_client.config.debugging
256
258
  @api_client.config.logger.debug 'Calling API: RevenueRecognitionApi.get_recognition_rule_by_id ...'
257
259
  end
260
+ # verify the required parameter 'id' is set
261
+ if @api_client.config.client_side_validation && id.nil?
262
+ fail ArgumentError, "Missing the required parameter 'id' when calling RevenueRecognitionApi.get_recognition_rule_by_id"
263
+ end
258
264
  # resource path
259
- local_var_path = '/revrec/rules'
265
+ local_var_path = '/revrec/rules/{id}'.sub('{' + 'id' + '}', id.to_s)
260
266
 
261
267
  # query parameters
262
268
  query_params = {}
@@ -283,31 +289,25 @@ module SubskribeDevClient
283
289
  end
284
290
  return data, status_code, headers
285
291
  end
286
- # Get revenue recognition rule
287
- # Get a revenue recognition rule using id.
288
- # @param id id of the recognition rule
292
+ # Get revenue recognition rules
293
+ # Get revenue recognition rules.
289
294
  # @param [Hash] opts the optional parameters
290
295
  # @return [nil]
291
- def get_recognition_rule_by_id1(id, opts = {})
292
- get_recognition_rule_by_id1_with_http_info(id, opts)
296
+ def get_recognition_rule_by_id1(opts = {})
297
+ get_recognition_rule_by_id1_with_http_info(opts)
293
298
  nil
294
299
  end
295
300
 
296
- # Get revenue recognition rule
297
- # Get a revenue recognition rule using id.
298
- # @param id id of the recognition rule
301
+ # Get revenue recognition rules
302
+ # Get revenue recognition rules.
299
303
  # @param [Hash] opts the optional parameters
300
304
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
301
- def get_recognition_rule_by_id1_with_http_info(id, opts = {})
305
+ def get_recognition_rule_by_id1_with_http_info(opts = {})
302
306
  if @api_client.config.debugging
303
307
  @api_client.config.logger.debug 'Calling API: RevenueRecognitionApi.get_recognition_rule_by_id1 ...'
304
308
  end
305
- # verify the required parameter 'id' is set
306
- if @api_client.config.client_side_validation && id.nil?
307
- fail ArgumentError, "Missing the required parameter 'id' when calling RevenueRecognitionApi.get_recognition_rule_by_id1"
308
- end
309
309
  # resource path
310
- local_var_path = '/revrec/rules/{id}'.sub('{' + 'id' + '}', id.to_s)
310
+ local_var_path = '/revrec/rules'
311
311
 
312
312
  # query parameters
313
313
  query_params = {}
@@ -30,10 +30,6 @@ module SubskribeDevClient
30
30
 
31
31
  attr_accessor :last_execution_date
32
32
 
33
- attr_accessor :cron_expression_meaning
34
-
35
- attr_accessor :next_execution_date
36
-
37
33
  attr_accessor :target_duration
38
34
 
39
35
  attr_accessor :invoice_duration
@@ -48,6 +44,10 @@ module SubskribeDevClient
48
44
 
49
45
  attr_accessor :first_execution_date
50
46
 
47
+ attr_accessor :cron_expression_meaning
48
+
49
+ attr_accessor :next_execution_date
50
+
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
@@ -59,15 +59,15 @@ module SubskribeDevClient
59
59
  :'updated_on' => :'updatedOn',
60
60
  :'created_on' => :'createdOn',
61
61
  :'last_execution_date' => :'lastExecutionDate',
62
- :'cron_expression_meaning' => :'cronExpressionMeaning',
63
- :'next_execution_date' => :'nextExecutionDate',
64
62
  :'target_duration' => :'targetDuration',
65
63
  :'invoice_duration' => :'invoiceDuration',
66
64
  :'include_usage_charge' => :'includeUsageCharge',
67
65
  :'include_non_usage_charge' => :'includeNonUsageCharge',
68
66
  :'auto_post_invoice' => :'autoPostInvoice',
69
67
  :'auto_email_invoice' => :'autoEmailInvoice',
70
- :'first_execution_date' => :'firstExecutionDate'
68
+ :'first_execution_date' => :'firstExecutionDate',
69
+ :'cron_expression_meaning' => :'cronExpressionMeaning',
70
+ :'next_execution_date' => :'nextExecutionDate'
71
71
  }
72
72
  end
73
73
 
@@ -82,15 +82,15 @@ module SubskribeDevClient
82
82
  :'updated_on' => :'Integer',
83
83
  :'created_on' => :'Integer',
84
84
  :'last_execution_date' => :'Integer',
85
- :'cron_expression_meaning' => :'String',
86
- :'next_execution_date' => :'Integer',
87
85
  :'target_duration' => :'Integer',
88
86
  :'invoice_duration' => :'Integer',
89
87
  :'include_usage_charge' => :'BOOLEAN',
90
88
  :'include_non_usage_charge' => :'BOOLEAN',
91
89
  :'auto_post_invoice' => :'BOOLEAN',
92
90
  :'auto_email_invoice' => :'BOOLEAN',
93
- :'first_execution_date' => :'Integer'
91
+ :'first_execution_date' => :'Integer',
92
+ :'cron_expression_meaning' => :'String',
93
+ :'next_execution_date' => :'Integer'
94
94
  }
95
95
  end
96
96
 
@@ -134,14 +134,6 @@ module SubskribeDevClient
134
134
  self.last_execution_date = attributes[:'lastExecutionDate']
135
135
  end
136
136
 
137
- if attributes.has_key?(:'cronExpressionMeaning')
138
- self.cron_expression_meaning = attributes[:'cronExpressionMeaning']
139
- end
140
-
141
- if attributes.has_key?(:'nextExecutionDate')
142
- self.next_execution_date = attributes[:'nextExecutionDate']
143
- end
144
-
145
137
  if attributes.has_key?(:'targetDuration')
146
138
  self.target_duration = attributes[:'targetDuration']
147
139
  end
@@ -169,6 +161,14 @@ module SubskribeDevClient
169
161
  if attributes.has_key?(:'firstExecutionDate')
170
162
  self.first_execution_date = attributes[:'firstExecutionDate']
171
163
  end
164
+
165
+ if attributes.has_key?(:'cronExpressionMeaning')
166
+ self.cron_expression_meaning = attributes[:'cronExpressionMeaning']
167
+ end
168
+
169
+ if attributes.has_key?(:'nextExecutionDate')
170
+ self.next_execution_date = attributes[:'nextExecutionDate']
171
+ end
172
172
  end
173
173
 
174
174
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -197,15 +197,15 @@ module SubskribeDevClient
197
197
  updated_on == o.updated_on &&
198
198
  created_on == o.created_on &&
199
199
  last_execution_date == o.last_execution_date &&
200
- cron_expression_meaning == o.cron_expression_meaning &&
201
- next_execution_date == o.next_execution_date &&
202
200
  target_duration == o.target_duration &&
203
201
  invoice_duration == o.invoice_duration &&
204
202
  include_usage_charge == o.include_usage_charge &&
205
203
  include_non_usage_charge == o.include_non_usage_charge &&
206
204
  auto_post_invoice == o.auto_post_invoice &&
207
205
  auto_email_invoice == o.auto_email_invoice &&
208
- first_execution_date == o.first_execution_date
206
+ first_execution_date == o.first_execution_date &&
207
+ cron_expression_meaning == o.cron_expression_meaning &&
208
+ next_execution_date == o.next_execution_date
209
209
  end
210
210
 
211
211
  # @see the `==` method
@@ -217,7 +217,7 @@ module SubskribeDevClient
217
217
  # Calculates hash code according to all attributes.
218
218
  # @return [Fixnum] Hash code
219
219
  def hash
220
- [name, id, enabled, description, cron_expression, updated_on, created_on, last_execution_date, cron_expression_meaning, next_execution_date, target_duration, invoice_duration, include_usage_charge, include_non_usage_charge, auto_post_invoice, auto_email_invoice, first_execution_date].hash
220
+ [name, id, enabled, description, cron_expression, updated_on, created_on, last_execution_date, target_duration, invoice_duration, include_usage_charge, include_non_usage_charge, auto_post_invoice, auto_email_invoice, first_execution_date, cron_expression_meaning, next_execution_date].hash
221
221
  end
222
222
 
223
223
  # Builds the object from hash
@@ -44,10 +44,6 @@ module SubskribeDevClient
44
44
 
45
45
  attr_accessor :updated_on
46
46
 
47
- attr_accessor :included_for_emailing
48
-
49
- attr_accessor :invoice_posted
50
-
51
47
  attr_accessor :draft_invoice_generated
52
48
 
53
49
  attr_accessor :included_for_posting
@@ -56,6 +52,10 @@ module SubskribeDevClient
56
52
 
57
53
  attr_accessor :draft_invoice_not_generated
58
54
 
55
+ attr_accessor :included_for_emailing
56
+
57
+ attr_accessor :invoice_posted
58
+
59
59
  # Attribute mapping from ruby-style variable name to JSON key.
60
60
  def self.attribute_map
61
61
  {
@@ -74,12 +74,12 @@ module SubskribeDevClient
74
74
  :'email_sent' => :'emailSent',
75
75
  :'created_on' => :'createdOn',
76
76
  :'updated_on' => :'updatedOn',
77
- :'included_for_emailing' => :'includedForEmailing',
78
- :'invoice_posted' => :'invoicePosted',
79
77
  :'draft_invoice_generated' => :'draftInvoiceGenerated',
80
78
  :'included_for_posting' => :'includedForPosting',
81
79
  :'invoice_not_posted' => :'invoiceNotPosted',
82
- :'draft_invoice_not_generated' => :'draftInvoiceNotGenerated'
80
+ :'draft_invoice_not_generated' => :'draftInvoiceNotGenerated',
81
+ :'included_for_emailing' => :'includedForEmailing',
82
+ :'invoice_posted' => :'invoicePosted'
83
83
  }
84
84
  end
85
85
 
@@ -101,12 +101,12 @@ module SubskribeDevClient
101
101
  :'email_sent' => :'BOOLEAN',
102
102
  :'created_on' => :'Integer',
103
103
  :'updated_on' => :'Integer',
104
- :'included_for_emailing' => :'BOOLEAN',
105
- :'invoice_posted' => :'BOOLEAN',
106
104
  :'draft_invoice_generated' => :'BOOLEAN',
107
105
  :'included_for_posting' => :'BOOLEAN',
108
106
  :'invoice_not_posted' => :'BOOLEAN',
109
- :'draft_invoice_not_generated' => :'BOOLEAN'
107
+ :'draft_invoice_not_generated' => :'BOOLEAN',
108
+ :'included_for_emailing' => :'BOOLEAN',
109
+ :'invoice_posted' => :'BOOLEAN'
110
110
  }
111
111
  end
112
112
 
@@ -178,14 +178,6 @@ module SubskribeDevClient
178
178
  self.updated_on = attributes[:'updatedOn']
179
179
  end
180
180
 
181
- if attributes.has_key?(:'includedForEmailing')
182
- self.included_for_emailing = attributes[:'includedForEmailing']
183
- end
184
-
185
- if attributes.has_key?(:'invoicePosted')
186
- self.invoice_posted = attributes[:'invoicePosted']
187
- end
188
-
189
181
  if attributes.has_key?(:'draftInvoiceGenerated')
190
182
  self.draft_invoice_generated = attributes[:'draftInvoiceGenerated']
191
183
  end
@@ -201,6 +193,14 @@ module SubskribeDevClient
201
193
  if attributes.has_key?(:'draftInvoiceNotGenerated')
202
194
  self.draft_invoice_not_generated = attributes[:'draftInvoiceNotGenerated']
203
195
  end
196
+
197
+ if attributes.has_key?(:'includedForEmailing')
198
+ self.included_for_emailing = attributes[:'includedForEmailing']
199
+ end
200
+
201
+ if attributes.has_key?(:'invoicePosted')
202
+ self.invoice_posted = attributes[:'invoicePosted']
203
+ end
204
204
  end
205
205
 
206
206
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -236,12 +236,12 @@ module SubskribeDevClient
236
236
  email_sent == o.email_sent &&
237
237
  created_on == o.created_on &&
238
238
  updated_on == o.updated_on &&
239
- included_for_emailing == o.included_for_emailing &&
240
- invoice_posted == o.invoice_posted &&
241
239
  draft_invoice_generated == o.draft_invoice_generated &&
242
240
  included_for_posting == o.included_for_posting &&
243
241
  invoice_not_posted == o.invoice_not_posted &&
244
- draft_invoice_not_generated == o.draft_invoice_not_generated
242
+ draft_invoice_not_generated == o.draft_invoice_not_generated &&
243
+ included_for_emailing == o.included_for_emailing &&
244
+ invoice_posted == o.invoice_posted
245
245
  end
246
246
 
247
247
  # @see the `==` method
@@ -253,7 +253,7 @@ module SubskribeDevClient
253
253
  # Calculates hash code according to all attributes.
254
254
  # @return [Fixnum] Hash code
255
255
  def hash
256
- [run_id, account_id, account_name, subscription_id, draft_invoice_number, posted_invoice_number, invoice_created_on, invoice_currency_code, invoice_amount, failure_reason, excluded_for_posting, excluded_for_emailing, email_sent, created_on, updated_on, included_for_emailing, invoice_posted, draft_invoice_generated, included_for_posting, invoice_not_posted, draft_invoice_not_generated].hash
256
+ [run_id, account_id, account_name, subscription_id, draft_invoice_number, posted_invoice_number, invoice_created_on, invoice_currency_code, invoice_amount, failure_reason, excluded_for_posting, excluded_for_emailing, email_sent, created_on, updated_on, draft_invoice_generated, included_for_posting, invoice_not_posted, draft_invoice_not_generated, included_for_emailing, invoice_posted].hash
257
257
  end
258
258
 
259
259
  # Builds the object from hash
@@ -20,36 +20,36 @@ module SubskribeDevClient
20
20
 
21
21
  attr_accessor :amount
22
22
 
23
- attr_accessor :invoice_number
24
-
25
23
  attr_accessor :note
26
24
 
27
- attr_accessor :payment_method
28
-
29
25
  attr_accessor :payment_date
30
26
 
31
27
  attr_accessor :payment_method_id
32
28
 
33
- attr_accessor :original_invoice_balance
29
+ attr_accessor :payment_method
34
30
 
35
- attr_accessor :failure_reason
31
+ attr_accessor :invoice_number
32
+
33
+ attr_accessor :original_invoice_balance
36
34
 
37
35
  attr_accessor :new_invoice_balance
38
36
 
37
+ attr_accessor :failure_reason
38
+
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
40
40
  def self.attribute_map
41
41
  {
42
42
  :'currency_code' => :'currencyCode',
43
43
  :'failed' => :'failed',
44
44
  :'amount' => :'amount',
45
- :'invoice_number' => :'invoiceNumber',
46
45
  :'note' => :'note',
47
- :'payment_method' => :'paymentMethod',
48
46
  :'payment_date' => :'paymentDate',
49
47
  :'payment_method_id' => :'paymentMethodId',
48
+ :'payment_method' => :'paymentMethod',
49
+ :'invoice_number' => :'invoiceNumber',
50
50
  :'original_invoice_balance' => :'originalInvoiceBalance',
51
- :'failure_reason' => :'failureReason',
52
- :'new_invoice_balance' => :'newInvoiceBalance'
51
+ :'new_invoice_balance' => :'newInvoiceBalance',
52
+ :'failure_reason' => :'failureReason'
53
53
  }
54
54
  end
55
55
 
@@ -59,14 +59,14 @@ module SubskribeDevClient
59
59
  :'currency_code' => :'String',
60
60
  :'failed' => :'BOOLEAN',
61
61
  :'amount' => :'Float',
62
- :'invoice_number' => :'String',
63
62
  :'note' => :'String',
64
- :'payment_method' => :'String',
65
63
  :'payment_date' => :'Integer',
66
64
  :'payment_method_id' => :'String',
65
+ :'payment_method' => :'String',
66
+ :'invoice_number' => :'String',
67
67
  :'original_invoice_balance' => :'Float',
68
- :'failure_reason' => :'String',
69
- :'new_invoice_balance' => :'Float'
68
+ :'new_invoice_balance' => :'Float',
69
+ :'failure_reason' => :'String'
70
70
  }
71
71
  end
72
72
 
@@ -90,18 +90,10 @@ module SubskribeDevClient
90
90
  self.amount = attributes[:'amount']
91
91
  end
92
92
 
93
- if attributes.has_key?(:'invoiceNumber')
94
- self.invoice_number = attributes[:'invoiceNumber']
95
- end
96
-
97
93
  if attributes.has_key?(:'note')
98
94
  self.note = attributes[:'note']
99
95
  end
100
96
 
101
- if attributes.has_key?(:'paymentMethod')
102
- self.payment_method = attributes[:'paymentMethod']
103
- end
104
-
105
97
  if attributes.has_key?(:'paymentDate')
106
98
  self.payment_date = attributes[:'paymentDate']
107
99
  end
@@ -110,17 +102,25 @@ module SubskribeDevClient
110
102
  self.payment_method_id = attributes[:'paymentMethodId']
111
103
  end
112
104
 
113
- if attributes.has_key?(:'originalInvoiceBalance')
114
- self.original_invoice_balance = attributes[:'originalInvoiceBalance']
105
+ if attributes.has_key?(:'paymentMethod')
106
+ self.payment_method = attributes[:'paymentMethod']
115
107
  end
116
108
 
117
- if attributes.has_key?(:'failureReason')
118
- self.failure_reason = attributes[:'failureReason']
109
+ if attributes.has_key?(:'invoiceNumber')
110
+ self.invoice_number = attributes[:'invoiceNumber']
111
+ end
112
+
113
+ if attributes.has_key?(:'originalInvoiceBalance')
114
+ self.original_invoice_balance = attributes[:'originalInvoiceBalance']
119
115
  end
120
116
 
121
117
  if attributes.has_key?(:'newInvoiceBalance')
122
118
  self.new_invoice_balance = attributes[:'newInvoiceBalance']
123
119
  end
120
+
121
+ if attributes.has_key?(:'failureReason')
122
+ self.failure_reason = attributes[:'failureReason']
123
+ end
124
124
  end
125
125
 
126
126
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -144,14 +144,14 @@ module SubskribeDevClient
144
144
  currency_code == o.currency_code &&
145
145
  failed == o.failed &&
146
146
  amount == o.amount &&
147
- invoice_number == o.invoice_number &&
148
147
  note == o.note &&
149
- payment_method == o.payment_method &&
150
148
  payment_date == o.payment_date &&
151
149
  payment_method_id == o.payment_method_id &&
150
+ payment_method == o.payment_method &&
151
+ invoice_number == o.invoice_number &&
152
152
  original_invoice_balance == o.original_invoice_balance &&
153
- failure_reason == o.failure_reason &&
154
- new_invoice_balance == o.new_invoice_balance
153
+ new_invoice_balance == o.new_invoice_balance &&
154
+ failure_reason == o.failure_reason
155
155
  end
156
156
 
157
157
  # @see the `==` method
@@ -163,7 +163,7 @@ module SubskribeDevClient
163
163
  # Calculates hash code according to all attributes.
164
164
  # @return [Fixnum] Hash code
165
165
  def hash
166
- [currency_code, failed, amount, invoice_number, note, payment_method, payment_date, payment_method_id, original_invoice_balance, failure_reason, new_invoice_balance].hash
166
+ [currency_code, failed, amount, note, payment_date, payment_method_id, payment_method, invoice_number, original_invoice_balance, new_invoice_balance, failure_reason].hash
167
167
  end
168
168
 
169
169
  # Builds the object from hash
@@ -14,27 +14,27 @@ require 'date'
14
14
 
15
15
  module SubskribeDevClient
16
16
  class BulkPaymentUploadResult
17
+ attr_accessor :payments_request_count
18
+
17
19
  attr_accessor :failed_payments_count
18
20
 
19
21
  attr_accessor :bulk_payment_upload_data
20
22
 
21
- attr_accessor :payments_request_count
22
-
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
+ :'payments_request_count' => :'paymentsRequestCount',
26
27
  :'failed_payments_count' => :'failedPaymentsCount',
27
- :'bulk_payment_upload_data' => :'bulkPaymentUploadData',
28
- :'payments_request_count' => :'paymentsRequestCount'
28
+ :'bulk_payment_upload_data' => :'bulkPaymentUploadData'
29
29
  }
30
30
  end
31
31
 
32
32
  # Attribute type mapping.
33
33
  def self.swagger_types
34
34
  {
35
+ :'payments_request_count' => :'Integer',
35
36
  :'failed_payments_count' => :'Integer',
36
- :'bulk_payment_upload_data' => :'Array<BulkPaymentUploadData>',
37
- :'payments_request_count' => :'Integer'
37
+ :'bulk_payment_upload_data' => :'Array<BulkPaymentUploadData>'
38
38
  }
39
39
  end
40
40
 
@@ -46,6 +46,10 @@ module SubskribeDevClient
46
46
  # convert string to symbol for hash key
47
47
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
48
48
 
49
+ if attributes.has_key?(:'paymentsRequestCount')
50
+ self.payments_request_count = attributes[:'paymentsRequestCount']
51
+ end
52
+
49
53
  if attributes.has_key?(:'failedPaymentsCount')
50
54
  self.failed_payments_count = attributes[:'failedPaymentsCount']
51
55
  end
@@ -55,10 +59,6 @@ module SubskribeDevClient
55
59
  self.bulk_payment_upload_data = value
56
60
  end
57
61
  end
58
-
59
- if attributes.has_key?(:'paymentsRequestCount')
60
- self.payments_request_count = attributes[:'paymentsRequestCount']
61
- end
62
62
  end
63
63
 
64
64
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -79,9 +79,9 @@ module SubskribeDevClient
79
79
  def ==(o)
80
80
  return true if self.equal?(o)
81
81
  self.class == o.class &&
82
+ payments_request_count == o.payments_request_count &&
82
83
  failed_payments_count == o.failed_payments_count &&
83
- bulk_payment_upload_data == o.bulk_payment_upload_data &&
84
- payments_request_count == o.payments_request_count
84
+ bulk_payment_upload_data == o.bulk_payment_upload_data
85
85
  end
86
86
 
87
87
  # @see the `==` method
@@ -93,7 +93,7 @@ module SubskribeDevClient
93
93
  # Calculates hash code according to all attributes.
94
94
  # @return [Fixnum] Hash code
95
95
  def hash
96
- [failed_payments_count, bulk_payment_upload_data, payments_request_count].hash
96
+ [payments_request_count, failed_payments_count, bulk_payment_upload_data].hash
97
97
  end
98
98
 
99
99
  # Builds the object from hash
@@ -86,14 +86,14 @@ module SubskribeDevClient
86
86
 
87
87
  attr_accessor :should_track_arr
88
88
 
89
- attr_accessor :custom
90
-
91
89
  attr_accessor :drawdown
92
90
 
93
- attr_accessor :event_based
91
+ attr_accessor :custom
94
92
 
95
93
  attr_accessor :list_price_editable
96
94
 
95
+ attr_accessor :event_based
96
+
97
97
  class EnumAttributeValidator
98
98
  attr_reader :datatype
99
99
  attr_reader :allowable_values
@@ -155,10 +155,10 @@ module SubskribeDevClient
155
155
  :'billing_term' => :'billingTerm',
156
156
  :'billing_cycle' => :'billingCycle',
157
157
  :'should_track_arr' => :'shouldTrackArr',
158
- :'custom' => :'custom',
159
158
  :'drawdown' => :'drawdown',
160
- :'event_based' => :'eventBased',
161
- :'list_price_editable' => :'listPriceEditable'
159
+ :'custom' => :'custom',
160
+ :'list_price_editable' => :'listPriceEditable',
161
+ :'event_based' => :'eventBased'
162
162
  }
163
163
  end
164
164
 
@@ -201,10 +201,10 @@ module SubskribeDevClient
201
201
  :'billing_term' => :'String',
202
202
  :'billing_cycle' => :'String',
203
203
  :'should_track_arr' => :'BOOLEAN',
204
- :'custom' => :'BOOLEAN',
205
204
  :'drawdown' => :'BOOLEAN',
206
- :'event_based' => :'BOOLEAN',
207
- :'list_price_editable' => :'BOOLEAN'
205
+ :'custom' => :'BOOLEAN',
206
+ :'list_price_editable' => :'BOOLEAN',
207
+ :'event_based' => :'BOOLEAN'
208
208
  }
209
209
  end
210
210
 
@@ -364,21 +364,21 @@ module SubskribeDevClient
364
364
  self.should_track_arr = attributes[:'shouldTrackArr']
365
365
  end
366
366
 
367
- if attributes.has_key?(:'custom')
368
- self.custom = attributes[:'custom']
369
- end
370
-
371
367
  if attributes.has_key?(:'drawdown')
372
368
  self.drawdown = attributes[:'drawdown']
373
369
  end
374
370
 
375
- if attributes.has_key?(:'eventBased')
376
- self.event_based = attributes[:'eventBased']
371
+ if attributes.has_key?(:'custom')
372
+ self.custom = attributes[:'custom']
377
373
  end
378
374
 
379
375
  if attributes.has_key?(:'listPriceEditable')
380
376
  self.list_price_editable = attributes[:'listPriceEditable']
381
377
  end
378
+
379
+ if attributes.has_key?(:'eventBased')
380
+ self.event_based = attributes[:'eventBased']
381
+ end
382
382
  end
383
383
 
384
384
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -505,10 +505,10 @@ module SubskribeDevClient
505
505
  billing_term == o.billing_term &&
506
506
  billing_cycle == o.billing_cycle &&
507
507
  should_track_arr == o.should_track_arr &&
508
- custom == o.custom &&
509
508
  drawdown == o.drawdown &&
510
- event_based == o.event_based &&
511
- list_price_editable == o.list_price_editable
509
+ custom == o.custom &&
510
+ list_price_editable == o.list_price_editable &&
511
+ event_based == o.event_based
512
512
  end
513
513
 
514
514
  # @see the `==` method
@@ -520,7 +520,7 @@ module SubskribeDevClient
520
520
  # Calculates hash code according to all attributes.
521
521
  # @return [Fixnum] Hash code
522
522
  def hash
523
- [id, name, display_name, description, tax_rate_id, unit_of_measure_id, is_renewable, min_quantity, default_quantity, max_quantity, external_id, min_amount, max_amount, recognition_rule_id, erp_id, plan_id, amount, type, charge_model, recurrence, price_tiers, is_drawdown, minimum_commit_base_charge_id, overage_base_charge_id, is_custom, is_list_price_editable, percent, percent_derived_from, target_plan_ids, ledger_account_mapping, duration_in_months, is_event_based, rate_card_id, billing_term, billing_cycle, should_track_arr, custom, drawdown, event_based, list_price_editable].hash
523
+ [id, name, display_name, description, tax_rate_id, unit_of_measure_id, is_renewable, min_quantity, default_quantity, max_quantity, external_id, min_amount, max_amount, recognition_rule_id, erp_id, plan_id, amount, type, charge_model, recurrence, price_tiers, is_drawdown, minimum_commit_base_charge_id, overage_base_charge_id, is_custom, is_list_price_editable, percent, percent_derived_from, target_plan_ids, ledger_account_mapping, duration_in_months, is_event_based, rate_card_id, billing_term, billing_cycle, should_track_arr, drawdown, custom, list_price_editable, event_based].hash
524
524
  end
525
525
 
526
526
  # Builds the object from hash
@@ -66,6 +66,8 @@ module SubskribeDevClient
66
66
 
67
67
  attr_accessor :custom_fields
68
68
 
69
+ attr_accessor :arr_override
70
+
69
71
  attr_accessor :dry_run_item
70
72
 
71
73
  class EnumAttributeValidator
@@ -119,6 +121,7 @@ module SubskribeDevClient
119
121
  :'effective_date' => :'effectiveDate',
120
122
  :'end_date' => :'endDate',
121
123
  :'custom_fields' => :'customFields',
124
+ :'arr_override' => :'arrOverride',
122
125
  :'dry_run_item' => :'dryRunItem'
123
126
  }
124
127
  end
@@ -152,6 +155,7 @@ module SubskribeDevClient
152
155
  :'effective_date' => :'Integer',
153
156
  :'end_date' => :'Integer',
154
157
  :'custom_fields' => :'Array<CustomFieldEntry>',
158
+ :'arr_override' => :'Float',
155
159
  :'dry_run_item' => :'BOOLEAN'
156
160
  }
157
161
  end
@@ -276,6 +280,10 @@ module SubskribeDevClient
276
280
  end
277
281
  end
278
282
 
283
+ if attributes.has_key?(:'arrOverride')
284
+ self.arr_override = attributes[:'arrOverride']
285
+ end
286
+
279
287
  if attributes.has_key?(:'dryRunItem')
280
288
  self.dry_run_item = attributes[:'dryRunItem']
281
289
  end
@@ -342,6 +350,7 @@ module SubskribeDevClient
342
350
  effective_date == o.effective_date &&
343
351
  end_date == o.end_date &&
344
352
  custom_fields == o.custom_fields &&
353
+ arr_override == o.arr_override &&
345
354
  dry_run_item == o.dry_run_item
346
355
  end
347
356
 
@@ -354,7 +363,7 @@ module SubskribeDevClient
354
363
  # Calculates hash code according to all attributes.
355
364
  # @return [Fixnum] Hash code
356
365
  def hash
357
- [id, is_dry_run_item, action, plan_id, subscription_charge_id, currency_conversion_rate_id, subscription_charge_group_id, charge_id, quantity, is_ramp, list_unit_price, sell_unit_price, discount_amount, discounts, predefined_discounts, attribute_references, amount, list_amount, annualized_amount, list_price_override_ratio, list_unit_price_before_override, list_amount_before_override, tax_estimate, effective_date, end_date, custom_fields, dry_run_item].hash
366
+ [id, is_dry_run_item, action, plan_id, subscription_charge_id, currency_conversion_rate_id, subscription_charge_group_id, charge_id, quantity, is_ramp, list_unit_price, sell_unit_price, discount_amount, discounts, predefined_discounts, attribute_references, amount, list_amount, annualized_amount, list_price_override_ratio, list_unit_price_before_override, list_amount_before_override, tax_estimate, effective_date, end_date, custom_fields, arr_override, dry_run_item].hash
358
367
  end
359
368
 
360
369
  # Builds the object from hash