orb-billing 1.47.0 → 1.49.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.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +1 -1
  4. data/lib/orb/models/credit_block_update_params.rb +34 -0
  5. data/lib/orb/models/credit_block_update_response.rb +332 -0
  6. data/lib/orb/models/metric_archive_params.rb +20 -0
  7. data/lib/orb/models/metric_unarchive_params.rb +20 -0
  8. data/lib/orb/models/subscription_list_summary_params.rb +108 -0
  9. data/lib/orb/models/subscription_list_summary_response.rb +130 -0
  10. data/lib/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rb +9 -7
  11. data/lib/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rb +9 -7
  12. data/lib/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rb +9 -7
  13. data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb +9 -7
  14. data/lib/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rb +9 -7
  15. data/lib/orb/models/webhooks/subscription_created_standard_webhook_event.rb +9 -7
  16. data/lib/orb/models/webhooks/subscription_edited_standard_webhook_event.rb +9 -7
  17. data/lib/orb/models/webhooks/subscription_ended_standard_webhook_event.rb +9 -7
  18. data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb +9 -7
  19. data/lib/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rb +9 -7
  20. data/lib/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rb +9 -7
  21. data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb +9 -7
  22. data/lib/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rb +9 -7
  23. data/lib/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rb +9 -7
  24. data/lib/orb/models/webhooks/subscription_started_standard_webhook_event.rb +9 -7
  25. data/lib/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rb +9 -7
  26. data/lib/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rb +9 -7
  27. data/lib/orb/models.rb +8 -0
  28. data/lib/orb/resources/alerts.rb +7 -4
  29. data/lib/orb/resources/credit_blocks.rb +35 -0
  30. data/lib/orb/resources/metrics.rb +46 -0
  31. data/lib/orb/resources/subscriptions.rb +60 -0
  32. data/lib/orb/version.rb +1 -1
  33. data/lib/orb.rb +6 -0
  34. data/rbi/orb/models/credit_block_update_params.rbi +53 -0
  35. data/rbi/orb/models/credit_block_update_response.rbi +693 -0
  36. data/rbi/orb/models/metric_archive_params.rbi +33 -0
  37. data/rbi/orb/models/metric_unarchive_params.rbi +35 -0
  38. data/rbi/orb/models/subscription_list_summary_params.rbi +148 -0
  39. data/rbi/orb/models/subscription_list_summary_response.rbi +214 -0
  40. data/rbi/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbi +12 -9
  41. data/rbi/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbi +12 -9
  42. data/rbi/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbi +12 -9
  43. data/rbi/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbi +12 -9
  44. data/rbi/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbi +12 -9
  45. data/rbi/orb/models/webhooks/subscription_created_standard_webhook_event.rbi +12 -9
  46. data/rbi/orb/models/webhooks/subscription_edited_standard_webhook_event.rbi +12 -9
  47. data/rbi/orb/models/webhooks/subscription_ended_standard_webhook_event.rbi +12 -9
  48. data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi +12 -9
  49. data/rbi/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbi +12 -9
  50. data/rbi/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbi +12 -9
  51. data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi +12 -9
  52. data/rbi/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbi +12 -9
  53. data/rbi/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbi +12 -9
  54. data/rbi/orb/models/webhooks/subscription_started_standard_webhook_event.rbi +12 -9
  55. data/rbi/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbi +12 -9
  56. data/rbi/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbi +12 -9
  57. data/rbi/orb/models.rbi +8 -0
  58. data/rbi/orb/resources/alerts.rbi +7 -4
  59. data/rbi/orb/resources/credit_blocks.rbi +26 -0
  60. data/rbi/orb/resources/metrics.rbi +28 -0
  61. data/rbi/orb/resources/subscriptions.rbi +47 -0
  62. data/sig/orb/models/credit_block_update_params.rbs +28 -0
  63. data/sig/orb/models/credit_block_update_response.rbs +263 -0
  64. data/sig/orb/models/metric_archive_params.rbs +23 -0
  65. data/sig/orb/models/metric_unarchive_params.rbs +23 -0
  66. data/sig/orb/models/subscription_list_summary_params.rbs +90 -0
  67. data/sig/orb/models/subscription_list_summary_response.rbs +94 -0
  68. data/sig/orb/models.rbs +8 -0
  69. data/sig/orb/resources/credit_blocks.rbs +6 -0
  70. data/sig/orb/resources/metrics.rbs +10 -0
  71. data/sig/orb/resources/subscriptions.rbs +15 -0
  72. metadata +19 -1
@@ -37,9 +37,10 @@ module Orb
37
37
  -> { Orb::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Properties }
38
38
 
39
39
  # @!attribute subscription
40
- # The subscription in a standard webhook payload: its own fields, with its plan
41
- # and customer as references. Fetch the subscription for its price intervals,
42
- # billing periods, plan phases and other derived fields.
40
+ # A subscription's own fields, with its plan and customer as references, as listed
41
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
42
+ # the subscription for its price intervals, billing periods, plan phases and other
43
+ # derived fields.
43
44
  #
44
45
  # @return [Orb::Models::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Subscription]
45
46
  required :subscription,
@@ -68,7 +69,7 @@ module Orb
68
69
  #
69
70
  # @param properties [Orb::Models::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Properties]
70
71
  #
71
- # @param subscription [Orb::Models::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
72
+ # @param subscription [Orb::Models::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
72
73
  #
73
74
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Type] The event this payload describes.
74
75
 
@@ -238,9 +239,10 @@ module Orb
238
239
  # {Orb::Models::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Subscription}
239
240
  # for more details.
240
241
  #
241
- # The subscription in a standard webhook payload: its own fields, with its plan
242
- # and customer as references. Fetch the subscription for its price intervals,
243
- # billing periods, plan phases and other derived fields.
242
+ # A subscription's own fields, with its plan and customer as references, as listed
243
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
244
+ # the subscription for its price intervals, billing periods, plan phases and other
245
+ # derived fields.
244
246
  #
245
247
  # @param id [String]
246
248
  #
@@ -37,9 +37,10 @@ module Orb
37
37
  -> { Orb::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Properties }
38
38
 
39
39
  # @!attribute subscription
40
- # The subscription in a standard webhook payload: its own fields, with its plan
41
- # and customer as references. Fetch the subscription for its price intervals,
42
- # billing periods, plan phases and other derived fields.
40
+ # A subscription's own fields, with its plan and customer as references, as listed
41
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
42
+ # the subscription for its price intervals, billing periods, plan phases and other
43
+ # derived fields.
43
44
  #
44
45
  # @return [Orb::Models::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Subscription]
45
46
  required :subscription,
@@ -68,7 +69,7 @@ module Orb
68
69
  #
69
70
  # @param properties [Orb::Models::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Properties]
70
71
  #
71
- # @param subscription [Orb::Models::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
72
+ # @param subscription [Orb::Models::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
72
73
  #
73
74
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Type] The event this payload describes.
74
75
 
@@ -232,9 +233,10 @@ module Orb
232
233
  # {Orb::Models::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Subscription}
233
234
  # for more details.
234
235
  #
235
- # The subscription in a standard webhook payload: its own fields, with its plan
236
- # and customer as references. Fetch the subscription for its price intervals,
237
- # billing periods, plan phases and other derived fields.
236
+ # A subscription's own fields, with its plan and customer as references, as listed
237
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
238
+ # the subscription for its price intervals, billing periods, plan phases and other
239
+ # derived fields.
238
240
  #
239
241
  # @param id [String]
240
242
  #
@@ -31,9 +31,10 @@ module Orb
31
31
  -> { Orb::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Properties }
32
32
 
33
33
  # @!attribute subscription
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.
34
+ # A subscription's own fields, with its plan and customer as references, as listed
35
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
36
+ # the subscription for its price intervals, billing periods, plan phases and other
37
+ # derived fields.
37
38
  #
38
39
  # @return [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription]
39
40
  required :subscription,
@@ -60,7 +61,7 @@ module Orb
60
61
  #
61
62
  # @param properties [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Properties]
62
63
  #
63
- # @param subscription [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
64
+ # @param subscription [Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
64
65
  #
65
66
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Type] The event this payload describes.
66
67
 
@@ -153,9 +154,10 @@ module Orb
153
154
  # {Orb::Models::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription}
154
155
  # for more details.
155
156
  #
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.
157
+ # A subscription's own fields, with its plan and customer as references, as listed
158
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
159
+ # the subscription for its price intervals, billing periods, plan phases and other
160
+ # derived fields.
159
161
  #
160
162
  # @param id [String]
161
163
  #
@@ -31,9 +31,10 @@ module Orb
31
31
  -> { Orb::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Properties }
32
32
 
33
33
  # @!attribute subscription
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.
34
+ # A subscription's own fields, with its plan and customer as references, as listed
35
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
36
+ # the subscription for its price intervals, billing periods, plan phases and other
37
+ # derived fields.
37
38
  #
38
39
  # @return [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription]
39
40
  required :subscription,
@@ -60,7 +61,7 @@ module Orb
60
61
  #
61
62
  # @param properties [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Properties]
62
63
  #
63
- # @param subscription [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
64
+ # @param subscription [Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
64
65
  #
65
66
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Type] The event this payload describes.
66
67
 
@@ -153,9 +154,10 @@ module Orb
153
154
  # {Orb::Models::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription}
154
155
  # for more details.
155
156
  #
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.
157
+ # A subscription's own fields, with its plan and customer as references, as listed
158
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
159
+ # the subscription for its price intervals, billing periods, plan phases and other
160
+ # derived fields.
159
161
  #
160
162
  # @param id [String]
161
163
  #
@@ -30,9 +30,10 @@ module Orb
30
30
  required :properties, -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties }
31
31
 
32
32
  # @!attribute subscription
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.
33
+ # A subscription's own fields, with its plan and customer as references, as listed
34
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
35
+ # the subscription for its price intervals, billing periods, plan phases and other
36
+ # derived fields.
36
37
  #
37
38
  # @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription]
38
39
  required :subscription, -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription }
@@ -58,7 +59,7 @@ module Orb
58
59
  #
59
60
  # @param properties [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties]
60
61
  #
61
- # @param subscription [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
62
+ # @param subscription [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
62
63
  #
63
64
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Type] The event this payload describes.
64
65
 
@@ -608,9 +609,10 @@ module Orb
608
609
  # {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription}
609
610
  # for more details.
610
611
  #
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.
612
+ # A subscription's own fields, with its plan and customer as references, as listed
613
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
614
+ # the subscription for its price intervals, billing periods, plan phases and other
615
+ # derived fields.
614
616
  #
615
617
  # @param id [String]
616
618
  #
@@ -29,9 +29,10 @@ module Orb
29
29
  required :properties, Orb::Internal::Type::Unknown
30
30
 
31
31
  # @!attribute subscription
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.
32
+ # A subscription's own fields, with its plan and customer as references, as listed
33
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
34
+ # the subscription for its price intervals, billing periods, plan phases and other
35
+ # derived fields.
35
36
  #
36
37
  # @return [Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription]
37
38
  required :subscription, -> { Orb::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription }
@@ -57,7 +58,7 @@ module Orb
57
58
  #
58
59
  # @param properties [Object]
59
60
  #
60
- # @param subscription [Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
61
+ # @param subscription [Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
61
62
  #
62
63
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Type] The event this payload describes.
63
64
 
@@ -137,9 +138,10 @@ module Orb
137
138
  # {Orb::Models::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription}
138
139
  # for more details.
139
140
  #
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.
141
+ # A subscription's own fields, with its plan and customer as references, as listed
142
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
143
+ # the subscription for its price intervals, billing periods, plan phases and other
144
+ # derived fields.
143
145
  #
144
146
  # @param id [String]
145
147
  #
@@ -29,9 +29,10 @@ module Orb
29
29
  required :properties, -> { Orb::Webhooks::SubscriptionEditedStandardWebhookEvent::Properties }
30
30
 
31
31
  # @!attribute subscription
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.
32
+ # A subscription's own fields, with its plan and customer as references, as listed
33
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
34
+ # the subscription for its price intervals, billing periods, plan phases and other
35
+ # derived fields.
35
36
  #
36
37
  # @return [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription]
37
38
  required :subscription, -> { Orb::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription }
@@ -57,7 +58,7 @@ module Orb
57
58
  #
58
59
  # @param properties [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Properties]
59
60
  #
60
- # @param subscription [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
61
+ # @param subscription [Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
61
62
  #
62
63
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Type] The event this payload describes.
63
64
 
@@ -189,9 +190,10 @@ module Orb
189
190
  # {Orb::Models::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription}
190
191
  # for more details.
191
192
  #
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.
193
+ # A subscription's own fields, with its plan and customer as references, as listed
194
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
195
+ # the subscription for its price intervals, billing periods, plan phases and other
196
+ # derived fields.
195
197
  #
196
198
  # @param id [String]
197
199
  #
@@ -29,9 +29,10 @@ module Orb
29
29
  required :properties, Orb::Internal::Type::Unknown
30
30
 
31
31
  # @!attribute subscription
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.
32
+ # A subscription's own fields, with its plan and customer as references, as listed
33
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
34
+ # the subscription for its price intervals, billing periods, plan phases and other
35
+ # derived fields.
35
36
  #
36
37
  # @return [Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription]
37
38
  required :subscription, -> { Orb::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription }
@@ -56,7 +57,7 @@ module Orb
56
57
  #
57
58
  # @param properties [Object]
58
59
  #
59
- # @param subscription [Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
60
+ # @param subscription [Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
60
61
  #
61
62
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Type] The event this payload describes.
62
63
 
@@ -135,9 +136,10 @@ module Orb
135
136
  # {Orb::Models::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription} for
136
137
  # more details.
137
138
  #
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.
139
+ # A subscription's own fields, with its plan and customer as references, as listed
140
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
141
+ # the subscription for its price intervals, billing periods, plan phases and other
142
+ # derived fields.
141
143
  #
142
144
  # @param id [String]
143
145
  #
@@ -31,9 +31,10 @@ module Orb
31
31
  -> { Orb::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Properties }
32
32
 
33
33
  # @!attribute subscription
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.
34
+ # A subscription's own fields, with its plan and customer as references, as listed
35
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
36
+ # the subscription for its price intervals, billing periods, plan phases and other
37
+ # derived fields.
37
38
  #
38
39
  # @return [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription]
39
40
  required :subscription,
@@ -60,7 +61,7 @@ module Orb
60
61
  #
61
62
  # @param properties [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Properties]
62
63
  #
63
- # @param subscription [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
64
+ # @param subscription [Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
64
65
  #
65
66
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Type] The event this payload describes.
66
67
 
@@ -171,9 +172,10 @@ module Orb
171
172
  # {Orb::Models::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription}
172
173
  # for more details.
173
174
  #
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.
175
+ # A subscription's own fields, with its plan and customer as references, as listed
176
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
177
+ # the subscription for its price intervals, billing periods, plan phases and other
178
+ # derived fields.
177
179
  #
178
180
  # @param id [String]
179
181
  #
@@ -31,9 +31,10 @@ module Orb
31
31
  -> { Orb::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Properties }
32
32
 
33
33
  # @!attribute subscription
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.
34
+ # A subscription's own fields, with its plan and customer as references, as listed
35
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
36
+ # the subscription for its price intervals, billing periods, plan phases and other
37
+ # derived fields.
37
38
  #
38
39
  # @return [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription]
39
40
  required :subscription,
@@ -60,7 +61,7 @@ module Orb
60
61
  #
61
62
  # @param properties [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Properties]
62
63
  #
63
- # @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
64
+ # @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
64
65
  #
65
66
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Type] The event this payload describes.
66
67
 
@@ -165,9 +166,10 @@ module Orb
165
166
  # {Orb::Models::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription}
166
167
  # for more details.
167
168
  #
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.
169
+ # A subscription's own fields, with its plan and customer as references, as listed
170
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
171
+ # the subscription for its price intervals, billing periods, plan phases and other
172
+ # derived fields.
171
173
  #
172
174
  # @param id [String]
173
175
  #
@@ -30,9 +30,10 @@ module Orb
30
30
  required :properties, -> { Orb::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Properties }
31
31
 
32
32
  # @!attribute subscription
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.
33
+ # A subscription's own fields, with its plan and customer as references, as listed
34
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
35
+ # the subscription for its price intervals, billing periods, plan phases and other
36
+ # derived fields.
36
37
  #
37
38
  # @return [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription]
38
39
  required :subscription, -> { Orb::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription }
@@ -58,7 +59,7 @@ module Orb
58
59
  #
59
60
  # @param properties [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Properties]
60
61
  #
61
- # @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
62
+ # @param subscription [Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
62
63
  #
63
64
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Type] The event this payload describes.
64
65
 
@@ -149,9 +150,10 @@ module Orb
149
150
  # {Orb::Models::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription}
150
151
  # for more details.
151
152
  #
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.
153
+ # A subscription's own fields, with its plan and customer as references, as listed
154
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
155
+ # the subscription for its price intervals, billing periods, plan phases and other
156
+ # derived fields.
155
157
  #
156
158
  # @param id [String]
157
159
  #
@@ -31,9 +31,10 @@ module Orb
31
31
  -> { Orb::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Properties }
32
32
 
33
33
  # @!attribute subscription
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.
34
+ # A subscription's own fields, with its plan and customer as references, as listed
35
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
36
+ # the subscription for its price intervals, billing periods, plan phases and other
37
+ # derived fields.
37
38
  #
38
39
  # @return [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription]
39
40
  required :subscription,
@@ -61,7 +62,7 @@ module Orb
61
62
  #
62
63
  # @param properties [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Properties]
63
64
  #
64
- # @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
65
+ # @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
65
66
  #
66
67
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Type] The event this payload describes.
67
68
 
@@ -166,9 +167,10 @@ module Orb
166
167
  # {Orb::Models::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription}
167
168
  # for more details.
168
169
  #
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.
170
+ # A subscription's own fields, with its plan and customer as references, as listed
171
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
172
+ # the subscription for its price intervals, billing periods, plan phases and other
173
+ # derived fields.
172
174
  #
173
175
  # @param id [String]
174
176
  #
@@ -30,9 +30,10 @@ module Orb
30
30
  required :properties, -> { Orb::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Properties }
31
31
 
32
32
  # @!attribute subscription
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.
33
+ # A subscription's own fields, with its plan and customer as references, as listed
34
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
35
+ # the subscription for its price intervals, billing periods, plan phases and other
36
+ # derived fields.
36
37
  #
37
38
  # @return [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription]
38
39
  required :subscription,
@@ -59,7 +60,7 @@ module Orb
59
60
  #
60
61
  # @param properties [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Properties]
61
62
  #
62
- # @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
63
+ # @param subscription [Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
63
64
  #
64
65
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Type] The event this payload describes.
65
66
 
@@ -164,9 +165,10 @@ module Orb
164
165
  # {Orb::Models::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent::Subscription}
165
166
  # for more details.
166
167
  #
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.
168
+ # A subscription's own fields, with its plan and customer as references, as listed
169
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
170
+ # the subscription for its price intervals, billing periods, plan phases and other
171
+ # derived fields.
170
172
  #
171
173
  # @param id [String]
172
174
  #
@@ -30,9 +30,10 @@ module Orb
30
30
  required :properties, -> { Orb::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Properties }
31
31
 
32
32
  # @!attribute subscription
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.
33
+ # A subscription's own fields, with its plan and customer as references, as listed
34
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
35
+ # the subscription for its price intervals, billing periods, plan phases and other
36
+ # derived fields.
36
37
  #
37
38
  # @return [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription]
38
39
  required :subscription, -> { Orb::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription }
@@ -59,7 +60,7 @@ module Orb
59
60
  #
60
61
  # @param properties [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Properties]
61
62
  #
62
- # @param subscription [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
63
+ # @param subscription [Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
63
64
  #
64
65
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Type] The event this payload describes.
65
66
 
@@ -609,9 +610,10 @@ module Orb
609
610
  # {Orb::Models::Webhooks::SubscriptionSpendExceededStandardWebhookEvent::Subscription}
610
611
  # for more details.
611
612
  #
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.
613
+ # A subscription's own fields, with its plan and customer as references, as listed
614
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
615
+ # the subscription for its price intervals, billing periods, plan phases and other
616
+ # derived fields.
615
617
  #
616
618
  # @param id [String]
617
619
  #
@@ -29,9 +29,10 @@ module Orb
29
29
  required :properties, Orb::Internal::Type::Unknown
30
30
 
31
31
  # @!attribute subscription
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.
32
+ # A subscription's own fields, with its plan and customer as references, as listed
33
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
34
+ # the subscription for its price intervals, billing periods, plan phases and other
35
+ # derived fields.
35
36
  #
36
37
  # @return [Orb::Models::Webhooks::SubscriptionStartedStandardWebhookEvent::Subscription]
37
38
  required :subscription, -> { Orb::Webhooks::SubscriptionStartedStandardWebhookEvent::Subscription }
@@ -57,7 +58,7 @@ module Orb
57
58
  #
58
59
  # @param properties [Object]
59
60
  #
60
- # @param subscription [Orb::Models::Webhooks::SubscriptionStartedStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: its own fields, with its plan an
61
+ # @param subscription [Orb::Models::Webhooks::SubscriptionStartedStandardWebhookEvent::Subscription] A subscription's own fields, with its plan and customer as references, as listed
61
62
  #
62
63
  # @param type [Symbol, Orb::Models::Webhooks::SubscriptionStartedStandardWebhookEvent::Type] The event this payload describes.
63
64
 
@@ -137,9 +138,10 @@ module Orb
137
138
  # {Orb::Models::Webhooks::SubscriptionStartedStandardWebhookEvent::Subscription}
138
139
  # for more details.
139
140
  #
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.
141
+ # A subscription's own fields, with its plan and customer as references, as listed
142
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
143
+ # the subscription for its price intervals, billing periods, plan phases and other
144
+ # derived fields.
143
145
  #
144
146
  # @param id [String]
145
147
  #