orb-billing 1.46.0 → 1.47.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 +17 -1
- data/README.md +1 -1
- data/lib/orb/models/invoice_issue_summary_response.rb +2 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +5 -3
- data/lib/orb/models/invoice_list_summary_response.rb +2 -1
- data/lib/orb/models/metric_list_params.rb +21 -1
- data/lib/orb/models/metric_update_params.rb +17 -1
- data/lib/orb/models/plan_update_params.rb +9 -1
- data/lib/orb/models/plans/external_plan_id_update_params.rb +9 -1
- data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +5 -9
- data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +5 -9
- data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +5 -9
- data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +5 -9
- data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +5 -9
- data/lib/orb/models/webhook_endpoint.rb +28 -1
- data/lib/orb/models/webhook_endpoint_create_params.rb +22 -1
- data/lib/orb/models/webhook_endpoint_update_params.rb +22 -1
- data/lib/orb/models/webhook_endpoint_with_secret.rb +28 -1
- data/lib/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_edited_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_issued_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rb +5 -3
- data/lib/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rb +5 -9
- data/lib/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_created_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_edited_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_ended_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rb +5 -9
- data/lib/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rb +5 -9
- data/lib/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rb +5 -9
- data/lib/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rb +5 -9
- data/lib/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_started_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rb +7 -7
- data/lib/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rb +7 -7
- data/lib/orb/resources/metrics.rb +15 -5
- data/lib/orb/resources/plans/external_plan_id.rb +6 -3
- data/lib/orb/resources/plans.rb +6 -3
- data/lib/orb/resources/webhook_endpoints.rb +6 -2
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/invoice_issue_summary_response.rbi +2 -1
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +6 -3
- data/rbi/orb/models/invoice_list_summary_response.rbi +2 -1
- data/rbi/orb/models/metric_list_params.rbi +29 -0
- data/rbi/orb/models/metric_update_params.rbi +16 -0
- data/rbi/orb/models/plan_update_params.rbi +8 -0
- data/rbi/orb/models/plans/external_plan_id_update_params.rbi +8 -0
- data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +6 -12
- data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +6 -12
- data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +6 -12
- data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +6 -12
- data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +6 -12
- data/rbi/orb/models/webhook_endpoint.rbi +39 -0
- data/rbi/orb/models/webhook_endpoint_create_params.rbi +51 -0
- data/rbi/orb/models/webhook_endpoint_update_params.rbi +51 -0
- data/rbi/orb/models/webhook_endpoint_with_secret.rbi +50 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_edited_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_issued_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbi +6 -3
- data/rbi/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbi +6 -12
- data/rbi/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_created_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_edited_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_ended_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbi +6 -12
- data/rbi/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbi +6 -12
- data/rbi/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbi +6 -12
- data/rbi/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbi +6 -12
- data/rbi/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_started_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbi +9 -9
- data/rbi/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbi +9 -9
- data/rbi/orb/resources/metrics.rbi +16 -3
- data/rbi/orb/resources/plans/external_plan_id.rbi +6 -2
- data/rbi/orb/resources/plans.rbi +6 -2
- data/rbi/orb/resources/webhook_endpoints.rbi +10 -0
- data/sig/orb/models/metric_list_params.rbs +18 -1
- data/sig/orb/models/metric_update_params.rbs +14 -1
- data/sig/orb/models/plan_update_params.rbs +6 -1
- data/sig/orb/models/plans/external_plan_id_update_params.rbs +6 -1
- data/sig/orb/models/webhook_endpoint.rbs +16 -0
- data/sig/orb/models/webhook_endpoint_create_params.rbs +20 -1
- data/sig/orb/models/webhook_endpoint_update_params.rbs +16 -0
- data/sig/orb/models/webhook_endpoint_with_secret.rbs +16 -0
- data/sig/orb/resources/metrics.rbs +3 -0
- data/sig/orb/resources/plans/external_plan_id.rbs +1 -0
- data/sig/orb/resources/plans.rbs +1 -0
- data/sig/orb/resources/webhook_endpoints.rbs +2 -0
- metadata +1 -1
|
@@ -32,10 +32,8 @@ module Orb
|
|
|
32
32
|
required :properties, -> { Orb::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Properties }
|
|
33
33
|
|
|
34
34
|
# @!attribute subscription
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
38
|
-
# serialization.
|
|
35
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
36
|
+
# dates, plan and customer.
|
|
39
37
|
#
|
|
40
38
|
# @return [Orb::Models::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Subscription]
|
|
41
39
|
required :subscription, -> { Orb::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Subscription }
|
|
@@ -61,7 +59,7 @@ module Orb
|
|
|
61
59
|
#
|
|
62
60
|
# @param properties [Orb::Models::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Properties] Sent when the system disables an alert on its own, currently for cardinality-lim
|
|
63
61
|
#
|
|
64
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Subscription]
|
|
62
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Subscription] The subscription in a license or grouped cost webhook payload: its status, dates
|
|
65
63
|
#
|
|
66
64
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Type] The event this payload describes.
|
|
67
65
|
|
|
@@ -593,10 +591,8 @@ module Orb
|
|
|
593
591
|
enum: -> { Orb::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent::Subscription::Status }
|
|
594
592
|
|
|
595
593
|
# @!method initialize(id:, customer:, end_date:, plan:, start_date:, status:)
|
|
596
|
-
#
|
|
597
|
-
#
|
|
598
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
599
|
-
# serialization.
|
|
594
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
595
|
+
# dates, plan and customer.
|
|
600
596
|
#
|
|
601
597
|
# @param id [String]
|
|
602
598
|
# @param customer [Orb::Models::CustomerMinified]
|
|
@@ -31,9 +31,9 @@ module Orb
|
|
|
31
31
|
-> { Orb::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Properties }
|
|
32
32
|
|
|
33
33
|
# @!attribute subscription
|
|
34
|
-
# The subscription in a standard webhook payload:
|
|
35
|
-
#
|
|
36
|
-
#
|
|
34
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
35
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
36
|
+
# billing periods, plan phases and other derived fields.
|
|
37
37
|
#
|
|
38
38
|
# @return [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription]
|
|
39
39
|
required :subscription,
|
|
@@ -60,7 +60,7 @@ module Orb
|
|
|
60
60
|
#
|
|
61
61
|
# @param properties [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Properties]
|
|
62
62
|
#
|
|
63
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
63
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
64
64
|
#
|
|
65
65
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Type] The event this payload describes.
|
|
66
66
|
|
|
@@ -153,9 +153,9 @@ module Orb
|
|
|
153
153
|
# {Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription}
|
|
154
154
|
# for more details.
|
|
155
155
|
#
|
|
156
|
-
# The subscription in a standard webhook payload:
|
|
157
|
-
#
|
|
158
|
-
#
|
|
156
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
157
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
158
|
+
# billing periods, plan phases and other derived fields.
|
|
159
159
|
#
|
|
160
160
|
# @param id [String]
|
|
161
161
|
#
|
data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb
CHANGED
|
@@ -31,9 +31,9 @@ module Orb
|
|
|
31
31
|
-> { Orb::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Properties }
|
|
32
32
|
|
|
33
33
|
# @!attribute subscription
|
|
34
|
-
# The subscription in a standard webhook payload:
|
|
35
|
-
#
|
|
36
|
-
#
|
|
34
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
35
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
36
|
+
# billing periods, plan phases and other derived fields.
|
|
37
37
|
#
|
|
38
38
|
# @return [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription]
|
|
39
39
|
required :subscription,
|
|
@@ -60,7 +60,7 @@ module Orb
|
|
|
60
60
|
#
|
|
61
61
|
# @param properties [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Properties]
|
|
62
62
|
#
|
|
63
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
63
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
64
64
|
#
|
|
65
65
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Type] The event this payload describes.
|
|
66
66
|
|
|
@@ -153,9 +153,9 @@ module Orb
|
|
|
153
153
|
# {Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription}
|
|
154
154
|
# for more details.
|
|
155
155
|
#
|
|
156
|
-
# The subscription in a standard webhook payload:
|
|
157
|
-
#
|
|
158
|
-
#
|
|
156
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
157
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
158
|
+
# billing periods, plan phases and other derived fields.
|
|
159
159
|
#
|
|
160
160
|
# @param id [String]
|
|
161
161
|
#
|
|
@@ -30,9 +30,9 @@ module Orb
|
|
|
30
30
|
required :properties, -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties }
|
|
31
31
|
|
|
32
32
|
# @!attribute subscription
|
|
33
|
-
# The subscription in a standard webhook payload:
|
|
34
|
-
#
|
|
35
|
-
#
|
|
33
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
34
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
35
|
+
# billing periods, plan phases and other derived fields.
|
|
36
36
|
#
|
|
37
37
|
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription]
|
|
38
38
|
required :subscription, -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription }
|
|
@@ -58,7 +58,7 @@ module Orb
|
|
|
58
58
|
#
|
|
59
59
|
# @param properties [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties]
|
|
60
60
|
#
|
|
61
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
61
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
62
62
|
#
|
|
63
63
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Type] The event this payload describes.
|
|
64
64
|
|
|
@@ -608,9 +608,9 @@ module Orb
|
|
|
608
608
|
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription}
|
|
609
609
|
# for more details.
|
|
610
610
|
#
|
|
611
|
-
# The subscription in a standard webhook payload:
|
|
612
|
-
#
|
|
613
|
-
#
|
|
611
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
612
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
613
|
+
# billing periods, plan phases and other derived fields.
|
|
614
614
|
#
|
|
615
615
|
# @param id [String]
|
|
616
616
|
#
|
|
@@ -29,9 +29,9 @@ module Orb
|
|
|
29
29
|
required :properties, Orb::Internal::Type::Unknown
|
|
30
30
|
|
|
31
31
|
# @!attribute subscription
|
|
32
|
-
# The subscription in a standard webhook payload:
|
|
33
|
-
#
|
|
34
|
-
#
|
|
32
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
33
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
34
|
+
# billing periods, plan phases and other derived fields.
|
|
35
35
|
#
|
|
36
36
|
# @return [Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription]
|
|
37
37
|
required :subscription, -> { Orb::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription }
|
|
@@ -57,7 +57,7 @@ module Orb
|
|
|
57
57
|
#
|
|
58
58
|
# @param properties [Object]
|
|
59
59
|
#
|
|
60
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
60
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
61
61
|
#
|
|
62
62
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Type] The event this payload describes.
|
|
63
63
|
|
|
@@ -137,9 +137,9 @@ module Orb
|
|
|
137
137
|
# {Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription}
|
|
138
138
|
# for more details.
|
|
139
139
|
#
|
|
140
|
-
# The subscription in a standard webhook payload:
|
|
141
|
-
#
|
|
142
|
-
#
|
|
140
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
141
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
142
|
+
# billing periods, plan phases and other derived fields.
|
|
143
143
|
#
|
|
144
144
|
# @param id [String]
|
|
145
145
|
#
|
|
@@ -29,9 +29,9 @@ module Orb
|
|
|
29
29
|
required :properties, -> { Orb::Webhooks::SubscriptionEditedStandardWebhookEvent::Properties }
|
|
30
30
|
|
|
31
31
|
# @!attribute subscription
|
|
32
|
-
# The subscription in a standard webhook payload:
|
|
33
|
-
#
|
|
34
|
-
#
|
|
32
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
33
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
34
|
+
# billing periods, plan phases and other derived fields.
|
|
35
35
|
#
|
|
36
36
|
# @return [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription]
|
|
37
37
|
required :subscription, -> { Orb::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription }
|
|
@@ -57,7 +57,7 @@ module Orb
|
|
|
57
57
|
#
|
|
58
58
|
# @param properties [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Properties]
|
|
59
59
|
#
|
|
60
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
60
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
61
61
|
#
|
|
62
62
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Type] The event this payload describes.
|
|
63
63
|
|
|
@@ -189,9 +189,9 @@ module Orb
|
|
|
189
189
|
# {Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription}
|
|
190
190
|
# for more details.
|
|
191
191
|
#
|
|
192
|
-
# The subscription in a standard webhook payload:
|
|
193
|
-
#
|
|
194
|
-
#
|
|
192
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
193
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
194
|
+
# billing periods, plan phases and other derived fields.
|
|
195
195
|
#
|
|
196
196
|
# @param id [String]
|
|
197
197
|
#
|
|
@@ -29,9 +29,9 @@ module Orb
|
|
|
29
29
|
required :properties, Orb::Internal::Type::Unknown
|
|
30
30
|
|
|
31
31
|
# @!attribute subscription
|
|
32
|
-
# The subscription in a standard webhook payload:
|
|
33
|
-
#
|
|
34
|
-
#
|
|
32
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
33
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
34
|
+
# billing periods, plan phases and other derived fields.
|
|
35
35
|
#
|
|
36
36
|
# @return [Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription]
|
|
37
37
|
required :subscription, -> { Orb::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription }
|
|
@@ -56,7 +56,7 @@ module Orb
|
|
|
56
56
|
#
|
|
57
57
|
# @param properties [Object]
|
|
58
58
|
#
|
|
59
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
59
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
60
60
|
#
|
|
61
61
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Type] The event this payload describes.
|
|
62
62
|
|
|
@@ -135,9 +135,9 @@ module Orb
|
|
|
135
135
|
# {Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription} for
|
|
136
136
|
# more details.
|
|
137
137
|
#
|
|
138
|
-
# The subscription in a standard webhook payload:
|
|
139
|
-
#
|
|
140
|
-
#
|
|
138
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
139
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
140
|
+
# billing periods, plan phases and other derived fields.
|
|
141
141
|
#
|
|
142
142
|
# @param id [String]
|
|
143
143
|
#
|
data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb
CHANGED
|
@@ -31,9 +31,9 @@ module Orb
|
|
|
31
31
|
-> { Orb::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Properties }
|
|
32
32
|
|
|
33
33
|
# @!attribute subscription
|
|
34
|
-
# The subscription in a standard webhook payload:
|
|
35
|
-
#
|
|
36
|
-
#
|
|
34
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
35
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
36
|
+
# billing periods, plan phases and other derived fields.
|
|
37
37
|
#
|
|
38
38
|
# @return [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription]
|
|
39
39
|
required :subscription,
|
|
@@ -60,7 +60,7 @@ module Orb
|
|
|
60
60
|
#
|
|
61
61
|
# @param properties [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Properties]
|
|
62
62
|
#
|
|
63
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
63
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
64
64
|
#
|
|
65
65
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Type] The event this payload describes.
|
|
66
66
|
|
|
@@ -171,9 +171,9 @@ module Orb
|
|
|
171
171
|
# {Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription}
|
|
172
172
|
# for more details.
|
|
173
173
|
#
|
|
174
|
-
# The subscription in a standard webhook payload:
|
|
175
|
-
#
|
|
176
|
-
#
|
|
174
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
175
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
176
|
+
# billing periods, plan phases and other derived fields.
|
|
177
177
|
#
|
|
178
178
|
# @param id [String]
|
|
179
179
|
#
|
|
@@ -33,10 +33,8 @@ module Orb
|
|
|
33
33
|
-> { Orb::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent::Properties }
|
|
34
34
|
|
|
35
35
|
# @!attribute subscription
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
39
|
-
# serialization.
|
|
36
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
37
|
+
# dates, plan and customer.
|
|
40
38
|
#
|
|
41
39
|
# @return [Orb::Models::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent::Subscription]
|
|
42
40
|
required :subscription,
|
|
@@ -63,7 +61,7 @@ module Orb
|
|
|
63
61
|
#
|
|
64
62
|
# @param properties [Orb::Models::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent::Properties] Every group that crossed a threshold for one alert, batched into a single messag
|
|
65
63
|
#
|
|
66
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent::Subscription]
|
|
64
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent::Subscription] The subscription in a license or grouped cost webhook payload: its status, dates
|
|
67
65
|
#
|
|
68
66
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent::Type] The event this payload describes.
|
|
69
67
|
|
|
@@ -619,10 +617,8 @@ module Orb
|
|
|
619
617
|
enum: -> { Orb::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent::Subscription::Status }
|
|
620
618
|
|
|
621
619
|
# @!method initialize(id:, customer:, end_date:, plan:, start_date:, status:)
|
|
622
|
-
#
|
|
623
|
-
#
|
|
624
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
625
|
-
# serialization.
|
|
620
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
621
|
+
# dates, plan and customer.
|
|
626
622
|
#
|
|
627
623
|
# @param id [String]
|
|
628
624
|
# @param customer [Orb::Models::CustomerMinified]
|
data/lib/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rb
CHANGED
|
@@ -31,10 +31,8 @@ module Orb
|
|
|
31
31
|
-> { Orb::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Properties }
|
|
32
32
|
|
|
33
33
|
# @!attribute subscription
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
37
|
-
# serialization.
|
|
34
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
35
|
+
# dates, plan and customer.
|
|
38
36
|
#
|
|
39
37
|
# @return [Orb::Models::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Subscription]
|
|
40
38
|
required :subscription,
|
|
@@ -63,7 +61,7 @@ module Orb
|
|
|
63
61
|
#
|
|
64
62
|
# @param properties [Orb::Models::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Properties]
|
|
65
63
|
#
|
|
66
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Subscription]
|
|
64
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Subscription] The subscription in a license or grouped cost webhook payload: its status, dates
|
|
67
65
|
#
|
|
68
66
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Type] The event this payload describes.
|
|
69
67
|
|
|
@@ -148,10 +146,8 @@ module Orb
|
|
|
148
146
|
enum: -> { Orb::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent::Subscription::Status }
|
|
149
147
|
|
|
150
148
|
# @!method initialize(id:, customer:, end_date:, plan:, start_date:, status:)
|
|
151
|
-
#
|
|
152
|
-
#
|
|
153
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
154
|
-
# serialization.
|
|
149
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
150
|
+
# dates, plan and customer.
|
|
155
151
|
#
|
|
156
152
|
# @param id [String]
|
|
157
153
|
# @param customer [Orb::Models::CustomerMinified]
|
data/lib/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rb
CHANGED
|
@@ -33,10 +33,8 @@ module Orb
|
|
|
33
33
|
-> { Orb::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Properties }
|
|
34
34
|
|
|
35
35
|
# @!attribute subscription
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
39
|
-
# serialization.
|
|
36
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
37
|
+
# dates, plan and customer.
|
|
40
38
|
#
|
|
41
39
|
# @return [Orb::Models::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Subscription]
|
|
42
40
|
required :subscription,
|
|
@@ -63,7 +61,7 @@ module Orb
|
|
|
63
61
|
#
|
|
64
62
|
# @param properties [Orb::Models::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Properties] Fires at the start of a billing period when license allocations are replenished.
|
|
65
63
|
#
|
|
66
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Subscription]
|
|
64
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Subscription] The subscription in a license or grouped cost webhook payload: its status, dates
|
|
67
65
|
#
|
|
68
66
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Type] The event this payload describes.
|
|
69
67
|
|
|
@@ -170,10 +168,8 @@ module Orb
|
|
|
170
168
|
enum: -> { Orb::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent::Subscription::Status }
|
|
171
169
|
|
|
172
170
|
# @!method initialize(id:, customer:, end_date:, plan:, start_date:, status:)
|
|
173
|
-
#
|
|
174
|
-
#
|
|
175
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
176
|
-
# serialization.
|
|
171
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
172
|
+
# dates, plan and customer.
|
|
177
173
|
#
|
|
178
174
|
# @param id [String]
|
|
179
175
|
# @param customer [Orb::Models::CustomerMinified]
|
|
@@ -33,10 +33,8 @@ module Orb
|
|
|
33
33
|
-> { Orb::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Properties }
|
|
34
34
|
|
|
35
35
|
# @!attribute subscription
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
39
|
-
# serialization.
|
|
36
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
37
|
+
# dates, plan and customer.
|
|
40
38
|
#
|
|
41
39
|
# @return [Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Subscription]
|
|
42
40
|
required :subscription,
|
|
@@ -64,7 +62,7 @@ module Orb
|
|
|
64
62
|
#
|
|
65
63
|
# @param properties [Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Properties] Every license that crossed a threshold for one alert, batched into a single mess
|
|
66
64
|
#
|
|
67
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Subscription]
|
|
65
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Subscription] The subscription in a license or grouped cost webhook payload: its status, dates
|
|
68
66
|
#
|
|
69
67
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Type] The event this payload describes.
|
|
70
68
|
|
|
@@ -613,10 +611,8 @@ module Orb
|
|
|
613
611
|
enum: -> { Orb::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent::Subscription::Status }
|
|
614
612
|
|
|
615
613
|
# @!method initialize(id:, customer:, end_date:, plan:, start_date:, status:)
|
|
616
|
-
#
|
|
617
|
-
#
|
|
618
|
-
# This avoids the expensive to_subscription_params() call required for full
|
|
619
|
-
# serialization.
|
|
614
|
+
# The subscription in a license or grouped cost webhook payload: its status,
|
|
615
|
+
# dates, plan and customer.
|
|
620
616
|
#
|
|
621
617
|
# @param id [String]
|
|
622
618
|
# @param customer [Orb::Models::CustomerMinified]
|
|
@@ -31,9 +31,9 @@ module Orb
|
|
|
31
31
|
-> { Orb::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Properties }
|
|
32
32
|
|
|
33
33
|
# @!attribute subscription
|
|
34
|
-
# The subscription in a standard webhook payload:
|
|
35
|
-
#
|
|
36
|
-
#
|
|
34
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
35
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
36
|
+
# billing periods, plan phases and other derived fields.
|
|
37
37
|
#
|
|
38
38
|
# @return [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription]
|
|
39
39
|
required :subscription,
|
|
@@ -60,7 +60,7 @@ module Orb
|
|
|
60
60
|
#
|
|
61
61
|
# @param properties [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Properties]
|
|
62
62
|
#
|
|
63
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
63
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
64
64
|
#
|
|
65
65
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Type] The event this payload describes.
|
|
66
66
|
|
|
@@ -165,9 +165,9 @@ module Orb
|
|
|
165
165
|
# {Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription}
|
|
166
166
|
# for more details.
|
|
167
167
|
#
|
|
168
|
-
# The subscription in a standard webhook payload:
|
|
169
|
-
#
|
|
170
|
-
#
|
|
168
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
169
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
170
|
+
# billing periods, plan phases and other derived fields.
|
|
171
171
|
#
|
|
172
172
|
# @param id [String]
|
|
173
173
|
#
|
|
@@ -30,9 +30,9 @@ module Orb
|
|
|
30
30
|
required :properties, -> { Orb::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Properties }
|
|
31
31
|
|
|
32
32
|
# @!attribute subscription
|
|
33
|
-
# The subscription in a standard webhook payload:
|
|
34
|
-
#
|
|
35
|
-
#
|
|
33
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
34
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
35
|
+
# billing periods, plan phases and other derived fields.
|
|
36
36
|
#
|
|
37
37
|
# @return [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription]
|
|
38
38
|
required :subscription, -> { Orb::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription }
|
|
@@ -58,7 +58,7 @@ module Orb
|
|
|
58
58
|
#
|
|
59
59
|
# @param properties [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Properties]
|
|
60
60
|
#
|
|
61
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
61
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
62
62
|
#
|
|
63
63
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Type] The event this payload describes.
|
|
64
64
|
|
|
@@ -149,9 +149,9 @@ module Orb
|
|
|
149
149
|
# {Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription}
|
|
150
150
|
# for more details.
|
|
151
151
|
#
|
|
152
|
-
# The subscription in a standard webhook payload:
|
|
153
|
-
#
|
|
154
|
-
#
|
|
152
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
153
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
154
|
+
# billing periods, plan phases and other derived fields.
|
|
155
155
|
#
|
|
156
156
|
# @param id [String]
|
|
157
157
|
#
|
data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb
CHANGED
|
@@ -31,9 +31,9 @@ module Orb
|
|
|
31
31
|
-> { Orb::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Properties }
|
|
32
32
|
|
|
33
33
|
# @!attribute subscription
|
|
34
|
-
# The subscription in a standard webhook payload:
|
|
35
|
-
#
|
|
36
|
-
#
|
|
34
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
35
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
36
|
+
# billing periods, plan phases and other derived fields.
|
|
37
37
|
#
|
|
38
38
|
# @return [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription]
|
|
39
39
|
required :subscription,
|
|
@@ -61,7 +61,7 @@ module Orb
|
|
|
61
61
|
#
|
|
62
62
|
# @param properties [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Properties]
|
|
63
63
|
#
|
|
64
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
64
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
65
65
|
#
|
|
66
66
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Type] The event this payload describes.
|
|
67
67
|
|
|
@@ -166,9 +166,9 @@ module Orb
|
|
|
166
166
|
# {Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription}
|
|
167
167
|
# for more details.
|
|
168
168
|
#
|
|
169
|
-
# The subscription in a standard webhook payload:
|
|
170
|
-
#
|
|
171
|
-
#
|
|
169
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
170
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
171
|
+
# billing periods, plan phases and other derived fields.
|
|
172
172
|
#
|
|
173
173
|
# @param id [String]
|
|
174
174
|
#
|
|
@@ -30,9 +30,9 @@ module Orb
|
|
|
30
30
|
required :properties, -> { Orb::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Properties }
|
|
31
31
|
|
|
32
32
|
# @!attribute subscription
|
|
33
|
-
# The subscription in a standard webhook payload:
|
|
34
|
-
#
|
|
35
|
-
#
|
|
33
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
34
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
35
|
+
# billing periods, plan phases and other derived fields.
|
|
36
36
|
#
|
|
37
37
|
# @return [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription]
|
|
38
38
|
required :subscription,
|
|
@@ -59,7 +59,7 @@ module Orb
|
|
|
59
59
|
#
|
|
60
60
|
# @param properties [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Properties]
|
|
61
61
|
#
|
|
62
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
62
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
63
63
|
#
|
|
64
64
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Type] The event this payload describes.
|
|
65
65
|
|
|
@@ -164,9 +164,9 @@ module Orb
|
|
|
164
164
|
# {Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription}
|
|
165
165
|
# for more details.
|
|
166
166
|
#
|
|
167
|
-
# The subscription in a standard webhook payload:
|
|
168
|
-
#
|
|
169
|
-
#
|
|
167
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
168
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
169
|
+
# billing periods, plan phases and other derived fields.
|
|
170
170
|
#
|
|
171
171
|
# @param id [String]
|
|
172
172
|
#
|
|
@@ -30,9 +30,9 @@ module Orb
|
|
|
30
30
|
required :properties, -> { Orb::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Properties }
|
|
31
31
|
|
|
32
32
|
# @!attribute subscription
|
|
33
|
-
# The subscription in a standard webhook payload:
|
|
34
|
-
#
|
|
35
|
-
#
|
|
33
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
34
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
35
|
+
# billing periods, plan phases and other derived fields.
|
|
36
36
|
#
|
|
37
37
|
# @return [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription]
|
|
38
38
|
required :subscription, -> { Orb::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription }
|
|
@@ -59,7 +59,7 @@ module Orb
|
|
|
59
59
|
#
|
|
60
60
|
# @param properties [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Properties]
|
|
61
61
|
#
|
|
62
|
-
# @param subscription [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload:
|
|
62
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
|
|
63
63
|
#
|
|
64
64
|
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Type] The event this payload describes.
|
|
65
65
|
|
|
@@ -609,9 +609,9 @@ module Orb
|
|
|
609
609
|
# {Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription}
|
|
610
610
|
# for more details.
|
|
611
611
|
#
|
|
612
|
-
# The subscription in a standard webhook payload:
|
|
613
|
-
#
|
|
614
|
-
#
|
|
612
|
+
# The subscription in a standard webhook payload: its own fields, with its plan
|
|
613
|
+
# and customer as references. Fetch the subscription for its price intervals,
|
|
614
|
+
# billing periods, plan phases and other derived fields.
|
|
615
615
|
#
|
|
616
616
|
# @param id [String]
|
|
617
617
|
#
|