orb-billing 1.59.0 → 1.60.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +1 -1
- data/lib/orb/models/alert.rb +9 -1
- data/lib/orb/models/changed_subscription_resources.rb +9 -1
- data/lib/orb/models/credit_note.rb +9 -1
- data/lib/orb/models/credit_note_list_params.rb +11 -1
- data/lib/orb/models/customer.rb +12 -3
- data/lib/orb/models/customer_create_params.rb +10 -1
- data/lib/orb/models/customer_credit_balance_depleted_webhook_event.rb +9 -1
- data/lib/orb/models/customer_credit_balance_dropped_webhook_event.rb +9 -1
- data/lib/orb/models/customer_credit_balance_recovered_webhook_event.rb +9 -1
- data/lib/orb/models/customer_edited_webhook_event.rb +8 -1
- data/lib/orb/models/customer_update_by_external_id_params.rb +10 -1
- data/lib/orb/models/customer_update_params.rb +10 -1
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +7 -7
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +6 -4
- data/lib/orb/models/customers/credits/top_up_create_params.rb +6 -4
- data/lib/orb/models/customers/credits/top_up_invoice_settings.rb +6 -4
- data/lib/orb/models/invoice.rb +9 -1
- data/lib/orb/models/invoice_create_params.rb +25 -7
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +9 -1
- data/lib/orb/models/invoice_issue_summary_response.rb +9 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +9 -1
- data/lib/orb/models/invoice_list_params.rb +11 -1
- data/lib/orb/models/invoice_list_summary_params.rb +11 -1
- data/lib/orb/models/invoice_list_summary_response.rb +9 -1
- data/lib/orb/models/invoice_update_params.rb +7 -6
- data/lib/orb/models/mutated_subscription.rb +16 -6
- data/lib/orb/models/payment_method_created_webhook_event.rb +3 -2
- data/lib/orb/models/payment_method_deleted_webhook_event.rb +3 -2
- data/lib/orb/models/plan.rb +26 -8
- data/lib/orb/models/plan_create_params.rb +15 -5
- data/lib/orb/models/plan_created_webhook_event.rb +9 -1
- data/lib/orb/models/plan_default_version_set_webhook_event.rb +9 -1
- data/lib/orb/models/plan_edited_webhook_event.rb +7 -1
- data/lib/orb/models/plan_update_params.rb +10 -1
- data/lib/orb/models/plan_version_created_webhook_event.rb +9 -1
- data/lib/orb/models/plans/external_plan_id_update_params.rb +10 -1
- data/lib/orb/models/subscription.rb +16 -6
- data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +18 -2
- data/lib/orb/models/subscription_cost_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_create_params.rb +27 -5
- data/lib/orb/models/subscription_fetch_schedule_response.rb +9 -1
- data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +18 -2
- data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +18 -2
- data/lib/orb/models/subscription_list_params.rb +11 -1
- data/lib/orb/models/subscription_list_summary_params.rb +11 -1
- data/lib/orb/models/subscription_list_summary_response.rb +9 -1
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +7 -4
- data/lib/orb/models/subscription_spend_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_update_params.rb +7 -5
- data/lib/orb/models/subscription_usage_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_edited_standard_webhook_event.rb +8 -1
- data/lib/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_edited_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_issued_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/payment_method_created_standard_webhook_event.rb +3 -2
- data/lib/orb/models/webhooks/payment_method_deleted_standard_webhook_event.rb +3 -2
- data/lib/orb/models/webhooks/plan_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/plan_edited_standard_webhook_event.rb +7 -1
- data/lib/orb/models/webhooks/plan_version_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_edited_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_ended_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_started_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/resources/credit_notes.rb +4 -3
- data/lib/orb/resources/customers.rb +9 -3
- data/lib/orb/resources/invoices.rb +13 -5
- data/lib/orb/resources/plans/external_plan_id.rb +3 -1
- data/lib/orb/resources/plans.rb +7 -3
- data/lib/orb/resources/subscriptions.rb +14 -6
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/alert.rbi +11 -3
- data/rbi/orb/models/changed_subscription_resources.rbi +8 -0
- data/rbi/orb/models/credit_note.rbi +8 -0
- data/rbi/orb/models/credit_note_list_params.rbi +12 -0
- data/rbi/orb/models/customer.rbi +12 -2
- data/rbi/orb/models/customer_create_params.rbi +10 -0
- data/rbi/orb/models/customer_credit_balance_depleted_webhook_event.rbi +11 -3
- data/rbi/orb/models/customer_credit_balance_dropped_webhook_event.rbi +11 -3
- data/rbi/orb/models/customer_credit_balance_recovered_webhook_event.rbi +11 -3
- data/rbi/orb/models/customer_edited_webhook_event.rbi +6 -0
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +10 -0
- data/rbi/orb/models/customer_update_params.rbi +10 -0
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +12 -12
- data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +12 -12
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +10 -6
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +10 -6
- data/rbi/orb/models/customers/credits/top_up_invoice_settings.rbi +10 -6
- data/rbi/orb/models/invoice.rbi +8 -0
- data/rbi/orb/models/invoice_create_params.rbi +30 -10
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +8 -0
- data/rbi/orb/models/invoice_issue_summary_response.rbi +8 -0
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +8 -0
- data/rbi/orb/models/invoice_list_params.rbi +12 -0
- data/rbi/orb/models/invoice_list_summary_params.rbi +12 -0
- data/rbi/orb/models/invoice_list_summary_response.rbi +8 -0
- data/rbi/orb/models/invoice_update_params.rbi +12 -10
- data/rbi/orb/models/mutated_subscription.rbi +20 -8
- data/rbi/orb/models/payment_method_created_webhook_event.rbi +4 -2
- data/rbi/orb/models/payment_method_deleted_webhook_event.rbi +4 -2
- data/rbi/orb/models/plan.rbi +33 -13
- data/rbi/orb/models/plan_create_params.rbi +18 -6
- data/rbi/orb/models/plan_created_webhook_event.rbi +11 -3
- data/rbi/orb/models/plan_default_version_set_webhook_event.rbi +11 -3
- data/rbi/orb/models/plan_edited_webhook_event.rbi +6 -0
- data/rbi/orb/models/plan_update_params.rbi +10 -0
- data/rbi/orb/models/plan_version_created_webhook_event.rbi +11 -3
- data/rbi/orb/models/plans/external_plan_id_update_params.rbi +10 -0
- data/rbi/orb/models/subscription.rbi +20 -8
- data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +22 -6
- data/rbi/orb/models/subscription_cost_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_create_params.rbi +34 -6
- data/rbi/orb/models/subscription_fetch_schedule_response.rbi +11 -3
- data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +22 -6
- data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +22 -6
- data/rbi/orb/models/subscription_list_params.rbi +12 -0
- data/rbi/orb/models/subscription_list_summary_params.rbi +12 -0
- data/rbi/orb/models/subscription_list_summary_response.rbi +11 -3
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +12 -6
- data/rbi/orb/models/subscription_spend_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_update_params.rbi +12 -8
- data/rbi/orb/models/subscription_usage_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_edited_standard_webhook_event.rbi +6 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_edited_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_issued_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/payment_method_created_standard_webhook_event.rbi +4 -2
- data/rbi/orb/models/webhooks/payment_method_deleted_standard_webhook_event.rbi +4 -2
- data/rbi/orb/models/webhooks/plan_created_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/plan_edited_standard_webhook_event.rbi +6 -0
- data/rbi/orb/models/webhooks/plan_version_created_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_created_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_edited_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_ended_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_started_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/resources/credit_notes.rbi +6 -2
- data/rbi/orb/resources/customers.rbi +12 -0
- data/rbi/orb/resources/invoices.rbi +29 -10
- data/rbi/orb/resources/plans/external_plan_id.rbi +4 -0
- data/rbi/orb/resources/plans.rbi +12 -3
- data/rbi/orb/resources/subscriptions.rbi +37 -10
- data/sig/orb/models/alert.rbs +8 -3
- data/sig/orb/models/changed_subscription_resources.rbs +5 -0
- data/sig/orb/models/credit_note.rbs +5 -0
- data/sig/orb/models/credit_note_list_params.rbs +5 -0
- data/sig/orb/models/customer.rbs +5 -0
- data/sig/orb/models/customer_create_params.rbs +5 -0
- data/sig/orb/models/customer_credit_balance_depleted_webhook_event.rbs +8 -3
- data/sig/orb/models/customer_credit_balance_dropped_webhook_event.rbs +8 -3
- data/sig/orb/models/customer_credit_balance_recovered_webhook_event.rbs +8 -3
- data/sig/orb/models/customer_edited_webhook_event.rbs +5 -0
- data/sig/orb/models/customer_update_by_external_id_params.rbs +5 -0
- data/sig/orb/models/customer_update_params.rbs +5 -0
- data/sig/orb/models/invoice.rbs +5 -0
- data/sig/orb/models/invoice_create_params.rbs +10 -0
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +5 -0
- data/sig/orb/models/invoice_issue_summary_response.rbs +5 -0
- data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +5 -0
- data/sig/orb/models/invoice_list_params.rbs +5 -0
- data/sig/orb/models/invoice_list_summary_params.rbs +5 -0
- data/sig/orb/models/invoice_list_summary_response.rbs +5 -0
- data/sig/orb/models/mutated_subscription.rbs +5 -0
- data/sig/orb/models/plan.rbs +18 -3
- data/sig/orb/models/plan_create_params.rbs +5 -0
- data/sig/orb/models/plan_created_webhook_event.rbs +13 -3
- data/sig/orb/models/plan_default_version_set_webhook_event.rbs +13 -3
- data/sig/orb/models/plan_edited_webhook_event.rbs +5 -0
- data/sig/orb/models/plan_update_params.rbs +5 -0
- data/sig/orb/models/plan_version_created_webhook_event.rbs +13 -3
- data/sig/orb/models/plans/external_plan_id_update_params.rbs +5 -0
- data/sig/orb/models/subscription.rbs +5 -0
- data/sig/orb/models/subscription_alert_disabled_webhook_event.rbs +21 -6
- data/sig/orb/models/subscription_cost_exceeded_webhook_event.rbs +8 -3
- data/sig/orb/models/subscription_create_params.rbs +10 -0
- data/sig/orb/models/subscription_fetch_schedule_response.rbs +13 -3
- data/sig/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbs +21 -6
- data/sig/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbs +13 -3
- data/sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs +13 -3
- data/sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs +21 -6
- data/sig/orb/models/subscription_list_params.rbs +5 -0
- data/sig/orb/models/subscription_list_summary_params.rbs +5 -0
- data/sig/orb/models/subscription_list_summary_response.rbs +13 -3
- data/sig/orb/models/subscription_spend_exceeded_webhook_event.rbs +8 -3
- data/sig/orb/models/subscription_usage_exceeded_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_edited_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_edited_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_issued_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/plan_created_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/plan_edited_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/plan_version_created_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_created_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_edited_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_ended_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_started_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/resources/credit_notes.rbs +1 -0
- data/sig/orb/resources/customers.rbs +3 -0
- data/sig/orb/resources/invoices.rbs +4 -0
- data/sig/orb/resources/plans/external_plan_id.rbs +1 -0
- data/sig/orb/resources/plans.rbs +2 -0
- data/sig/orb/resources/subscriptions.rbs +4 -0
- metadata +1 -1
data/lib/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rb
CHANGED
|
@@ -176,7 +176,13 @@ module Orb
|
|
|
176
176
|
# @return [String, nil]
|
|
177
177
|
required :name, String, nil?: true
|
|
178
178
|
|
|
179
|
-
# @!
|
|
179
|
+
# @!attribute billing_entity_id
|
|
180
|
+
# The id of the default billing entity of this plan.
|
|
181
|
+
#
|
|
182
|
+
# @return [String, nil]
|
|
183
|
+
optional :billing_entity_id, String, nil?: true
|
|
184
|
+
|
|
185
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
180
186
|
# Some parameter documentations has been truncated, see
|
|
181
187
|
# {Orb::Models::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Subscription::Plan}
|
|
182
188
|
# for more details.
|
|
@@ -186,6 +192,8 @@ module Orb
|
|
|
186
192
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
187
193
|
#
|
|
188
194
|
# @param name [String, nil]
|
|
195
|
+
#
|
|
196
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
189
197
|
end
|
|
190
198
|
|
|
191
199
|
# @see Orb::Models::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Subscription#status
|
data/lib/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rb
CHANGED
|
@@ -198,7 +198,13 @@ module Orb
|
|
|
198
198
|
# @return [String, nil]
|
|
199
199
|
required :name, String, nil?: true
|
|
200
200
|
|
|
201
|
-
# @!
|
|
201
|
+
# @!attribute billing_entity_id
|
|
202
|
+
# The id of the default billing entity of this plan.
|
|
203
|
+
#
|
|
204
|
+
# @return [String, nil]
|
|
205
|
+
optional :billing_entity_id, String, nil?: true
|
|
206
|
+
|
|
207
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
202
208
|
# Some parameter documentations has been truncated, see
|
|
203
209
|
# {Orb::Models::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Subscription::Plan}
|
|
204
210
|
# for more details.
|
|
@@ -208,6 +214,8 @@ module Orb
|
|
|
208
214
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
209
215
|
#
|
|
210
216
|
# @param name [String, nil]
|
|
217
|
+
#
|
|
218
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
211
219
|
end
|
|
212
220
|
|
|
213
221
|
# @see Orb::Models::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Subscription#status
|
|
@@ -340,7 +340,13 @@ module Orb
|
|
|
340
340
|
# @return [String]
|
|
341
341
|
required :plan_version, String
|
|
342
342
|
|
|
343
|
-
# @!
|
|
343
|
+
# @!attribute billing_entity_id
|
|
344
|
+
# The id of the default billing entity of this plan.
|
|
345
|
+
#
|
|
346
|
+
# @return [String, nil]
|
|
347
|
+
optional :billing_entity_id, String, nil?: true
|
|
348
|
+
|
|
349
|
+
# @!method initialize(id:, external_plan_id:, name:, plan_version:, billing_entity_id: nil)
|
|
344
350
|
# Some parameter documentations has been truncated, see
|
|
345
351
|
# {Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Properties::AlertConfiguration::Plan}
|
|
346
352
|
# for more details.
|
|
@@ -354,6 +360,8 @@ module Orb
|
|
|
354
360
|
# @param name [String, nil]
|
|
355
361
|
#
|
|
356
362
|
# @param plan_version [String]
|
|
363
|
+
#
|
|
364
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
357
365
|
end
|
|
358
366
|
|
|
359
367
|
class Threshold < Orb::Internal::Type::BaseModel
|
|
@@ -641,7 +649,13 @@ module Orb
|
|
|
641
649
|
# @return [String, nil]
|
|
642
650
|
required :name, String, nil?: true
|
|
643
651
|
|
|
644
|
-
# @!
|
|
652
|
+
# @!attribute billing_entity_id
|
|
653
|
+
# The id of the default billing entity of this plan.
|
|
654
|
+
#
|
|
655
|
+
# @return [String, nil]
|
|
656
|
+
optional :billing_entity_id, String, nil?: true
|
|
657
|
+
|
|
658
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
645
659
|
# Some parameter documentations has been truncated, see
|
|
646
660
|
# {Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Subscription::Plan}
|
|
647
661
|
# for more details.
|
|
@@ -651,6 +665,8 @@ module Orb
|
|
|
651
665
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
652
666
|
#
|
|
653
667
|
# @param name [String, nil]
|
|
668
|
+
#
|
|
669
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
654
670
|
end
|
|
655
671
|
|
|
656
672
|
# @see Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Subscription#status
|
|
@@ -209,7 +209,13 @@ module Orb
|
|
|
209
209
|
# @return [String, nil]
|
|
210
210
|
required :name, String, nil?: true
|
|
211
211
|
|
|
212
|
-
# @!
|
|
212
|
+
# @!attribute billing_entity_id
|
|
213
|
+
# The id of the default billing entity of this plan.
|
|
214
|
+
#
|
|
215
|
+
# @return [String, nil]
|
|
216
|
+
optional :billing_entity_id, String, nil?: true
|
|
217
|
+
|
|
218
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
213
219
|
# Some parameter documentations has been truncated, see
|
|
214
220
|
# {Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription::Plan}
|
|
215
221
|
# for more details.
|
|
@@ -219,6 +225,8 @@ module Orb
|
|
|
219
225
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
220
226
|
#
|
|
221
227
|
# @param name [String, nil]
|
|
228
|
+
#
|
|
229
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
222
230
|
end
|
|
223
231
|
|
|
224
232
|
# @see Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription#status
|
|
@@ -193,7 +193,13 @@ module Orb
|
|
|
193
193
|
# @return [String, nil]
|
|
194
194
|
required :name, String, nil?: true
|
|
195
195
|
|
|
196
|
-
# @!
|
|
196
|
+
# @!attribute billing_entity_id
|
|
197
|
+
# The id of the default billing entity of this plan.
|
|
198
|
+
#
|
|
199
|
+
# @return [String, nil]
|
|
200
|
+
optional :billing_entity_id, String, nil?: true
|
|
201
|
+
|
|
202
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
197
203
|
# Some parameter documentations has been truncated, see
|
|
198
204
|
# {Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription::Plan}
|
|
199
205
|
# for more details.
|
|
@@ -203,6 +209,8 @@ module Orb
|
|
|
203
209
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
204
210
|
#
|
|
205
211
|
# @param name [String, nil]
|
|
212
|
+
#
|
|
213
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
206
214
|
end
|
|
207
215
|
|
|
208
216
|
# @see Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription#status
|
data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb
CHANGED
|
@@ -210,7 +210,13 @@ module Orb
|
|
|
210
210
|
# @return [String, nil]
|
|
211
211
|
required :name, String, nil?: true
|
|
212
212
|
|
|
213
|
-
# @!
|
|
213
|
+
# @!attribute billing_entity_id
|
|
214
|
+
# The id of the default billing entity of this plan.
|
|
215
|
+
#
|
|
216
|
+
# @return [String, nil]
|
|
217
|
+
optional :billing_entity_id, String, nil?: true
|
|
218
|
+
|
|
219
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
214
220
|
# Some parameter documentations has been truncated, see
|
|
215
221
|
# {Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription::Plan}
|
|
216
222
|
# for more details.
|
|
@@ -220,6 +226,8 @@ module Orb
|
|
|
220
226
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
221
227
|
#
|
|
222
228
|
# @param name [String, nil]
|
|
229
|
+
#
|
|
230
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
223
231
|
end
|
|
224
232
|
|
|
225
233
|
# @see Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription#status
|
|
@@ -208,7 +208,13 @@ module Orb
|
|
|
208
208
|
# @return [String, nil]
|
|
209
209
|
required :name, String, nil?: true
|
|
210
210
|
|
|
211
|
-
# @!
|
|
211
|
+
# @!attribute billing_entity_id
|
|
212
|
+
# The id of the default billing entity of this plan.
|
|
213
|
+
#
|
|
214
|
+
# @return [String, nil]
|
|
215
|
+
optional :billing_entity_id, String, nil?: true
|
|
216
|
+
|
|
217
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
212
218
|
# Some parameter documentations has been truncated, see
|
|
213
219
|
# {Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription::Plan}
|
|
214
220
|
# for more details.
|
|
@@ -218,6 +224,8 @@ module Orb
|
|
|
218
224
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
219
225
|
#
|
|
220
226
|
# @param name [String, nil]
|
|
227
|
+
#
|
|
228
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
221
229
|
end
|
|
222
230
|
|
|
223
231
|
# @see Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription#status
|
|
@@ -337,7 +337,13 @@ module Orb
|
|
|
337
337
|
# @return [String]
|
|
338
338
|
required :plan_version, String
|
|
339
339
|
|
|
340
|
-
# @!
|
|
340
|
+
# @!attribute billing_entity_id
|
|
341
|
+
# The id of the default billing entity of this plan.
|
|
342
|
+
#
|
|
343
|
+
# @return [String, nil]
|
|
344
|
+
optional :billing_entity_id, String, nil?: true
|
|
345
|
+
|
|
346
|
+
# @!method initialize(id:, external_plan_id:, name:, plan_version:, billing_entity_id: nil)
|
|
341
347
|
# Some parameter documentations has been truncated, see
|
|
342
348
|
# {Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Properties::AlertConfiguration::Plan}
|
|
343
349
|
# for more details.
|
|
@@ -351,6 +357,8 @@ module Orb
|
|
|
351
357
|
# @param name [String, nil]
|
|
352
358
|
#
|
|
353
359
|
# @param plan_version [String]
|
|
360
|
+
#
|
|
361
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
354
362
|
end
|
|
355
363
|
|
|
356
364
|
class Threshold < Orb::Internal::Type::BaseModel
|
|
@@ -653,7 +661,13 @@ module Orb
|
|
|
653
661
|
# @return [String, nil]
|
|
654
662
|
required :name, String, nil?: true
|
|
655
663
|
|
|
656
|
-
# @!
|
|
664
|
+
# @!attribute billing_entity_id
|
|
665
|
+
# The id of the default billing entity of this plan.
|
|
666
|
+
#
|
|
667
|
+
# @return [String, nil]
|
|
668
|
+
optional :billing_entity_id, String, nil?: true
|
|
669
|
+
|
|
670
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
657
671
|
# Some parameter documentations has been truncated, see
|
|
658
672
|
# {Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription::Plan}
|
|
659
673
|
# for more details.
|
|
@@ -663,6 +677,8 @@ module Orb
|
|
|
663
677
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
664
678
|
#
|
|
665
679
|
# @param name [String, nil]
|
|
680
|
+
#
|
|
681
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
666
682
|
end
|
|
667
683
|
|
|
668
684
|
# @see Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription#status
|
|
@@ -181,7 +181,13 @@ module Orb
|
|
|
181
181
|
# @return [String, nil]
|
|
182
182
|
required :name, String, nil?: true
|
|
183
183
|
|
|
184
|
-
# @!
|
|
184
|
+
# @!attribute billing_entity_id
|
|
185
|
+
# The id of the default billing entity of this plan.
|
|
186
|
+
#
|
|
187
|
+
# @return [String, nil]
|
|
188
|
+
optional :billing_entity_id, String, nil?: true
|
|
189
|
+
|
|
190
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
185
191
|
# Some parameter documentations has been truncated, see
|
|
186
192
|
# {Orb::Models::Webhooks::SubscriptionStartedStandardWebhookEvent::Subscription::Plan}
|
|
187
193
|
# for more details.
|
|
@@ -191,6 +197,8 @@ module Orb
|
|
|
191
197
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
192
198
|
#
|
|
193
199
|
# @param name [String, nil]
|
|
200
|
+
#
|
|
201
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
194
202
|
end
|
|
195
203
|
|
|
196
204
|
# @see Orb::Models::Webhooks::SubscriptionStartedStandardWebhookEvent::Subscription#status
|
|
@@ -182,7 +182,13 @@ module Orb
|
|
|
182
182
|
# @return [String, nil]
|
|
183
183
|
required :name, String, nil?: true
|
|
184
184
|
|
|
185
|
-
# @!
|
|
185
|
+
# @!attribute billing_entity_id
|
|
186
|
+
# The id of the default billing entity of this plan.
|
|
187
|
+
#
|
|
188
|
+
# @return [String, nil]
|
|
189
|
+
optional :billing_entity_id, String, nil?: true
|
|
190
|
+
|
|
191
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
186
192
|
# Some parameter documentations has been truncated, see
|
|
187
193
|
# {Orb::Models::Webhooks::SubscriptionTrialEndedStandardWebhookEvent::Subscription::Plan}
|
|
188
194
|
# for more details.
|
|
@@ -192,6 +198,8 @@ module Orb
|
|
|
192
198
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
193
199
|
#
|
|
194
200
|
# @param name [String, nil]
|
|
201
|
+
#
|
|
202
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
195
203
|
end
|
|
196
204
|
|
|
197
205
|
# @see Orb::Models::Webhooks::SubscriptionTrialEndedStandardWebhookEvent::Subscription#status
|
|
@@ -344,7 +344,13 @@ module Orb
|
|
|
344
344
|
# @return [String]
|
|
345
345
|
required :plan_version, String
|
|
346
346
|
|
|
347
|
-
# @!
|
|
347
|
+
# @!attribute billing_entity_id
|
|
348
|
+
# The id of the default billing entity of this plan.
|
|
349
|
+
#
|
|
350
|
+
# @return [String, nil]
|
|
351
|
+
optional :billing_entity_id, String, nil?: true
|
|
352
|
+
|
|
353
|
+
# @!method initialize(id:, external_plan_id:, name:, plan_version:, billing_entity_id: nil)
|
|
348
354
|
# Some parameter documentations has been truncated, see
|
|
349
355
|
# {Orb::Models::Webhooks::SubscriptionUsageExceededStandardWebhookEvent::Properties::AlertConfiguration::Plan}
|
|
350
356
|
# for more details.
|
|
@@ -358,6 +364,8 @@ module Orb
|
|
|
358
364
|
# @param name [String, nil]
|
|
359
365
|
#
|
|
360
366
|
# @param plan_version [String]
|
|
367
|
+
#
|
|
368
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
361
369
|
end
|
|
362
370
|
|
|
363
371
|
class Threshold < Orb::Internal::Type::BaseModel
|
|
@@ -660,7 +668,13 @@ module Orb
|
|
|
660
668
|
# @return [String, nil]
|
|
661
669
|
required :name, String, nil?: true
|
|
662
670
|
|
|
663
|
-
# @!
|
|
671
|
+
# @!attribute billing_entity_id
|
|
672
|
+
# The id of the default billing entity of this plan.
|
|
673
|
+
#
|
|
674
|
+
# @return [String, nil]
|
|
675
|
+
optional :billing_entity_id, String, nil?: true
|
|
676
|
+
|
|
677
|
+
# @!method initialize(id:, external_plan_id:, name:, billing_entity_id: nil)
|
|
664
678
|
# Some parameter documentations has been truncated, see
|
|
665
679
|
# {Orb::Models::Webhooks::SubscriptionUsageExceededStandardWebhookEvent::Subscription::Plan}
|
|
666
680
|
# for more details.
|
|
@@ -670,6 +684,8 @@ module Orb
|
|
|
670
684
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
671
685
|
#
|
|
672
686
|
# @param name [String, nil]
|
|
687
|
+
#
|
|
688
|
+
# @param billing_entity_id [String, nil] The id of the default billing entity of this plan.
|
|
673
689
|
end
|
|
674
690
|
|
|
675
691
|
# @see Orb::Models::Webhooks::SubscriptionUsageExceededStandardWebhookEvent::Subscription#status
|
|
@@ -67,11 +67,12 @@ module Orb
|
|
|
67
67
|
# Some parameter documentations has been truncated, see
|
|
68
68
|
# {Orb::Models::CreditNoteListParams} for more details.
|
|
69
69
|
#
|
|
70
|
-
# Get a paginated list of CreditNotes.
|
|
71
|
-
# subscription_id, or external_customer_id. The credit notes will be returned in
|
|
70
|
+
# Get a paginated list of CreditNotes. The credit notes will be returned in
|
|
72
71
|
# reverse chronological order by `creation_time`.
|
|
73
72
|
#
|
|
74
|
-
# @overload list(created_at_gt: nil, created_at_gte: nil, created_at_lt: nil, created_at_lte: nil, cursor: nil, limit: nil, request_options: {})
|
|
73
|
+
# @overload list(billing_entity_id: nil, created_at_gt: nil, created_at_gte: nil, created_at_lt: nil, created_at_lte: nil, cursor: nil, limit: nil, request_options: {})
|
|
74
|
+
#
|
|
75
|
+
# @param billing_entity_id [String, nil] Filters to objects issued by this billing entity. Filtering on the account's def
|
|
75
76
|
#
|
|
76
77
|
# @param created_at_gt [Time, nil]
|
|
77
78
|
#
|
|
@@ -84,7 +84,7 @@ module Orb
|
|
|
84
84
|
# - [Timezone localization](/essentials/timezones) can be configured on a
|
|
85
85
|
# per-customer basis by setting the `timezone` parameter
|
|
86
86
|
#
|
|
87
|
-
# @overload create(email:, name:, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, payment_configuration: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, timezone: nil, request_options: {})
|
|
87
|
+
# @overload create(email:, name:, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, billing_entity_id: nil, currency: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, payment_configuration: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, timezone: nil, request_options: {})
|
|
88
88
|
#
|
|
89
89
|
# @param email [String] A valid customer email, to be used for notifications. When Orb triggers payment
|
|
90
90
|
#
|
|
@@ -100,6 +100,8 @@ module Orb
|
|
|
100
100
|
#
|
|
101
101
|
# @param billing_address [Orb::Models::AddressInput, nil]
|
|
102
102
|
#
|
|
103
|
+
# @param billing_entity_id [String, nil] The Orb ID of the active billing entity to set as this customer's default entity
|
|
104
|
+
#
|
|
103
105
|
# @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not
|
|
104
106
|
#
|
|
105
107
|
# @param email_delivery [Boolean, nil]
|
|
@@ -152,7 +154,7 @@ module Orb
|
|
|
152
154
|
# be set if it has not already been set on the customer. Other fields on a
|
|
153
155
|
# customer are currently immutable.
|
|
154
156
|
#
|
|
155
|
-
# @overload update(customer_id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, default_payment_method_id: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_configuration: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
|
|
157
|
+
# @overload update(customer_id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, billing_entity_id: nil, currency: nil, default_payment_method_id: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_configuration: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
|
|
156
158
|
#
|
|
157
159
|
# @param customer_id [String]
|
|
158
160
|
#
|
|
@@ -166,6 +168,8 @@ module Orb
|
|
|
166
168
|
#
|
|
167
169
|
# @param billing_address [Orb::Models::AddressInput, nil]
|
|
168
170
|
#
|
|
171
|
+
# @param billing_entity_id [String, nil] The Orb ID of the active billing entity to set as this customer's default entity
|
|
172
|
+
#
|
|
169
173
|
# @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. This c
|
|
170
174
|
#
|
|
171
175
|
# @param default_payment_method_id [String, nil] The Orb ID of the payment method to set as this customer's default. Pass `null`
|
|
@@ -461,7 +465,7 @@ module Orb
|
|
|
461
465
|
# resource and semantics of this endpoint exactly mirror
|
|
462
466
|
# [Update Customer](update-customer).
|
|
463
467
|
#
|
|
464
|
-
# @overload update_by_external_id(id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, default_payment_method_id: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_configuration: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
|
|
468
|
+
# @overload update_by_external_id(id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, billing_entity_id: nil, currency: nil, default_payment_method_id: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_configuration: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
|
|
465
469
|
#
|
|
466
470
|
# @param id [String]
|
|
467
471
|
#
|
|
@@ -475,6 +479,8 @@ module Orb
|
|
|
475
479
|
#
|
|
476
480
|
# @param billing_address [Orb::Models::AddressInput, nil]
|
|
477
481
|
#
|
|
482
|
+
# @param billing_entity_id [String, nil] The Orb ID of the active billing entity to set as this customer's default entity
|
|
483
|
+
#
|
|
478
484
|
# @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. This c
|
|
479
485
|
#
|
|
480
486
|
# @param default_payment_method_id [String, nil] The Orb ID of the payment method to set as this customer's default. Pass `null`
|
|
@@ -13,7 +13,7 @@ module Orb
|
|
|
13
13
|
#
|
|
14
14
|
# This endpoint is used to create a one-off invoice for a customer.
|
|
15
15
|
#
|
|
16
|
-
# @overload create(currency:, invoice_date:, line_items:, auto_collection: nil, customer_id: nil, discount: nil, due_date: nil, external_customer_id: nil, memo: nil, metadata: nil, net_terms: nil, will_auto_issue: nil, request_options: {})
|
|
16
|
+
# @overload create(currency:, invoice_date:, line_items:, auto_collection: nil, billing_entity_id: nil, customer_id: nil, discount: nil, due_date: nil, external_billing_entity_id: nil, external_customer_id: nil, memo: nil, metadata: nil, net_terms: nil, will_auto_issue: nil, request_options: {})
|
|
17
17
|
#
|
|
18
18
|
# @param currency [String] An ISO 4217 currency string. Must be the same as the customer's currency if it i
|
|
19
19
|
#
|
|
@@ -23,19 +23,23 @@ module Orb
|
|
|
23
23
|
#
|
|
24
24
|
# @param auto_collection [Boolean, nil] Determines whether this invoice will automatically attempt to charge a saved pay
|
|
25
25
|
#
|
|
26
|
+
# @param billing_entity_id [String, nil] The id of the active billing entity that issues this invoice. If not specified,
|
|
27
|
+
#
|
|
26
28
|
# @param customer_id [String, nil] The id of the `Customer` to create this invoice for. One of `customer_id` and `e
|
|
27
29
|
#
|
|
28
30
|
# @param discount [Orb::Models::PercentageDiscount, Orb::Models::TrialDiscount, Orb::Models::UsageDiscount, Orb::Models::AmountDiscount, Orb::Models::Discount::TieredPercentage, nil] An optional discount to attach to the invoice.
|
|
29
31
|
#
|
|
30
32
|
# @param due_date [Date, Time, nil] An optional custom due date for the invoice. If not set, the due date will be ca
|
|
31
33
|
#
|
|
34
|
+
# @param external_billing_entity_id [String, nil] The external id of the active billing entity that issues this invoice.
|
|
35
|
+
#
|
|
32
36
|
# @param external_customer_id [String, nil] The `external_customer_id` of the `Customer` to create this invoice for. One of
|
|
33
37
|
#
|
|
34
38
|
# @param memo [String, nil] An optional memo to attach to the invoice. If no memo is provided, we will attac
|
|
35
39
|
#
|
|
36
40
|
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
|
|
37
41
|
#
|
|
38
|
-
# @param net_terms [Integer, nil] The
|
|
42
|
+
# @param net_terms [Integer, nil] The number of days until the invoice is due, counting the start date as day 1, s
|
|
39
43
|
#
|
|
40
44
|
# @param will_auto_issue [Boolean] When true, auto-issues the invoice on the invoice date. If the invoice date is t
|
|
41
45
|
#
|
|
@@ -73,7 +77,7 @@ module Orb
|
|
|
73
77
|
#
|
|
74
78
|
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
|
|
75
79
|
#
|
|
76
|
-
# @param net_terms [Integer, nil] The
|
|
80
|
+
# @param net_terms [Integer, nil] The number of days until the invoice is due, counting the start date as day 1, s
|
|
77
81
|
#
|
|
78
82
|
# @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
79
83
|
#
|
|
@@ -112,7 +116,7 @@ module Orb
|
|
|
112
116
|
# the [list invoices summary](/api-reference/invoice/list-invoices-summary)
|
|
113
117
|
# endpoint for better performance.
|
|
114
118
|
#
|
|
115
|
-
# @overload list(amount: nil, amount_gt: nil, amount_lt: nil, cursor: nil, customer_id: nil, date_type: nil, due_date: nil, due_date_window: nil, due_date_gt: nil, due_date_lt: nil, external_customer_id: nil, include_zero_quantity_line_items: nil, invoice_date_gt: nil, invoice_date_gte: nil, invoice_date_lt: nil, invoice_date_lte: nil, is_recurring: nil, limit: nil, status: nil, subscription_id: nil, request_options: {})
|
|
119
|
+
# @overload list(amount: nil, amount_gt: nil, amount_lt: nil, billing_entity_id: nil, cursor: nil, customer_id: nil, date_type: nil, due_date: nil, due_date_window: nil, due_date_gt: nil, due_date_lt: nil, external_customer_id: nil, include_zero_quantity_line_items: nil, invoice_date_gt: nil, invoice_date_gte: nil, invoice_date_lt: nil, invoice_date_lte: nil, is_recurring: nil, limit: nil, status: nil, subscription_id: nil, request_options: {})
|
|
116
120
|
#
|
|
117
121
|
# @param amount [String, nil]
|
|
118
122
|
#
|
|
@@ -120,6 +124,8 @@ module Orb
|
|
|
120
124
|
#
|
|
121
125
|
# @param amount_lt [String, nil]
|
|
122
126
|
#
|
|
127
|
+
# @param billing_entity_id [String, nil] Filters to objects issued by this billing entity. Filtering on the account's def
|
|
128
|
+
#
|
|
123
129
|
# @param cursor [String, nil] Cursor for pagination. This can be populated by the `next_cursor` value returned
|
|
124
130
|
#
|
|
125
131
|
# @param customer_id [String, nil]
|
|
@@ -356,7 +362,7 @@ module Orb
|
|
|
356
362
|
# values for each draft invoice, which may not always be up-to-date since Orb
|
|
357
363
|
# regularly refreshes invoices asynchronously.
|
|
358
364
|
#
|
|
359
|
-
# @overload list_summary(amount: nil, amount_gt: nil, amount_lt: nil, cursor: nil, customer_id: nil, date_type: nil, due_date: nil, due_date_window: nil, due_date_gt: nil, due_date_lt: nil, external_customer_id: nil, invoice_date_gt: nil, invoice_date_gte: nil, invoice_date_lt: nil, invoice_date_lte: nil, is_recurring: nil, limit: nil, status: nil, subscription_id: nil, request_options: {})
|
|
365
|
+
# @overload list_summary(amount: nil, amount_gt: nil, amount_lt: nil, billing_entity_id: nil, cursor: nil, customer_id: nil, date_type: nil, due_date: nil, due_date_window: nil, due_date_gt: nil, due_date_lt: nil, external_customer_id: nil, invoice_date_gt: nil, invoice_date_gte: nil, invoice_date_lt: nil, invoice_date_lte: nil, is_recurring: nil, limit: nil, status: nil, subscription_id: nil, request_options: {})
|
|
360
366
|
#
|
|
361
367
|
# @param amount [String, nil]
|
|
362
368
|
#
|
|
@@ -364,6 +370,8 @@ module Orb
|
|
|
364
370
|
#
|
|
365
371
|
# @param amount_lt [String, nil]
|
|
366
372
|
#
|
|
373
|
+
# @param billing_entity_id [String, nil] Filters to objects issued by this billing entity. Filtering on the account's def
|
|
374
|
+
#
|
|
367
375
|
# @param cursor [String, nil] Cursor for pagination. This can be populated by the `next_cursor` value returned
|
|
368
376
|
#
|
|
369
377
|
# @param customer_id [String, nil]
|
|
@@ -24,10 +24,12 @@ module Orb
|
|
|
24
24
|
#
|
|
25
25
|
# Other fields on a plan are currently immutable.
|
|
26
26
|
#
|
|
27
|
-
# @overload update(other_external_plan_id, description: nil, external_plan_id: nil, metadata: nil, name: nil, request_options: {})
|
|
27
|
+
# @overload update(other_external_plan_id, billing_entity_id: nil, description: nil, external_plan_id: nil, metadata: nil, name: nil, request_options: {})
|
|
28
28
|
#
|
|
29
29
|
# @param other_external_plan_id [String]
|
|
30
30
|
#
|
|
31
|
+
# @param billing_entity_id [String, nil] The Orb ID of the active billing entity to set as this plan's default entity. Pa
|
|
32
|
+
#
|
|
31
33
|
# @param description [String, nil] An optional user-defined description of the plan.
|
|
32
34
|
#
|
|
33
35
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
data/lib/orb/resources/plans.rb
CHANGED
|
@@ -33,7 +33,7 @@ module Orb
|
|
|
33
33
|
#
|
|
34
34
|
# This endpoint allows creation of plans including their prices.
|
|
35
35
|
#
|
|
36
|
-
# @overload create(currency:, name:, prices:, adjustments: nil, default_invoice_memo: nil, description: nil, external_plan_id: nil, metadata: nil, net_terms: nil, plan_phases: nil, status: nil, request_options: {})
|
|
36
|
+
# @overload create(currency:, name:, prices:, adjustments: nil, billing_entity_id: nil, default_invoice_memo: nil, description: nil, external_plan_id: nil, metadata: nil, net_terms: nil, plan_phases: nil, status: nil, request_options: {})
|
|
37
37
|
#
|
|
38
38
|
# @param currency [String] An ISO 4217 currency string for invoices generated by subscriptions on this plan
|
|
39
39
|
#
|
|
@@ -43,6 +43,8 @@ module Orb
|
|
|
43
43
|
#
|
|
44
44
|
# @param adjustments [Array<Orb::Models::PlanCreateParams::Adjustment>, nil] Adjustments for this plan. If the plan has phases, this includes adjustments acr
|
|
45
45
|
#
|
|
46
|
+
# @param billing_entity_id [String, nil] The Orb ID of the active billing entity to set as this plan's default entity.
|
|
47
|
+
#
|
|
46
48
|
# @param default_invoice_memo [String, nil] Free-form text which is available on the invoice PDF and the Orb invoice portal.
|
|
47
49
|
#
|
|
48
50
|
# @param description [String, nil] An optional user-defined description of the plan.
|
|
@@ -51,7 +53,7 @@ module Orb
|
|
|
51
53
|
#
|
|
52
54
|
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
|
|
53
55
|
#
|
|
54
|
-
# @param net_terms [Integer, nil] The
|
|
56
|
+
# @param net_terms [Integer, nil] The number of days until the invoice is due, counting the start date as day 1, s
|
|
55
57
|
#
|
|
56
58
|
# @param plan_phases [Array<Orb::Models::PlanCreateParams::PlanPhase>, nil] Configuration of pre-defined phases, each with their own prices and adjustments.
|
|
57
59
|
#
|
|
@@ -76,10 +78,12 @@ module Orb
|
|
|
76
78
|
#
|
|
77
79
|
# Other fields on a plan are currently immutable.
|
|
78
80
|
#
|
|
79
|
-
# @overload update(plan_id, description: nil, external_plan_id: nil, metadata: nil, name: nil, request_options: {})
|
|
81
|
+
# @overload update(plan_id, billing_entity_id: nil, description: nil, external_plan_id: nil, metadata: nil, name: nil, request_options: {})
|
|
80
82
|
#
|
|
81
83
|
# @param plan_id [String]
|
|
82
84
|
#
|
|
85
|
+
# @param billing_entity_id [String, nil] The Orb ID of the active billing entity to set as this plan's default entity. Pa
|
|
86
|
+
#
|
|
83
87
|
# @param description [String, nil] An optional user-defined description of the plan.
|
|
84
88
|
#
|
|
85
89
|
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
@@ -267,7 +267,7 @@ module Orb
|
|
|
267
267
|
#
|
|
268
268
|
# By default, Orb limits the number of subscriptions per customer to 100.
|
|
269
269
|
#
|
|
270
|
-
# @overload create(add_adjustments: nil, add_prices: nil, align_billing_with_subscription_start_date: nil, auto_collection: nil, auto_issuance: nil, aws_region: nil, billing_cycle_anchor_configuration: nil, coupon_redemption_code: nil, credits_overage_rate: nil, currency: nil, customer_id: nil, default_invoice_memo: nil, end_date: nil, external_customer_id: nil, external_marketplace: nil, external_marketplace_reporting_id: nil, external_plan_id: nil, filter: nil, initial_phase_order: nil, invoicing_threshold: nil, metadata: nil, name: nil, net_terms: nil, per_credit_overage_amount: nil, plan_id: nil, plan_version_number: nil, price_overrides: nil, remove_adjustments: nil, remove_prices: nil, replace_adjustments: nil, replace_prices: nil, start_date: nil, trial_duration_days: nil, usage_customer_ids: nil, request_options: {})
|
|
270
|
+
# @overload create(add_adjustments: nil, add_prices: nil, align_billing_with_subscription_start_date: nil, auto_collection: nil, auto_issuance: nil, aws_region: nil, billing_cycle_anchor_configuration: nil, billing_entity_id: nil, coupon_redemption_code: nil, credits_overage_rate: nil, currency: nil, customer_id: nil, default_invoice_memo: nil, end_date: nil, external_billing_entity_id: nil, external_customer_id: nil, external_marketplace: nil, external_marketplace_reporting_id: nil, external_plan_id: nil, filter: nil, initial_phase_order: nil, invoicing_threshold: nil, metadata: nil, name: nil, net_terms: nil, per_credit_overage_amount: nil, plan_id: nil, plan_version_number: nil, price_overrides: nil, remove_adjustments: nil, remove_prices: nil, replace_adjustments: nil, replace_prices: nil, start_date: nil, trial_duration_days: nil, usage_customer_ids: nil, request_options: {})
|
|
271
271
|
#
|
|
272
272
|
# @param add_adjustments [Array<Orb::Models::SubscriptionCreateParams::AddAdjustment>, nil] Additional adjustments to be added to the subscription. (Only available for acco
|
|
273
273
|
#
|
|
@@ -283,6 +283,8 @@ module Orb
|
|
|
283
283
|
#
|
|
284
284
|
# @param billing_cycle_anchor_configuration [Orb::Models::BillingCycleAnchorConfiguration, nil]
|
|
285
285
|
#
|
|
286
|
+
# @param billing_entity_id [String, nil] The id of the active billing entity that issues this subscription's invoices. If
|
|
287
|
+
#
|
|
286
288
|
# @param coupon_redemption_code [String, nil] Redemption code to be used for this subscription. If the coupon cannot be found
|
|
287
289
|
#
|
|
288
290
|
# @param credits_overage_rate [Float, nil]
|
|
@@ -295,6 +297,8 @@ module Orb
|
|
|
295
297
|
#
|
|
296
298
|
# @param end_date [Time, nil]
|
|
297
299
|
#
|
|
300
|
+
# @param external_billing_entity_id [String, nil] The external id of the active billing entity that issues this subscription's inv
|
|
301
|
+
#
|
|
298
302
|
# @param external_customer_id [String, nil]
|
|
299
303
|
#
|
|
300
304
|
# @param external_marketplace [Symbol, Orb::Models::SubscriptionCreateParams::ExternalMarketplace, nil]
|
|
@@ -313,7 +317,7 @@ module Orb
|
|
|
313
317
|
#
|
|
314
318
|
# @param name [String, nil] The name to use for the subscription. If not specified, the plan name will be us
|
|
315
319
|
#
|
|
316
|
-
# @param net_terms [Integer, nil] The
|
|
320
|
+
# @param net_terms [Integer, nil] The number of days until the invoice is due, counting the start date as day 1, s
|
|
317
321
|
#
|
|
318
322
|
# @param per_credit_overage_amount [Float, nil]
|
|
319
323
|
#
|
|
@@ -374,7 +378,7 @@ module Orb
|
|
|
374
378
|
#
|
|
375
379
|
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
|
|
376
380
|
#
|
|
377
|
-
# @param net_terms [Integer, nil]
|
|
381
|
+
# @param net_terms [Integer, nil] The number of days until subscription invoices are due, counting the start date
|
|
378
382
|
#
|
|
379
383
|
# @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
380
384
|
#
|
|
@@ -410,7 +414,9 @@ module Orb
|
|
|
410
414
|
# request, use the status[] query parameter, e.g.
|
|
411
415
|
# `status[]=active&status[]=ended`.
|
|
412
416
|
#
|
|
413
|
-
# @overload list(created_at_gt: nil, created_at_gte: nil, created_at_lt: nil, created_at_lte: nil, cursor: nil, customer_id: nil, external_customer_id: nil, external_plan_id: nil, limit: nil, plan_id: nil, status: nil, request_options: {})
|
|
417
|
+
# @overload list(billing_entity_id: nil, created_at_gt: nil, created_at_gte: nil, created_at_lt: nil, created_at_lte: nil, cursor: nil, customer_id: nil, external_customer_id: nil, external_plan_id: nil, limit: nil, plan_id: nil, status: nil, request_options: {})
|
|
418
|
+
#
|
|
419
|
+
# @param billing_entity_id [String, nil] Filters to objects issued by this billing entity. Filtering on the account's def
|
|
414
420
|
#
|
|
415
421
|
# @param created_at_gt [Time, nil]
|
|
416
422
|
#
|
|
@@ -910,7 +916,9 @@ module Orb
|
|
|
910
916
|
# This is the same summary of a subscription that standard
|
|
911
917
|
# [webhook payloads](/integrations-and-exports/webhook-payload-styles) carry.
|
|
912
918
|
#
|
|
913
|
-
# @overload list_summary(created_at_gt: nil, created_at_gte: nil, created_at_lt: nil, created_at_lte: nil, cursor: nil, customer_id: nil, external_customer_id: nil, external_plan_id: nil, limit: nil, plan_id: nil, status: nil, request_options: {})
|
|
919
|
+
# @overload list_summary(billing_entity_id: nil, created_at_gt: nil, created_at_gte: nil, created_at_lt: nil, created_at_lte: nil, cursor: nil, customer_id: nil, external_customer_id: nil, external_plan_id: nil, limit: nil, plan_id: nil, status: nil, request_options: {})
|
|
920
|
+
#
|
|
921
|
+
# @param billing_entity_id [String, nil] Filters to objects issued by this billing entity. Filtering on the account's def
|
|
914
922
|
#
|
|
915
923
|
# @param created_at_gt [Time, nil]
|
|
916
924
|
#
|
|
@@ -1347,7 +1355,7 @@ module Orb
|
|
|
1347
1355
|
#
|
|
1348
1356
|
# @param invoicing_threshold [String, nil] When this subscription's accrued usage reaches this threshold, an invoice will b
|
|
1349
1357
|
#
|
|
1350
|
-
# @param net_terms [Integer, nil] The
|
|
1358
|
+
# @param net_terms [Integer, nil] The number of days until the invoice is due, counting the start date as day 1, s
|
|
1351
1359
|
#
|
|
1352
1360
|
# @param per_credit_overage_amount [Float, nil]
|
|
1353
1361
|
#
|
data/lib/orb/version.rb
CHANGED