maxio-advanced-billing-sdk 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (623) hide show
  1. maxio-advanced-billing-sdk-0.0.3/LICENSE +28 -0
  2. maxio-advanced-billing-sdk-0.0.3/MANIFEST.in +2 -0
  3. maxio-advanced-billing-sdk-0.0.3/PKG-INFO +389 -0
  4. maxio-advanced-billing-sdk-0.0.3/README.md +369 -0
  5. maxio-advanced-billing-sdk-0.0.3/advancedbilling/__init__.py +9 -0
  6. maxio-advanced-billing-sdk-0.0.3/advancedbilling/advanced_billing_client.py +235 -0
  7. maxio-advanced-billing-sdk-0.0.3/advancedbilling/api_helper.py +22 -0
  8. maxio-advanced-billing-sdk-0.0.3/advancedbilling/configuration.py +152 -0
  9. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/__init__.py +34 -0
  10. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/advance_invoice_controller.py +194 -0
  11. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/api_exports_controller.py +460 -0
  12. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/base_controller.py +68 -0
  13. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/billing_portal_controller.py +255 -0
  14. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/components_controller.py +1253 -0
  15. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/coupons_controller.py +1095 -0
  16. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/custom_fields_controller.py +732 -0
  17. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/customers_controller.py +430 -0
  18. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/events_based_billing_segments_controller.py +463 -0
  19. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/events_controller.py +379 -0
  20. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/insights_controller.py +293 -0
  21. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/invoices_controller.py +1411 -0
  22. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/offers_controller.py +257 -0
  23. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/payment_profiles_controller.py +978 -0
  24. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/product_families_controller.py +334 -0
  25. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/product_price_points_controller.py +745 -0
  26. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/products_controller.py +394 -0
  27. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/proforma_invoices_controller.py +569 -0
  28. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/reason_codes_controller.py +280 -0
  29. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/referral_codes_controller.py +77 -0
  30. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/sales_commissions_controller.py +312 -0
  31. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/sites_controller.py +173 -0
  32. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_components_controller.py +1472 -0
  33. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_group_invoice_account_controller.py +281 -0
  34. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_group_status_controller.py +233 -0
  35. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_groups_controller.py +499 -0
  36. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_invoice_account_controller.py +382 -0
  37. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_notes_controller.py +293 -0
  38. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_products_controller.py +227 -0
  39. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscription_status_controller.py +691 -0
  40. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/subscriptions_controller.py +1680 -0
  41. maxio-advanced-billing-sdk-0.0.3/advancedbilling/controllers/webhooks_controller.py +367 -0
  42. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/__init__.py +25 -0
  43. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/api_exception.py +35 -0
  44. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/component_allocation_error_exception.py +43 -0
  45. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/component_price_point_error_exception.py +43 -0
  46. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/customer_error_response_exception.py +38 -0
  47. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/error_list_response_exception.py +38 -0
  48. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/error_map_response_exception.py +38 -0
  49. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/event_based_billing_list_segments_errors_exception.py +39 -0
  50. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/event_based_billing_segment_errors_exception.py +38 -0
  51. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/event_based_billing_segment_exception.py +39 -0
  52. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/nested_error_response_exception.py +38 -0
  53. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/product_price_point_error_response_exception.py +39 -0
  54. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/proforma_bad_request_error_response_exception.py +39 -0
  55. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/refund_prepayment_aggregated_errors_response_exception.py +39 -0
  56. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/refund_prepayment_base_errors_response_exception.py +39 -0
  57. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/single_error_response_error_exception.py +38 -0
  58. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/single_string_error_response_exception.py +38 -0
  59. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/subscription_add_coupon_error_exception.py +41 -0
  60. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/subscription_component_allocation_error_exception.py +43 -0
  61. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/subscription_group_signup_error_response_exception.py +39 -0
  62. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/subscription_group_update_error_response_exception.py +39 -0
  63. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/subscription_remove_coupon_errors_exception.py +38 -0
  64. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/subscriptions_mrr_error_response_exception.py +39 -0
  65. maxio-advanced-billing-sdk-0.0.3/advancedbilling/exceptions/too_many_management_link_requests_error_exception.py +39 -0
  66. maxio-advanced-billing-sdk-0.0.3/advancedbilling/http/__init__.py +7 -0
  67. maxio-advanced-billing-sdk-0.0.3/advancedbilling/http/auth/__init__.py +3 -0
  68. maxio-advanced-billing-sdk-0.0.3/advancedbilling/http/auth/basic_auth.py +31 -0
  69. maxio-advanced-billing-sdk-0.0.3/advancedbilling/http/http_call_back.py +21 -0
  70. maxio-advanced-billing-sdk-0.0.3/advancedbilling/http/http_method_enum.py +24 -0
  71. maxio-advanced-billing-sdk-0.0.3/advancedbilling/http/http_request.py +54 -0
  72. maxio-advanced-billing-sdk-0.0.3/advancedbilling/http/http_response.py +45 -0
  73. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/__init__.py +542 -0
  74. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/account_balance.py +60 -0
  75. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/account_balances.py +89 -0
  76. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/ach_agreement.py +91 -0
  77. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/activate_subscription_request.py +69 -0
  78. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/add_coupons_request.py +60 -0
  79. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/add_subscription_to_a_group.py +60 -0
  80. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/agreement_acceptance.py +103 -0
  81. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocate_components.py +124 -0
  82. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation.py +208 -0
  83. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_expiration_date.py +60 -0
  84. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_payment.py +106 -0
  85. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_preview.py +169 -0
  86. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_preview_item.py +176 -0
  87. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_preview_line_item.py +124 -0
  88. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_preview_response.py +55 -0
  89. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_response.py +61 -0
  90. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/allocation_settings.py +87 -0
  91. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/applied_credit_note.py +90 -0
  92. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/apply_credit_note_event_data.py +168 -0
  93. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/apply_debit_note_event_data.py +110 -0
  94. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/apply_payment_event_data.py +136 -0
  95. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/attribute_error.py +54 -0
  96. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/auto_invite.py +25 -0
  97. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/auto_resume.py +67 -0
  98. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account.py +233 -0
  99. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account_attributes.py +161 -0
  100. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account_payment_profile.py +254 -0
  101. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account_response.py +55 -0
  102. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account_type.py +25 -0
  103. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account_vault.py +47 -0
  104. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account_verification.py +68 -0
  105. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bank_account_verification_request.py +56 -0
  106. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/base_refund_error.py +60 -0
  107. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/base_string_error.py +61 -0
  108. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/basic_date_field.py +25 -0
  109. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/batch_job.py +98 -0
  110. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/batch_job_response.py +55 -0
  111. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/billing_address.py +109 -0
  112. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/billing_manifest.py +129 -0
  113. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/billing_manifest_item.py +164 -0
  114. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/billing_schedule.py +68 -0
  115. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/breakouts.py +84 -0
  116. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bulk_component_s_price_point_assignment.py +66 -0
  117. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bulk_create_product_price_points_request.py +58 -0
  118. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bulk_create_product_price_points_response.py +65 -0
  119. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bulk_create_segments.py +65 -0
  120. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bulk_update_segments.py +65 -0
  121. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/bulk_update_segments_item.py +73 -0
  122. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/calendar_billing.py +70 -0
  123. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/cancel_grouped_subscriptions_request.py +60 -0
  124. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/cancellation_method.py +32 -0
  125. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/cancellation_options.py +70 -0
  126. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/cancellation_request.py +55 -0
  127. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/card_type.py +58 -0
  128. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/card_type_1.py +131 -0
  129. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/change_invoice_collection_method_event_data.py +91 -0
  130. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/chargify_ebb.py +117 -0
  131. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/cleanup_scope.py +28 -0
  132. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component.py +354 -0
  133. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_allocation_change.py +128 -0
  134. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_allocation_error_item.py +84 -0
  135. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_cost_data.py +142 -0
  136. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_cost_data_rate_tier.py +96 -0
  137. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_custom_price.py +75 -0
  138. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_kind.py +34 -0
  139. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_kind_path.py +34 -0
  140. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_price.py +121 -0
  141. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_price_point.py +183 -0
  142. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_price_point_error_item.py +76 -0
  143. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_price_point_item.py +92 -0
  144. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_price_point_price.py +121 -0
  145. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_price_point_response.py +55 -0
  146. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_price_points_response.py +66 -0
  147. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_response.py +55 -0
  148. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/component_s_price_point_assignment.py +68 -0
  149. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/compounding_strategy.py +38 -0
  150. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/consolidated_invoice.py +65 -0
  151. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/count_response.py +60 -0
  152. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon.py +305 -0
  153. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon_currency.py +84 -0
  154. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon_currency_request.py +58 -0
  155. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon_response.py +61 -0
  156. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon_restriction.py +96 -0
  157. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon_subcodes.py +60 -0
  158. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon_subcodes_response.py +76 -0
  159. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/coupon_usage.py +118 -0
  160. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_allocation.py +162 -0
  161. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_allocation_request.py +55 -0
  162. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_component_price_point.py +120 -0
  163. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_component_price_point_request.py +80 -0
  164. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_component_price_points_request.py +80 -0
  165. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_currency_price.py +76 -0
  166. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_currency_prices_request.py +58 -0
  167. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_customer.py +195 -0
  168. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_customer_request.py +55 -0
  169. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_ebb_component.py +78 -0
  170. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice.py +150 -0
  171. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_address.py +124 -0
  172. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_coupon.py +101 -0
  173. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_item.py +158 -0
  174. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_payment.py +85 -0
  175. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_payment_application.py +62 -0
  176. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_payment_request.py +67 -0
  177. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_request.py +55 -0
  178. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_invoice_status.py +25 -0
  179. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_metadata.py +68 -0
  180. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_metadata_request.py +57 -0
  181. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_metafield.py +121 -0
  182. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_metafields_request.py +79 -0
  183. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_metered_component.py +78 -0
  184. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_multi_invoice_payment.py +127 -0
  185. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_multi_invoice_payment_request.py +55 -0
  186. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_offer.py +107 -0
  187. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_offer_component.py +68 -0
  188. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_offer_request.py +55 -0
  189. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_on_off_component.py +78 -0
  190. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_or_update_coupon.py +82 -0
  191. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_or_update_flat_amount_coupon.py +171 -0
  192. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_or_update_percentage_coupon.py +172 -0
  193. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_or_update_product.py +130 -0
  194. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_or_update_product_request.py +55 -0
  195. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_or_update_segment_price.py +98 -0
  196. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_payment.py +72 -0
  197. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_payment_profile.py +367 -0
  198. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_payment_profile_request.py +55 -0
  199. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_payment_profile_response.py +55 -0
  200. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_prepaid_component.py +79 -0
  201. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_prepaid_usage_component_price_point.py +167 -0
  202. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_prepayment.py +88 -0
  203. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_prepayment_request.py +55 -0
  204. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_prepayment_response.py +55 -0
  205. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_product_currency_price.py +66 -0
  206. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_product_currency_prices_request.py +58 -0
  207. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_product_family.py +72 -0
  208. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_product_family_request.py +55 -0
  209. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_product_price_point.py +171 -0
  210. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_product_price_point_request.py +55 -0
  211. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_quantity_based_component.py +79 -0
  212. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_reason_code.py +72 -0
  213. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_reason_code_request.py +55 -0
  214. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_segment.py +119 -0
  215. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_segment_request.py +55 -0
  216. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_subscription.py +588 -0
  217. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_subscription_component.py +111 -0
  218. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_subscription_group.py +89 -0
  219. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_subscription_group_request.py +56 -0
  220. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_subscription_request.py +55 -0
  221. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_usage.py +89 -0
  222. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/create_usage_request.py +55 -0
  223. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/created_payment_profile.py +267 -0
  224. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/created_prepayment.py +108 -0
  225. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_account_balance_changed.py +111 -0
  226. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_card_attributes.py +76 -0
  227. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_card_payment_profile.py +246 -0
  228. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_note.py +367 -0
  229. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_note_1.py +342 -0
  230. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_note_application.py +92 -0
  231. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_note_line_item.py +224 -0
  232. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_scheme.py +28 -0
  233. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_scheme_request.py +54 -0
  234. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/credit_type.py +30 -0
  235. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/currency_price.py +100 -0
  236. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/currency_price_role.py +28 -0
  237. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/current_vault.py +114 -0
  238. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/custom_field_value_change.py +130 -0
  239. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer.py +330 -0
  240. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_1.py +114 -0
  241. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_attributes.py +230 -0
  242. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_billing_address_change.py +68 -0
  243. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_change.py +91 -0
  244. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_changes_preview_response.py +55 -0
  245. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_custom_fields_change.py +77 -0
  246. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_error.py +82 -0
  247. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_payer_change.py +68 -0
  248. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_response.py +55 -0
  249. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/customer_shipping_address_change.py +68 -0
  250. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/deduct_service_credit.py +86 -0
  251. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/deduct_service_credit_request.py +55 -0
  252. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/delayed_cancellation_response.py +60 -0
  253. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/delete_subscription_group_response.py +68 -0
  254. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/direction.py +25 -0
  255. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/discount_type.py +25 -0
  256. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/dunner_data.py +117 -0
  257. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/dunning_step_data.py +142 -0
  258. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/dunning_step_reached.py +95 -0
  259. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/ebb_component.py +240 -0
  260. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/ebb_event.py +61 -0
  261. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/enable_webhooks_request.py +54 -0
  262. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/enable_webhooks_response.py +60 -0
  263. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/endpoint.py +92 -0
  264. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/endpoint_response.py +61 -0
  265. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/errors.py +68 -0
  266. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/event.py +138 -0
  267. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/event_based_billing_segment_error.py +58 -0
  268. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/event_response.py +55 -0
  269. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/event_type.py +123 -0
  270. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/extended_interval_unit.py +41 -0
  271. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/failed_payment_action.py +40 -0
  272. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/first_charge_type.py +28 -0
  273. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/full_subscription_group_response.py +152 -0
  274. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/get_one_time_token_payment_profile.py +196 -0
  275. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/get_one_time_token_request.py +56 -0
  276. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/group_billing.py +102 -0
  277. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/group_settings.py +92 -0
  278. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/group_target.py +93 -0
  279. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/group_target_type.py +34 -0
  280. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/holder_type.py +25 -0
  281. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/include_not_null.py +22 -0
  282. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/include_option.py +25 -0
  283. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/interval_unit.py +38 -0
  284. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice.py +577 -0
  285. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_address.py +109 -0
  286. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_balance_item.py +76 -0
  287. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_consolidation_level.py +52 -0
  288. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_credit.py +108 -0
  289. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_custom_field.py +84 -0
  290. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_customer.py +115 -0
  291. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_date_field.py +34 -0
  292. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_discount.py +158 -0
  293. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_discount_breakout.py +76 -0
  294. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_display_settings.py +68 -0
  295. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_event.py +99 -0
  296. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_event_1.py +320 -0
  297. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_event_type.py +61 -0
  298. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_issued.py +193 -0
  299. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_line_item.py +286 -0
  300. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_line_item_component_cost_data.py +87 -0
  301. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_line_item_event_data.py +248 -0
  302. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_line_item_pricing_detail.py +68 -0
  303. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_payer.py +105 -0
  304. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_payment.py +139 -0
  305. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_payment_application.py +78 -0
  306. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_payment_method.py +120 -0
  307. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_payment_method_type.py +37 -0
  308. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_payment_type.py +31 -0
  309. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_pre_payment.py +78 -0
  310. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_previous_balance.py +73 -0
  311. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_refund.py +105 -0
  312. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_response.py +55 -0
  313. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_seller.py +90 -0
  314. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_sort_field.py +43 -0
  315. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_status.py +52 -0
  316. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_tax.py +156 -0
  317. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_tax_breakout.py +76 -0
  318. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/invoice_tax_component_breakout.py +84 -0
  319. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/issue_advance_invoice_request.py +60 -0
  320. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/issue_invoice_event_data.py +132 -0
  321. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/issue_invoice_request.py +72 -0
  322. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/issue_service_credit.py +86 -0
  323. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/issue_service_credit_request.py +55 -0
  324. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/item_category.py +35 -0
  325. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/item_price_point_changed.py +120 -0
  326. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/item_price_point_data.py +98 -0
  327. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_components_price_points_include.py +22 -0
  328. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_components_price_points_response.py +58 -0
  329. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_credit_notes_response.py +57 -0
  330. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_events_date_field.py +22 -0
  331. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_invoice_events_response.py +89 -0
  332. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_invoices_response.py +57 -0
  333. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_metafields_response.py +97 -0
  334. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_mrr_response.py +55 -0
  335. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_mrr_response_result.py +113 -0
  336. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_offers_response.py +65 -0
  337. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_payment_profile_item.py +225 -0
  338. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_payment_profiles_response.py +62 -0
  339. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_product_price_points_response.py +57 -0
  340. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_products_include.py +22 -0
  341. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_products_price_points_include.py +22 -0
  342. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_public_keys_meta.py +84 -0
  343. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_public_keys_response.py +74 -0
  344. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_sale_rep_item.py +93 -0
  345. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_segments_response.py +65 -0
  346. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subcription_group_prepayment_item.py +128 -0
  347. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_components_include.py +22 -0
  348. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_components_response.py +58 -0
  349. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_components_sort.py +25 -0
  350. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_group_prepayment.py +56 -0
  351. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_group_prepayment_date_field.py +25 -0
  352. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_group_prepayment_response.py +58 -0
  353. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_groups_item.py +134 -0
  354. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_groups_meta.py +68 -0
  355. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/list_subscription_groups_response.py +75 -0
  356. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metadata.py +104 -0
  357. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metafield.py +111 -0
  358. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metafield_input.py +48 -0
  359. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metafield_scope.py +138 -0
  360. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metafields.py +121 -0
  361. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metafields_1.py +121 -0
  362. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metered_component.py +257 -0
  363. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/metered_usage.py +117 -0
  364. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/movement.py +130 -0
  365. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/movement_line_item.py +132 -0
  366. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/mrr.py +101 -0
  367. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/mrr_movement.py +84 -0
  368. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/mrr_response.py +55 -0
  369. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/multi_invoice_payment.py +91 -0
  370. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/multi_invoice_payment_response.py +55 -0
  371. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/nested_subscription_group.py +109 -0
  372. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/net_terms.py +88 -0
  373. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/offer.py +225 -0
  374. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/offer_discount.py +76 -0
  375. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/offer_item.py +121 -0
  376. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/offer_response.py +61 -0
  377. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/offer_signup_page.py +100 -0
  378. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/on_off_component.py +245 -0
  379. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/organization_address.py +127 -0
  380. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/origin_invoice.py +90 -0
  381. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/overage_pricing.py +97 -0
  382. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/override_subscription.py +107 -0
  383. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/override_subscription_request.py +55 -0
  384. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/paginated_metadata.py +97 -0
  385. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/pause_request.py +61 -0
  386. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payer_attributes.py +199 -0
  387. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payer_error.py +76 -0
  388. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment.py +88 -0
  389. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_collection_method.py +34 -0
  390. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_collection_method_1.py +32 -0
  391. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_collection_method_changed.py +85 -0
  392. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_method_apple_pay_type.py +81 -0
  393. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_method_bank_account_type.py +97 -0
  394. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_method_credit_card_type.py +117 -0
  395. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_method_external_type.py +105 -0
  396. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_method_nested_data.py +143 -0
  397. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_method_paypal_type.py +89 -0
  398. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_profile.py +256 -0
  399. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_profile_attributes.py +316 -0
  400. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_profile_response.py +55 -0
  401. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_related_events.py +85 -0
  402. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_response.py +74 -0
  403. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/payment_type.py +28 -0
  404. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/pending_cancellation_change.py +85 -0
  405. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/portal_management_link.py +104 -0
  406. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepaid_component_price_point.py +101 -0
  407. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepaid_configuration.py +94 -0
  408. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepaid_configuration_response.py +56 -0
  409. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepaid_subscription_balance_changed.py +104 -0
  410. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepaid_usage.py +153 -0
  411. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepaid_usage_allocation_detail.py +98 -0
  412. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepaid_usage_component.py +305 -0
  413. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepayment.py +118 -0
  414. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepayment_account_balance_changed.py +103 -0
  415. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepayment_aggregated_error.py +76 -0
  416. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepayment_method.py +43 -0
  417. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepayment_response.py +55 -0
  418. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/prepayments_response.py +65 -0
  419. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/preview_allocations_request.py +71 -0
  420. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/price.py +105 -0
  421. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/price_point.py +148 -0
  422. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/price_point_type.py +46 -0
  423. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/pricing_scheme.py +46 -0
  424. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product.py +419 -0
  425. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product_family.py +113 -0
  426. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product_family_response.py +61 -0
  427. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product_price_point.py +264 -0
  428. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product_price_point_currency_price.py +57 -0
  429. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product_price_point_errors.py +100 -0
  430. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product_price_point_response.py +55 -0
  431. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/product_response.py +55 -0
  432. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_custom_field.py +92 -0
  433. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_error.py +62 -0
  434. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice.py +377 -0
  435. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_credit.py +84 -0
  436. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_discount.py +106 -0
  437. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_discount_breakout.py +68 -0
  438. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_issued.py +161 -0
  439. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_payment.py +84 -0
  440. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_preview.py +377 -0
  441. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_tax.py +114 -0
  442. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proforma_invoice_tax_breakout.py +68 -0
  443. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/proration.py +61 -0
  444. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/public_key.py +76 -0
  445. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/public_signup_page.py +92 -0
  446. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/quantity_based_component.py +265 -0
  447. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reactivate_subscription_group_request.py +68 -0
  448. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reactivate_subscription_group_response.py +124 -0
  449. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reactivate_subscription_request.py +112 -0
  450. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reactivation_billing.py +65 -0
  451. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reactivation_charge.py +33 -0
  452. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/read_payment_profile_response.py +79 -0
  453. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reason_code.py +108 -0
  454. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reason_code_response.py +55 -0
  455. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/reason_codes_json_response.py +60 -0
  456. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/record_payment_request.py +55 -0
  457. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/recurring_scheme.py +28 -0
  458. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/referral_code.py +84 -0
  459. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/referral_validation_response.py +61 -0
  460. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund.py +116 -0
  461. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_consolidated_invoice.py +126 -0
  462. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_invoice.py +126 -0
  463. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_invoice_event_data.py +159 -0
  464. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_invoice_request.py +79 -0
  465. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_prepayment.py +110 -0
  466. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_prepayment_aggregated_error.py +61 -0
  467. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_prepayment_base_refund_error.py +61 -0
  468. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_prepayment_request.py +55 -0
  469. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/refund_success.py +93 -0
  470. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/remove_payment_event_data.py +136 -0
  471. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/renewal_preview.py +143 -0
  472. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/renewal_preview_component.py +85 -0
  473. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/renewal_preview_line_item.py +164 -0
  474. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/renewal_preview_request.py +70 -0
  475. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/renewal_preview_response.py +55 -0
  476. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/replay_webhooks_request.py +54 -0
  477. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/replay_webhooks_response.py +60 -0
  478. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/resent_invitation.py +84 -0
  479. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/resource_type.py +25 -0
  480. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/restriction_type.py +25 -0
  481. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/resume_options.py +95 -0
  482. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/resumption_charge.py +29 -0
  483. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/revoked_invitation.py +76 -0
  484. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/sale_rep.py +98 -0
  485. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/sale_rep_item_mrr.py +76 -0
  486. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/sale_rep_settings.py +108 -0
  487. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/sale_rep_subscription.py +136 -0
  488. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/segment.py +160 -0
  489. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/segment_price.py +120 -0
  490. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/segment_response.py +61 -0
  491. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/seller.py +89 -0
  492. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/send_invoice_request.py +76 -0
  493. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/service_credit.py +93 -0
  494. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/service_credit_response.py +55 -0
  495. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/service_credit_type.py +25 -0
  496. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/shipping_address.py +109 -0
  497. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/signup_proforma_preview.py +70 -0
  498. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/signup_proforma_preview_response.py +56 -0
  499. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/site.py +186 -0
  500. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/site_response.py +55 -0
  501. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/site_statistics.py +140 -0
  502. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/site_summary.py +93 -0
  503. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/snap_day.py +36 -0
  504. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/sorting_direction.py +25 -0
  505. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription.py +762 -0
  506. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_bank_account.py +241 -0
  507. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_component.py +312 -0
  508. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_component_allocation_error_item.py +68 -0
  509. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_component_response.py +61 -0
  510. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_component_subscription.py +133 -0
  511. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_custom_price.py +180 -0
  512. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_date_field.py +46 -0
  513. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group.py +94 -0
  514. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_balances.py +85 -0
  515. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_bank_account.py +190 -0
  516. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_component_custom_price.py +91 -0
  517. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_credit_card.py +213 -0
  518. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_customer.py +92 -0
  519. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_item.py +138 -0
  520. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_member_error.py +76 -0
  521. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_payment_profile.py +84 -0
  522. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_prepayment.py +73 -0
  523. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_prepayment_method.py +37 -0
  524. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_prepayment_request.py +56 -0
  525. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_prepayment_response.py +93 -0
  526. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_response.py +55 -0
  527. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup.py +126 -0
  528. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_component.py +96 -0
  529. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_error.py +104 -0
  530. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_failure.py +91 -0
  531. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_failure_data.py +149 -0
  532. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_item.py +185 -0
  533. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_request.py +56 -0
  534. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_response.py +149 -0
  535. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_success.py +88 -0
  536. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_signup_success_data.py +141 -0
  537. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_subscription_error.py +85 -0
  538. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_group_update_error.py +66 -0
  539. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_include.py +25 -0
  540. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_included_coupon.py +114 -0
  541. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_list_date_field.py +22 -0
  542. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_list_include.py +22 -0
  543. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_migration_preview.py +90 -0
  544. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_migration_preview_options.py +153 -0
  545. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_migration_preview_request.py +56 -0
  546. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_migration_preview_response.py +56 -0
  547. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_mrr.py +73 -0
  548. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_mrr_breakout.py +60 -0
  549. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_mrr_response.py +58 -0
  550. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_note.py +100 -0
  551. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_note_response.py +55 -0
  552. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_preview.py +70 -0
  553. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_preview_response.py +56 -0
  554. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_product_change.py +85 -0
  555. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_product_migration.py +144 -0
  556. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_product_migration_request.py +56 -0
  557. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_purge_type.py +25 -0
  558. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_response.py +61 -0
  559. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_sort.py +37 -0
  560. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_state.py +135 -0
  561. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_state_change.py +85 -0
  562. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/subscription_state_filter.py +55 -0
  563. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/tax_configuration.py +79 -0
  564. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/tax_configuration_kind.py +31 -0
  565. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/tax_destination_address.py +31 -0
  566. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/too_many_management_link_requests.py +61 -0
  567. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_allocation_expiration_date.py +61 -0
  568. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_component.py +141 -0
  569. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_component_price_point.py +73 -0
  570. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_component_price_point_request.py +61 -0
  571. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_component_request.py +55 -0
  572. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_coupon_currency.py +60 -0
  573. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_currency_price.py +60 -0
  574. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_currency_prices_request.py +58 -0
  575. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_customer.py +200 -0
  576. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_customer_request.py +55 -0
  577. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_endpoint.py +61 -0
  578. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_endpoint_request.py +55 -0
  579. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_metadata.py +76 -0
  580. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_metadata_request.py +61 -0
  581. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_metafield.py +121 -0
  582. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_metafields_request.py +61 -0
  583. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_payment_profile.py +182 -0
  584. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_payment_profile_request.py +55 -0
  585. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_payment_profile_response.py +55 -0
  586. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_price.py +92 -0
  587. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_product_price_point.py +68 -0
  588. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_product_price_point_request.py +55 -0
  589. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_reason_code.py +76 -0
  590. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_reason_code_request.py +55 -0
  591. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_segment.py +75 -0
  592. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_segment_request.py +55 -0
  593. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_subscription.py +210 -0
  594. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_subscription_component.py +70 -0
  595. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_subscription_group.py +60 -0
  596. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_subscription_group_request.py +56 -0
  597. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_subscription_note.py +60 -0
  598. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_subscription_note_request.py +55 -0
  599. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/update_subscription_request.py +55 -0
  600. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/updated_payment_profile.py +218 -0
  601. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/upsert_prepaid_configuration.py +86 -0
  602. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/upsert_prepaid_configuration_request.py +56 -0
  603. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/usage.py +124 -0
  604. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/usage_response.py +55 -0
  605. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/void_invoice.py +54 -0
  606. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/void_invoice_event_data.py +117 -0
  607. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/void_invoice_event_data_1.py +108 -0
  608. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/void_invoice_request.py +55 -0
  609. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/webhook.py +168 -0
  610. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/webhook_order.py +25 -0
  611. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/webhook_response.py +61 -0
  612. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/webhook_status.py +31 -0
  613. maxio-advanced-billing-sdk-0.0.3/advancedbilling/models/webhook_subscription.py +126 -0
  614. maxio-advanced-billing-sdk-0.0.3/advancedbilling/utilities/__init__.py +3 -0
  615. maxio-advanced-billing-sdk-0.0.3/advancedbilling/utilities/file_wrapper.py +17 -0
  616. maxio-advanced-billing-sdk-0.0.3/advancedbilling/utilities/union_type_lookup.py +1000 -0
  617. maxio-advanced-billing-sdk-0.0.3/maxio_advanced_billing_sdk.egg-info/PKG-INFO +389 -0
  618. maxio-advanced-billing-sdk-0.0.3/maxio_advanced_billing_sdk.egg-info/SOURCES.txt +622 -0
  619. maxio-advanced-billing-sdk-0.0.3/maxio_advanced_billing_sdk.egg-info/dependency_links.txt +1 -0
  620. maxio-advanced-billing-sdk-0.0.3/maxio_advanced_billing_sdk.egg-info/requires.txt +10 -0
  621. maxio-advanced-billing-sdk-0.0.3/maxio_advanced_billing_sdk.egg-info/top_level.txt +3 -0
  622. maxio-advanced-billing-sdk-0.0.3/pyproject.toml +18 -0
  623. maxio-advanced-billing-sdk-0.0.3/setup.cfg +8 -0
@@ -0,0 +1,28 @@
1
+ License:
2
+ ========
3
+ The MIT License (MIT)
4
+ http://opensource.org/licenses/MIT
5
+
6
+ Copyright (c) 2014 - 2023 APIMATIC Limited
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in
16
+ all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ THE SOFTWARE.
25
+
26
+ Trade Mark:
27
+ ==========
28
+ APIMATIC is a trade mark for APIMATIC Limited
@@ -0,0 +1,2 @@
1
+ include LICENSE
2
+ include README.md
@@ -0,0 +1,389 @@
1
+ Metadata-Version: 2.1
2
+ Name: maxio-advanced-billing-sdk
3
+ Version: 0.0.3
4
+ Summary: Ultimate billing and pricing flexibility for B2B SaaS.
5
+ Author-email: Maxio SDK <maxio-sdk@maxio.com>
6
+ Project-URL: Homepage, https://www.maxio.com/product/advanced-billing
7
+ Keywords: Maxio,Advaced Billing,Payments,Subscription
8
+ Requires-Python: >=3.7
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: apimatic-core~=0.2.0
12
+ Requires-Dist: apimatic-core-interfaces~=0.1.0
13
+ Requires-Dist: apimatic-requests-client-adapter~=0.1.0
14
+ Requires-Dist: python-dateutil~=2.8.1
15
+ Requires-Dist: enum34>=1.1.10,~=1.1
16
+ Requires-Dist: deprecation~=2.1
17
+ Requires-Dist: jsonschema~=3.2.0
18
+ Provides-Extra: testutils
19
+ Requires-Dist: pytest>=7.2.2; extra == "testutils"
20
+
21
+
22
+ # Getting Started with Maxio Advanced Billing
23
+
24
+ ## Introduction
25
+
26
+ ### Introduction
27
+
28
+ #### API Integration
29
+
30
+ Maxio Advanced Billing (formerly Chargify API) can be integrated with many environments and programming languages via our REST API. Some of our users have contributed their API wrappers in various programming languages. Check out the [API Code Overview](https://developers.chargify.com/docs/developer-docs/ZG9jOjE0NjAzNDI2-api-code-samples) doc for an introduction to the wrappers and available code samples.
31
+
32
+ #### Testing Guide
33
+
34
+ Maxio Advanced Billing has compiled a [testing guide](https://chargify.zendesk.com/hc/en-us/articles/4407904658587) that covers a list of important factors to consider while in the testing phase. Here's a high-level overiew of what's covered in our testing guide:
35
+
36
+ + Test credit card basics
37
+ + Test site limits
38
+ + Live mode versus test mode
39
+
40
+ We strongly suggest reading over the testing guide, as well as the entire set of application-based documentation to aid in your discovery of the product.
41
+
42
+ #### Engage Support
43
+
44
+ We always enjoy (and appreciate) hearing about larger integrations ahead of time. If you’re planning on importing a large amount of data into Maxio via our API, we suggest sending a “heads up” to “support@chargify.com” so we can coordinate with you to ensure your import process goes smoothly.
45
+
46
+ Our API, while considered stable, is continually being improved and polished. Please feel free to contact support if you experience issues when integrating with the Maxio Advanced Billing API.
47
+
48
+ If you have any additional questions regarding our documentation please don't hesitate in reaching out.
49
+
50
+ #### Support Access
51
+
52
+ Access to our Technical Specialist team for API support is currently limited to purchasers of our larger Maxio support plans.
53
+
54
+ But don’t worry! There are quite a few options to help you get the answers you need:
55
+
56
+ - [Read our documentation for developers](https://developers.chargify.com/docs/developer-docs/ZG9jOjM0NjA3MQ-overview)
57
+ - Explore the endpoints of our API Documentation
58
+ - [Watch our videos and tutorials](https://chargify.com/tutorials)
59
+ - [Check out the Chargify tag on Stack Overflow](http://stackoverflow.com/questions/tagged/chargify)
60
+
61
+ ### API Overview
62
+
63
+ The Chargify API allows you to interact with our system programmatically from your own application. Using the API you interact with Resources such as:
64
+
65
+ - Products
66
+ - Subscriptions
67
+ - Customers
68
+ - etc.
69
+
70
+ The API attempts to conform to the [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) design principles.
71
+ You interact with the resources exposed via the API by accessing resource collection and element URIs using the HTTP verbs (GET, POST, PUT, and DELETE).
72
+ Chargify accepts and returns both JSON and XML data via the API.
73
+
74
+ You’ll likely need access to a web developer or programmer (if you’re not one) to get the most use out of the API.
75
+
76
+ #### Available Formats: JSON and XML
77
+
78
+ JSON is the primary and recommended format for use with the Chargify API. XML is also provided as a backwards compatible option for Merchants who require it.
79
+
80
+ #### Authentication
81
+
82
+ Authentication is implemented as HTTP Basic Authentication over TLS >= 1.2 (HTTPS), as described in [API Authentication](https://developers.chargify.com/docs/developer-docs/ZG9jOjE1NTUxNQ-authentication)
83
+
84
+ #### URL
85
+
86
+ The URL for API requests includes the subdomain of the Site you are working with:
87
+
88
+ `https://<subdomain>.chargify.com/<resource URI>`
89
+
90
+ #### Response Data
91
+
92
+ Response data is sent as either XML or JSON, depending on the type of data requested (`HTTP Content-Type` header) or the type specified as being accepted (HTTP `Accept` header).
93
+
94
+ GETs for individual statements & invoices may also be requested as PDF using `application/pdf` or appending `.pdf` to the resource URI.
95
+
96
+ Response codes are sent via the normal HTTP Response Code, and are documented separately for each resource.
97
+
98
+ For boolean fields, please note that a value of `null` may be considered as false. However, this is not true across all cases. Please excercise good judgement here, or contact support with any questions.
99
+
100
+ For example:
101
+
102
+ + `null` can define that there's no data available for that attribute
103
+
104
+ #### Pagination
105
+
106
+ When an endpoint returns a list of items, it will be paginated. Usually, 20 items will be returned by default, and you may request up to a maximum of 200 at a time. Pagination is done with query string parameters, for example: `?page=5&per_page=200`
107
+
108
+ #### Response Time Zones
109
+
110
+ API responses from Chargify are sent with the timezone of current Chargify site.
111
+
112
+ Alternately, webhooks sent from Chargify globally utilize EST as the timezone for all content in the body of the payload.
113
+
114
+ #### Request Data
115
+
116
+ POST and PUT request data may be formatted as either XML (`application/xml`) or JSON (`application/json`). For best results, you should set your HTTP `Content-Type` request header accordingly, although you may also specify your format by appending `.xml` or `.json` extensions on to the resource URI.
117
+
118
+ Note that Chargify does not accept PUT or POST data sent as query params or form encoded data – data must be sent as either XML or JSON. If you fail to set your `Content-Type` to either `application/xml` or `application/json`, your request may fail due to triggering of forgery protection mechanisms.
119
+
120
+ ##### About Decimal Numbers
121
+
122
+ In order to prevent losing precision, we serialize decimal numbers as strings instead of as JSON numbers.
123
+
124
+ We recommend parsing these strings into their decimal equivalent using a decimal number library in your programming language (i.e. `BigDecimal` in Ruby) instead of relying on floating point values or arithmetic.
125
+
126
+ ##### About Amount Fields
127
+
128
+ Fields holding amount values are given as a string representing a decimal whole currency amount.
129
+
130
+ For example, `"1.23"` in currency `"USD"` would equate to `$1.23`.
131
+
132
+ Not all fields will be rounded to the smallest currency denomination. Intermediate results, such as those that derive from line-level tax calculations, may hold precision up to 8 decimal places. However, the top-level totals we provide (e.g. `total_amount`) will be rounded to the smallest currency denomination.
133
+
134
+ It is up to API consumers to parse the string into a decimal number representation and do any rounding necessary for your application.
135
+
136
+ #### Debugging
137
+
138
+ If you’re having difficulty executing a request via our API, try the simplest thing and attempt your request via the curl command-line tool, as shown in the below example. Add the `--verbose` flag to your request to receive even more debugging information.
139
+
140
+ Another handy tool is [Beeceptor](https://beeceptor.com/). You can use this to intercept your request to see exactly what is being sent.
141
+
142
+ If you are unable to connect at all, check that you are using TLS 1.2 or better.
143
+
144
+ If you see a "Could not resolve host" error, double check that the url is correct, including your subdomain. For example: `mysite.chargify.com`. This error means your DNS server could not find an IP address for the domain you are trying to connect to.
145
+
146
+ #### Backwards Compatibility
147
+
148
+ We consider the following changes to be backwards compatible and may make them without advance notice:
149
+
150
+ + Adding new API endpoints, or adding new attributes in the responses of existing endpoints
151
+ + Adding new optional parameters to be sent to existing API endpoints
152
+ + Adding new fields to exported data
153
+ + Changing the type or length of any of the ID attributes
154
+ + For example, most IDs are currently integers, but you should not assume that this will always be the case.
155
+
156
+ In addition, you should not depend on the order of attributes within the API response as this may change.
157
+
158
+ Chargify does not provide notifications for additions that are clearly defined as backwards compatible.
159
+
160
+ #### Examples
161
+
162
+ The following examples use the curl command-line tool to execute API requests.
163
+
164
+ ##### Subscription Listing
165
+
166
+ **Request**
167
+
168
+ curl -u <api_key>:x -H Accept:application/json -H Content-Type:application/json https://acme.chargify.com/subscriptions.json
169
+
170
+ ### API Access Limitations
171
+
172
+ There are a few scenarios that may end up in causing an API request to be blocked even with correct credentials.
173
+ **Please note:** All relevant API requests will be blocked if any of the below conditions are true. These limitations also apply to [Chargify Direct](https://developers.chargify.com/docs/developer-docs/ZG9jOjE0NjAzNDE3-introduction).
174
+
175
+ Those scenarios are as follows:
176
+
177
+ - Your Chargify subscription is canceled.
178
+ - Your Chargify trial has reached an end.
179
+ - The site you're making a request for is in the process of ["clearing site data"](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405428327309)
180
+ - _Note: any API request for another site that is in a good state will NOT be blocked_
181
+ - The site you're making a request for has been deleted.
182
+ - _Note: any API request for another site that is in a good state will NOT be blocked_
183
+
184
+ Read more about your Chargify subscription [here](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405430043149-Advanced-Billing-Subscription#advanced-billing-subscription-0-0)
185
+
186
+ #### What happens when an API request is blocked
187
+
188
+ The request will fail with a `422` http status code. The response will also include a message explaining the reason for the request being blocked. For example:
189
+
190
+ - If your Chargify subscription is canceled:
191
+
192
+ ```json
193
+ {
194
+ "errors" => [
195
+ [0] "Your Chargify account has been canceled. Please contact support@chargify.com to reactivate."
196
+ ]
197
+ }
198
+ ```
199
+
200
+ - If your Chargify trial has reached and end and you attempted to make an API request, the response body will look like:
201
+
202
+ ```json
203
+ {
204
+ "errors" => [
205
+ [0] "Your trial has ended, please contact sales."
206
+ ]
207
+ }
208
+ ```
209
+
210
+ - If the site you're making a request for is in the process of ["clearing site data"](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405428327309):
211
+
212
+ ```json
213
+ {
214
+ "errors" => [
215
+ [0] "Site data clearing is in progress. Please try later."
216
+ ]
217
+ }
218
+ ```
219
+
220
+ - If the site you're making a request for has been deleted:
221
+
222
+ ```json
223
+ {
224
+ "errors" => [
225
+ [0] "This site has been deleted."
226
+ ]
227
+ }
228
+ ```
229
+
230
+ ### Secure Applications
231
+
232
+ Please note that it is NOT possible to make API requests directly from the customer's browser or device. Doing so would expose your API key on the client side, and anyone who has that key has full access to all of your Chargify data.
233
+
234
+ Instead you will need to take care to tokenize sensitive information by using [Chargify.js](https://developers.chargify.com/docs/developer-docs/ZG9jOjE0NjAzNDI0-overview) or a similar JavaScript library provided by your gateway, and then post the token and other information to your own server, from which you can make the API call to Chargify.
235
+
236
+ #### Troubleshooting
237
+
238
+ If you attempt to make a Chargify API request directly from the customer's browser, you may see an error such as:
239
+
240
+ ```
241
+ Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
242
+ ```
243
+
244
+ or
245
+
246
+ ```
247
+ Origin 'https://example.com' is therefore not allowed access.` `The response had HTTP status code 404.
248
+ ```
249
+
250
+ This is an error message indicating that Cross-Origin Resource Sharing (CORS) is not enabled on the Chargify server.
251
+
252
+ ### Relationship Invoicing
253
+
254
+ #### API Compatibility for Relationship Invoicing
255
+
256
+ This section describes the API for the new, [Relationship Invoicing](https://maxio-chargify.zendesk.com/hc/en-us/articles/5405078794253) style of invoices introduced in January 2018.
257
+
258
+ If you are an existing customer from prior to January 2018 or have not otherwise explicitly opted into this new style of invoices, you are probably looking for the legacy "Invoices" section that describes [invoice-billing legacy-style invoices](./b3A6MTQxMDgzNjQ-read-invoice).
259
+
260
+ These new invoices provide a single representation of all of your Chargify billing, whether you collect automatically or via remittance.
261
+
262
+ #### About Decimal Numbers
263
+
264
+ In order to prevent losing precision, we serialize decimal numbers as strings instead of as JSON numbers.
265
+
266
+ We recommend parsing these strings into their decimal equivalent using a decimal number library in your programming language (i.e. `BigDecimal` in Ruby) instead of relying on floating point values or arithmetic.
267
+
268
+ #### About Amount Fields
269
+
270
+ Fields holding amount values are given as a string representing a decimal whole currency amount.
271
+
272
+ For example, `"1.23"` in currency `"USD"` would equate to `$1.23`.
273
+
274
+ Not all fields will be rounded to the smallest currency denomination. Intermediate results, such as those that derive from line-level tax calculations, may hold precision up to 8 decimal places. However, the top-level totals we provide (e.g. `total_amount`) will be rounded to the smallest currency denomination.
275
+
276
+ It is up to API consumers to parse the string into a decimal number representation and do any rounding necessary for your application.
277
+
278
+ ##### Relationship Invoicing Summary
279
+
280
+ + If your site **is** using relationship invoicing, you may only use the methods described in this section for working with invoices.
281
+
282
+ + If your site is **not** using relationship invoicing, please use the legacy invoice methods:
283
+
284
+ + [Invoices](./b3A6MTQxMTA0MTA-read-invoice)
285
+ + [Invoices: Payments](./b3A6MTQxMTA0MTI-create-invoice-payment)
286
+ + [Invoices: Charges](./b3A6MTQxMTA0MTM-create-charge)
287
+ + [Invoices: Credits](./b3A6MTQxMTA0MTQ-create-invoice-credit)
288
+
289
+ ## Install the Package
290
+
291
+ The package is compatible with Python versions `3 >=3.7, <= 3.11`.
292
+ Install the package from PyPi using the following pip command:
293
+
294
+ ```python
295
+ pip install maxio-advanced-billing-sdk==0.0.3
296
+ ```
297
+
298
+ You can also view the package at:
299
+ https://pypi.python.org/pypi/maxio-advanced-billing-sdk/0.0.3
300
+
301
+ ## Initialize the API Client
302
+
303
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/client.md)
304
+
305
+ The following parameters are configurable for the API Client:
306
+
307
+ | Parameter | Type | Description |
308
+ | --- | --- | --- |
309
+ | `subdomain` | `str` | The subdomain for your Chargify site.<br>*Default*: `'subdomain'` |
310
+ | `domain` | `str` | The Chargify server domain.<br>*Default*: `'chargify.com'` |
311
+ | `environment` | Environment | The API environment. <br> **Default: `Environment.PRODUCTION`** |
312
+ | `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
313
+ | `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
314
+ | `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
315
+ | `timeout` | `float` | The value to use for connection timeout. <br> **Default: 30** |
316
+ | `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
317
+ | `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
318
+ | `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
319
+ | `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |
320
+ | `basic_auth_user_name` | `str` | The username to use with basic authentication |
321
+ | `basic_auth_password` | `str` | The password to use with basic authentication |
322
+
323
+ The API client can be initialized as follows:
324
+
325
+ ```python
326
+ from advancedbilling.advanced_billing_client import AdvancedBillingClient
327
+ from advancedbilling.configuration import Environment
328
+
329
+ client = AdvancedBillingClient(
330
+ basic_auth_user_name='BasicAuthUserName',
331
+ basic_auth_password='BasicAuthPassword'
332
+ )
333
+ ```
334
+
335
+ ## Environments
336
+
337
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
338
+
339
+ ### Fields
340
+
341
+ | Name | Description |
342
+ | --- | --- |
343
+ | production | **Default** Production server |
344
+ | environment2 | Production server |
345
+
346
+ ## Authorization
347
+
348
+ This API uses `Basic Authentication`.
349
+
350
+ ## List of APIs
351
+
352
+ * [API Exports](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/api-exports.md)
353
+ * [Advance Invoice](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/advance-invoice.md)
354
+ * [Billing Portal](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/billing-portal.md)
355
+ * [Custom Fields](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/custom-fields.md)
356
+ * [Events-Based Billing Segments](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/events-based-billing-segments.md)
357
+ * [Payment Profiles](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/payment-profiles.md)
358
+ * [Product Families](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/product-families.md)
359
+ * [Product Price Points](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/product-price-points.md)
360
+ * [Proforma Invoices](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/proforma-invoices.md)
361
+ * [Reason Codes](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/reason-codes.md)
362
+ * [Referral Codes](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/referral-codes.md)
363
+ * [Sales Commissions](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/sales-commissions.md)
364
+ * [Subscription Components](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-components.md)
365
+ * [Subscription Groups](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-groups.md)
366
+ * [Subscription Group Invoice Account](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-group-invoice-account.md)
367
+ * [Subscription Group Status](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-group-status.md)
368
+ * [Subscription Invoice Account](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-invoice-account.md)
369
+ * [Subscription Notes](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-notes.md)
370
+ * [Subscription Products](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-products.md)
371
+ * [Subscription Status](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscription-status.md)
372
+ * [Coupons](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/coupons.md)
373
+ * [Components](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/components.md)
374
+ * [Customers](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/customers.md)
375
+ * [Events](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/events.md)
376
+ * [Insights](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/insights.md)
377
+ * [Invoices](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/invoices.md)
378
+ * [Offers](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/offers.md)
379
+ * [Products](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/products.md)
380
+ * [Sites](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/sites.md)
381
+ * [Subscriptions](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/subscriptions.md)
382
+ * [Webhooks](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/controllers/webhooks.md)
383
+
384
+ ## Classes Documentation
385
+
386
+ * [Utility Classes](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/utility-classes.md)
387
+ * [HttpResponse](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/http-response.md)
388
+ * [HttpRequest](https://www.github.com/maxio-com/ab-python-sdk/tree/0.0.3/doc/http-request.md)
389
+