orb-billing 1.44.0 → 1.45.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 +7 -0
- data/README.md +1 -1
- data/lib/orb/models/backfill_reflected_webhook_event.rb +24 -1
- data/lib/orb/models/backfill_reverted_webhook_event.rb +24 -1
- data/lib/orb/models/billable_metric_edited_webhook_event.rb +24 -1
- data/lib/orb/models/credit_block_accounting_sync_failed_webhook_event.rb +27 -1
- data/lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb +27 -1
- data/lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_issued_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_marked_as_void_webhook_event.rb +24 -1
- data/lib/orb/models/customer_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/customer_balance_transaction_created_webhook_event.rb +24 -1
- data/lib/orb/models/customer_created_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_depleted_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_dropped_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_recovered_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb +24 -1
- data/lib/orb/models/customer_edited_webhook_event.rb +24 -1
- data/lib/orb/models/data_exports_transfer_error_webhook_event.rb +27 -1
- data/lib/orb/models/data_exports_transfer_success_webhook_event.rb +27 -1
- data/lib/orb/models/event_unmatched_event_webhook_event.rb +27 -1
- data/lib/orb/models/ingestion_unmatched_customer_ids_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_cost_data_exported_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_due_date_recalculation_completed_webhook_event.rb +28 -1
- data/lib/orb/models/invoice_due_date_recalculation_started_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_ended_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_reset_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_edited_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_issue_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_issued_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_manually_marked_as_paid_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_manually_marked_as_void_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_processing_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_undo_mark_as_paid_webhook_event.rb +24 -1
- data/lib/orb/models/metric_events_dropped_by_watermark_webhook_event.rb +24 -1
- data/lib/orb/models/payment_method_created_webhook_event.rb +24 -1
- data/lib/orb/models/payment_method_deleted_webhook_event.rb +24 -1
- data/lib/orb/models/plan_created_webhook_event.rb +27 -1
- data/lib/orb/models/plan_default_version_set_webhook_event.rb +27 -1
- data/lib/orb/models/plan_edited_webhook_event.rb +24 -1
- data/lib/orb/models/plan_version_created_webhook_event.rb +27 -1
- data/lib/orb/models/price_edited_webhook_event.rb +24 -1
- data/lib/orb/models/resource_event_test_webhook_event.rb +27 -1
- data/lib/orb/models/sales_order_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cancellation_scheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cancellation_unscheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cost_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_created_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_edited_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_ended_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_plan_change_scheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_plan_changed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_plan_version_change_scheduled_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_plan_version_changed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_spend_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_started_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_trial_ended_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_usage_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/transaction_accounting_sync_failed_webhook_event.rb +27 -1
- data/lib/orb/models/transaction_accounting_sync_succeeded_webhook_event.rb +27 -1
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/backfill_reflected_webhook_event.rbi +47 -0
- data/rbi/orb/models/backfill_reverted_webhook_event.rbi +47 -0
- data/rbi/orb/models/billable_metric_edited_webhook_event.rbi +49 -0
- data/rbi/orb/models/credit_block_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_issued_webhook_event.rbi +47 -0
- data/rbi/orb/models/credit_note_marked_as_void_webhook_event.rbi +49 -0
- data/rbi/orb/models/customer_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_balance_transaction_created_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_created_webhook_event.rbi +47 -0
- data/rbi/orb/models/customer_credit_balance_depleted_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_balance_dropped_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_balance_recovered_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_ledger_incremented_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_edited_webhook_event.rbi +47 -0
- data/rbi/orb/models/data_exports_transfer_error_webhook_event.rbi +52 -0
- data/rbi/orb/models/data_exports_transfer_success_webhook_event.rbi +52 -0
- data/rbi/orb/models/event_unmatched_event_webhook_event.rbi +49 -0
- data/rbi/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_cost_data_exported_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_started_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_created_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_ended_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_reset_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_edited_webhook_event.rbi +44 -0
- data/rbi/orb/models/invoice_invoice_date_elapsed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_issue_failed_webhook_event.rbi +47 -0
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_issued_webhook_event.rbi +44 -0
- data/rbi/orb/models/invoice_manually_marked_as_paid_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_manually_marked_as_void_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_payment_failed_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_payment_processing_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_payment_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_sync_failed_webhook_event.rbi +47 -0
- data/rbi/orb/models/invoice_sync_succeeded_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_undo_mark_as_paid_webhook_event.rbi +49 -0
- data/rbi/orb/models/metric_events_dropped_by_watermark_webhook_event.rbi +52 -0
- data/rbi/orb/models/payment_method_created_webhook_event.rbi +49 -0
- data/rbi/orb/models/payment_method_deleted_webhook_event.rbi +49 -0
- data/rbi/orb/models/plan_created_webhook_event.rbi +42 -0
- data/rbi/orb/models/plan_default_version_set_webhook_event.rbi +49 -0
- data/rbi/orb/models/plan_edited_webhook_event.rbi +42 -0
- data/rbi/orb/models/plan_version_created_webhook_event.rbi +47 -0
- data/rbi/orb/models/price_edited_webhook_event.rbi +42 -0
- data/rbi/orb/models/resource_event_test_webhook_event.rbi +47 -0
- data/rbi/orb/models/sales_order_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cancellation_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cancellation_unscheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cost_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_created_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_edited_webhook_event.rbi +47 -0
- data/rbi/orb/models/subscription_ended_webhook_event.rbi +47 -0
- data/rbi/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_change_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_changed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_version_changed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_spend_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_started_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_trial_ended_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_usage_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/transaction_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/sig/orb/models/backfill_reflected_webhook_event.rbs +16 -0
- data/sig/orb/models/backfill_reverted_webhook_event.rbs +16 -0
- data/sig/orb/models/billable_metric_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_block_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_issued_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_marked_as_void_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_balance_transaction_created_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_created_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_depleted_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_dropped_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_recovered_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_ledger_incremented_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/data_exports_transfer_error_webhook_event.rbs +16 -0
- data/sig/orb/models/data_exports_transfer_success_webhook_event.rbs +16 -0
- data/sig/orb/models/event_unmatched_event_webhook_event.rbs +16 -0
- data/sig/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_cost_data_exported_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_started_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_created_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_reset_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_invoice_date_elapsed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issue_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issued_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_manually_marked_as_paid_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_manually_marked_as_void_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_processing_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_undo_mark_as_paid_webhook_event.rbs +16 -0
- data/sig/orb/models/metric_events_dropped_by_watermark_webhook_event.rbs +16 -0
- data/sig/orb/models/payment_method_created_webhook_event.rbs +16 -0
- data/sig/orb/models/payment_method_deleted_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_created_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_default_version_set_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_version_created_webhook_event.rbs +16 -0
- data/sig/orb/models/price_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/resource_event_test_webhook_event.rbs +16 -0
- data/sig/orb/models/sales_order_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_alert_disabled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cancellation_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cancellation_unscheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cost_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_created_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_change_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_changed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_version_changed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_spend_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_started_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_trial_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_usage_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/transaction_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbs +16 -0
- metadata +1 -1
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoiceManuallyMarkedAsPaidWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
#
|
|
30
37
|
# @return [Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent::Properties]
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::InvoiceManuallyMarkedAsPaidWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -48,10 +55,26 @@ module Orb
|
|
|
48
55
|
#
|
|
49
56
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
50
57
|
#
|
|
58
|
+
# @param payload_style [Symbol, Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
59
|
+
#
|
|
51
60
|
# @param properties [Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent::Properties]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# @see Orb::Models::InvoiceManuallyMarkedAsPaidWebhookEvent#properties
|
|
56
79
|
class Properties < Orb::Internal::Type::BaseModel
|
|
57
80
|
# @!attribute external_id
|
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoiceManuallyMarkedAsVoidWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoiceManuallyMarkedAsVoidWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
#
|
|
30
37
|
# @return [Object]
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::InvoiceManuallyMarkedAsVoidWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::InvoiceManuallyMarkedAsVoidWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::InvoiceManuallyMarkedAsVoidWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -48,10 +55,26 @@ module Orb
|
|
|
48
55
|
#
|
|
49
56
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
50
57
|
#
|
|
58
|
+
# @param payload_style [Symbol, Orb::Models::InvoiceManuallyMarkedAsVoidWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
59
|
+
#
|
|
51
60
|
# @param properties [Object]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::InvoiceManuallyMarkedAsVoidWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::InvoiceManuallyMarkedAsVoidWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# The event this payload describes.
|
|
56
79
|
#
|
|
57
80
|
# @see Orb::Models::InvoiceManuallyMarkedAsVoidWebhookEvent#type
|
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoicePaymentFailedWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoicePaymentFailedWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
#
|
|
30
37
|
# @return [Orb::Models::InvoicePaymentFailedWebhookEvent::Properties]
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::InvoicePaymentFailedWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::InvoicePaymentFailedWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::InvoicePaymentFailedWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -49,10 +56,26 @@ module Orb
|
|
|
49
56
|
#
|
|
50
57
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
51
58
|
#
|
|
59
|
+
# @param payload_style [Symbol, Orb::Models::InvoicePaymentFailedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
60
|
+
#
|
|
52
61
|
# @param properties [Orb::Models::InvoicePaymentFailedWebhookEvent::Properties]
|
|
53
62
|
#
|
|
54
63
|
# @param type [Symbol, Orb::Models::InvoicePaymentFailedWebhookEvent::Type] The event this payload describes.
|
|
55
64
|
|
|
65
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
66
|
+
# endpoint.
|
|
67
|
+
#
|
|
68
|
+
# @see Orb::Models::InvoicePaymentFailedWebhookEvent#payload_style
|
|
69
|
+
module PayloadStyle
|
|
70
|
+
extend Orb::Internal::Type::Enum
|
|
71
|
+
|
|
72
|
+
EXPANDED = :expanded
|
|
73
|
+
STANDARD = :standard
|
|
74
|
+
|
|
75
|
+
# @!method self.values
|
|
76
|
+
# @return [Array<Symbol>]
|
|
77
|
+
end
|
|
78
|
+
|
|
56
79
|
# @see Orb::Models::InvoicePaymentFailedWebhookEvent#properties
|
|
57
80
|
class Properties < Orb::Internal::Type::BaseModel
|
|
58
81
|
# @!attribute payment_provider
|
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoicePaymentProcessingWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoicePaymentProcessingWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
#
|
|
30
37
|
# @return [Orb::Models::InvoicePaymentProcessingWebhookEvent::Properties]
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::InvoicePaymentProcessingWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::InvoicePaymentProcessingWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::InvoicePaymentProcessingWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -48,10 +55,26 @@ module Orb
|
|
|
48
55
|
#
|
|
49
56
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
50
57
|
#
|
|
58
|
+
# @param payload_style [Symbol, Orb::Models::InvoicePaymentProcessingWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
59
|
+
#
|
|
51
60
|
# @param properties [Orb::Models::InvoicePaymentProcessingWebhookEvent::Properties]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::InvoicePaymentProcessingWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::InvoicePaymentProcessingWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# @see Orb::Models::InvoicePaymentProcessingWebhookEvent#properties
|
|
56
79
|
class Properties < Orb::Internal::Type::BaseModel
|
|
57
80
|
# @!attribute payment_provider_id
|
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoicePaymentSucceededWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoicePaymentSucceededWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
# `shared_payment_token_id` is only on the wire when the payment used one.
|
|
30
37
|
#
|
|
@@ -37,7 +44,7 @@ module Orb
|
|
|
37
44
|
# @return [Symbol, Orb::Models::InvoicePaymentSucceededWebhookEvent::Type]
|
|
38
45
|
required :type, enum: -> { Orb::InvoicePaymentSucceededWebhookEvent::Type }
|
|
39
46
|
|
|
40
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
47
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
41
48
|
# Some parameter documentations has been truncated, see
|
|
42
49
|
# {Orb::Models::InvoicePaymentSucceededWebhookEvent} for more details.
|
|
43
50
|
#
|
|
@@ -50,10 +57,26 @@ module Orb
|
|
|
50
57
|
#
|
|
51
58
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
52
59
|
#
|
|
60
|
+
# @param payload_style [Symbol, Orb::Models::InvoicePaymentSucceededWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
61
|
+
#
|
|
53
62
|
# @param properties [Orb::Models::InvoicePaymentSucceededWebhookEvent::Properties] `shared_payment_token_id` is only on the wire when the payment used one.
|
|
54
63
|
#
|
|
55
64
|
# @param type [Symbol, Orb::Models::InvoicePaymentSucceededWebhookEvent::Type] The event this payload describes.
|
|
56
65
|
|
|
66
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
67
|
+
# endpoint.
|
|
68
|
+
#
|
|
69
|
+
# @see Orb::Models::InvoicePaymentSucceededWebhookEvent#payload_style
|
|
70
|
+
module PayloadStyle
|
|
71
|
+
extend Orb::Internal::Type::Enum
|
|
72
|
+
|
|
73
|
+
EXPANDED = :expanded
|
|
74
|
+
STANDARD = :standard
|
|
75
|
+
|
|
76
|
+
# @!method self.values
|
|
77
|
+
# @return [Array<Symbol>]
|
|
78
|
+
end
|
|
79
|
+
|
|
57
80
|
# @see Orb::Models::InvoicePaymentSucceededWebhookEvent#properties
|
|
58
81
|
class Properties < Orb::Internal::Type::BaseModel
|
|
59
82
|
# @!attribute payment_provider
|
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoiceSyncFailedWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoiceSyncFailedWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
#
|
|
30
37
|
# @return [Orb::Models::InvoiceSyncFailedWebhookEvent::Properties]
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::InvoiceSyncFailedWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::InvoiceSyncFailedWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::InvoiceSyncFailedWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -48,10 +55,26 @@ module Orb
|
|
|
48
55
|
#
|
|
49
56
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
50
57
|
#
|
|
58
|
+
# @param payload_style [Symbol, Orb::Models::InvoiceSyncFailedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
59
|
+
#
|
|
51
60
|
# @param properties [Orb::Models::InvoiceSyncFailedWebhookEvent::Properties]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::InvoiceSyncFailedWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::InvoiceSyncFailedWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# @see Orb::Models::InvoiceSyncFailedWebhookEvent#properties
|
|
56
79
|
class Properties < Orb::Internal::Type::BaseModel
|
|
57
80
|
# @!attribute payment_provider
|
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoiceSyncSucceededWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoiceSyncSucceededWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
#
|
|
30
37
|
# @return [Orb::Models::InvoiceSyncSucceededWebhookEvent::Properties]
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::InvoiceSyncSucceededWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::InvoiceSyncSucceededWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::InvoiceSyncSucceededWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -48,10 +55,26 @@ module Orb
|
|
|
48
55
|
#
|
|
49
56
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
50
57
|
#
|
|
58
|
+
# @param payload_style [Symbol, Orb::Models::InvoiceSyncSucceededWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
59
|
+
#
|
|
51
60
|
# @param properties [Orb::Models::InvoiceSyncSucceededWebhookEvent::Properties]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::InvoiceSyncSucceededWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::InvoiceSyncSucceededWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# @see Orb::Models::InvoiceSyncSucceededWebhookEvent#properties
|
|
56
79
|
class Properties < Orb::Internal::Type::BaseModel
|
|
57
80
|
# @!attribute payment_provider
|
|
@@ -25,6 +25,13 @@ module Orb
|
|
|
25
25
|
# @return [Orb::Models::Invoice]
|
|
26
26
|
required :invoice, -> { Orb::Invoice }
|
|
27
27
|
|
|
28
|
+
# @!attribute payload_style
|
|
29
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
30
|
+
# endpoint.
|
|
31
|
+
#
|
|
32
|
+
# @return [Symbol, Orb::Models::InvoiceUndoMarkAsPaidWebhookEvent::PayloadStyle]
|
|
33
|
+
required :payload_style, enum: -> { Orb::InvoiceUndoMarkAsPaidWebhookEvent::PayloadStyle }
|
|
34
|
+
|
|
28
35
|
# @!attribute properties
|
|
29
36
|
#
|
|
30
37
|
# @return [Object]
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::InvoiceUndoMarkAsPaidWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::InvoiceUndoMarkAsPaidWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, invoice:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, invoice:, payload_style:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::InvoiceUndoMarkAsPaidWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -48,10 +55,26 @@ module Orb
|
|
|
48
55
|
#
|
|
49
56
|
# @param invoice [Orb::Models::Invoice] An [`Invoice`](/core-concepts#invoice) is a fundamental billing entity, represen
|
|
50
57
|
#
|
|
58
|
+
# @param payload_style [Symbol, Orb::Models::InvoiceUndoMarkAsPaidWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
59
|
+
#
|
|
51
60
|
# @param properties [Object]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::InvoiceUndoMarkAsPaidWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::InvoiceUndoMarkAsPaidWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# The event this payload describes.
|
|
56
79
|
#
|
|
57
80
|
# @see Orb::Models::InvoiceUndoMarkAsPaidWebhookEvent#type
|
|
@@ -15,6 +15,13 @@ module Orb
|
|
|
15
15
|
# @return [Time]
|
|
16
16
|
required :created_at, Time
|
|
17
17
|
|
|
18
|
+
# @!attribute payload_style
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent::PayloadStyle]
|
|
23
|
+
required :payload_style, enum: -> { Orb::MetricEventsDroppedByWatermarkWebhookEvent::PayloadStyle }
|
|
24
|
+
|
|
18
25
|
# @!attribute properties
|
|
19
26
|
# `window_start` and `window_end` are ISO-8601 strings rather than datetimes: the
|
|
20
27
|
# untyped message called `.isoformat()` on them, so they keep microseconds where
|
|
@@ -29,7 +36,7 @@ module Orb
|
|
|
29
36
|
# @return [Symbol, Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent::Type]
|
|
30
37
|
required :type, enum: -> { Orb::MetricEventsDroppedByWatermarkWebhookEvent::Type }
|
|
31
38
|
|
|
32
|
-
# @!method initialize(id:, created_at:, properties:, type:)
|
|
39
|
+
# @!method initialize(id:, created_at:, payload_style:, properties:, type:)
|
|
33
40
|
# Some parameter documentations has been truncated, see
|
|
34
41
|
# {Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent} for more details.
|
|
35
42
|
#
|
|
@@ -39,10 +46,26 @@ module Orb
|
|
|
39
46
|
#
|
|
40
47
|
# @param created_at [Time] The time at which this event was created, to the second.
|
|
41
48
|
#
|
|
49
|
+
# @param payload_style [Symbol, Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
50
|
+
#
|
|
42
51
|
# @param properties [Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent::Properties] `window_start` and `window_end` are ISO-8601 strings rather than datetimes: the
|
|
43
52
|
#
|
|
44
53
|
# @param type [Symbol, Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent::Type] The event this payload describes.
|
|
45
54
|
|
|
55
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
56
|
+
# endpoint.
|
|
57
|
+
#
|
|
58
|
+
# @see Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent#payload_style
|
|
59
|
+
module PayloadStyle
|
|
60
|
+
extend Orb::Internal::Type::Enum
|
|
61
|
+
|
|
62
|
+
EXPANDED = :expanded
|
|
63
|
+
STANDARD = :standard
|
|
64
|
+
|
|
65
|
+
# @!method self.values
|
|
66
|
+
# @return [Array<Symbol>]
|
|
67
|
+
end
|
|
68
|
+
|
|
46
69
|
# @see Orb::Models::MetricEventsDroppedByWatermarkWebhookEvent#properties
|
|
47
70
|
class Properties < Orb::Internal::Type::BaseModel
|
|
48
71
|
# @!attribute dropped
|
|
@@ -15,6 +15,13 @@ module Orb
|
|
|
15
15
|
# @return [Time]
|
|
16
16
|
required :created_at, Time
|
|
17
17
|
|
|
18
|
+
# @!attribute payload_style
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, Orb::Models::PaymentMethodCreatedWebhookEvent::PayloadStyle]
|
|
23
|
+
required :payload_style, enum: -> { Orb::PaymentMethodCreatedWebhookEvent::PayloadStyle }
|
|
24
|
+
|
|
18
25
|
# @!attribute payment_method
|
|
19
26
|
# A payment method represents a customer's stored payment instrument held with an
|
|
20
27
|
# external payment provider (such as Adyen or Stripe).
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::PaymentMethodCreatedWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::PaymentMethodCreatedWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, payment_method:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, payload_style:, payment_method:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::PaymentMethodCreatedWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -46,12 +53,28 @@ module Orb
|
|
|
46
53
|
#
|
|
47
54
|
# @param created_at [Time] The time at which this event was created, to the second.
|
|
48
55
|
#
|
|
56
|
+
# @param payload_style [Symbol, Orb::Models::PaymentMethodCreatedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
57
|
+
#
|
|
49
58
|
# @param payment_method [Orb::Models::PaymentMethodCreatedWebhookEvent::PaymentMethod] A payment method represents a customer's stored payment instrument held with an
|
|
50
59
|
#
|
|
51
60
|
# @param properties [Object]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::PaymentMethodCreatedWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::PaymentMethodCreatedWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# @see Orb::Models::PaymentMethodCreatedWebhookEvent#payment_method
|
|
56
79
|
class PaymentMethod < Orb::Internal::Type::BaseModel
|
|
57
80
|
# @!attribute id
|
|
@@ -15,6 +15,13 @@ module Orb
|
|
|
15
15
|
# @return [Time]
|
|
16
16
|
required :created_at, Time
|
|
17
17
|
|
|
18
|
+
# @!attribute payload_style
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, Orb::Models::PaymentMethodDeletedWebhookEvent::PayloadStyle]
|
|
23
|
+
required :payload_style, enum: -> { Orb::PaymentMethodDeletedWebhookEvent::PayloadStyle }
|
|
24
|
+
|
|
18
25
|
# @!attribute payment_method
|
|
19
26
|
# A payment method represents a customer's stored payment instrument held with an
|
|
20
27
|
# external payment provider (such as Adyen or Stripe).
|
|
@@ -36,7 +43,7 @@ module Orb
|
|
|
36
43
|
# @return [Symbol, Orb::Models::PaymentMethodDeletedWebhookEvent::Type]
|
|
37
44
|
required :type, enum: -> { Orb::PaymentMethodDeletedWebhookEvent::Type }
|
|
38
45
|
|
|
39
|
-
# @!method initialize(id:, created_at:, payment_method:, properties:, type:)
|
|
46
|
+
# @!method initialize(id:, created_at:, payload_style:, payment_method:, properties:, type:)
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {Orb::Models::PaymentMethodDeletedWebhookEvent} for more details.
|
|
42
49
|
#
|
|
@@ -46,12 +53,28 @@ module Orb
|
|
|
46
53
|
#
|
|
47
54
|
# @param created_at [Time] The time at which this event was created, to the second.
|
|
48
55
|
#
|
|
56
|
+
# @param payload_style [Symbol, Orb::Models::PaymentMethodDeletedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
57
|
+
#
|
|
49
58
|
# @param payment_method [Orb::Models::PaymentMethodDeletedWebhookEvent::PaymentMethod] A payment method represents a customer's stored payment instrument held with an
|
|
50
59
|
#
|
|
51
60
|
# @param properties [Object]
|
|
52
61
|
#
|
|
53
62
|
# @param type [Symbol, Orb::Models::PaymentMethodDeletedWebhookEvent::Type] The event this payload describes.
|
|
54
63
|
|
|
64
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
65
|
+
# endpoint.
|
|
66
|
+
#
|
|
67
|
+
# @see Orb::Models::PaymentMethodDeletedWebhookEvent#payload_style
|
|
68
|
+
module PayloadStyle
|
|
69
|
+
extend Orb::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
EXPANDED = :expanded
|
|
72
|
+
STANDARD = :standard
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
|
|
55
78
|
# @see Orb::Models::PaymentMethodDeletedWebhookEvent#payment_method
|
|
56
79
|
class PaymentMethod < Orb::Internal::Type::BaseModel
|
|
57
80
|
# @!attribute id
|
|
@@ -15,6 +15,13 @@ module Orb
|
|
|
15
15
|
# @return [Time]
|
|
16
16
|
required :created_at, Time
|
|
17
17
|
|
|
18
|
+
# @!attribute payload_style
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, Orb::Models::PlanCreatedWebhookEvent::PayloadStyle]
|
|
23
|
+
required :payload_style, enum: -> { Orb::PlanCreatedWebhookEvent::PayloadStyle }
|
|
24
|
+
|
|
18
25
|
# @!attribute plan
|
|
19
26
|
#
|
|
20
27
|
# @return [Orb::Models::PlanCreatedWebhookEvent::Plan]
|
|
@@ -31,19 +38,38 @@ module Orb
|
|
|
31
38
|
# @return [Symbol, Orb::Models::PlanCreatedWebhookEvent::Type]
|
|
32
39
|
required :type, enum: -> { Orb::PlanCreatedWebhookEvent::Type }
|
|
33
40
|
|
|
34
|
-
# @!method initialize(id:, created_at:, plan:, properties:, type:)
|
|
41
|
+
# @!method initialize(id:, created_at:, payload_style:, plan:, properties:, type:)
|
|
42
|
+
# Some parameter documentations has been truncated, see
|
|
43
|
+
# {Orb::Models::PlanCreatedWebhookEvent} for more details.
|
|
44
|
+
#
|
|
35
45
|
# Issued when a plan is created, or when a draft plan is published.
|
|
36
46
|
#
|
|
37
47
|
# @param id [String] The ID of this webhook event.
|
|
38
48
|
#
|
|
39
49
|
# @param created_at [Time] The time at which this event was created, to the second.
|
|
40
50
|
#
|
|
51
|
+
# @param payload_style [Symbol, Orb::Models::PlanCreatedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
52
|
+
#
|
|
41
53
|
# @param plan [Orb::Models::PlanCreatedWebhookEvent::Plan]
|
|
42
54
|
#
|
|
43
55
|
# @param properties [Object]
|
|
44
56
|
#
|
|
45
57
|
# @param type [Symbol, Orb::Models::PlanCreatedWebhookEvent::Type] The event this payload describes.
|
|
46
58
|
|
|
59
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
60
|
+
# endpoint.
|
|
61
|
+
#
|
|
62
|
+
# @see Orb::Models::PlanCreatedWebhookEvent#payload_style
|
|
63
|
+
module PayloadStyle
|
|
64
|
+
extend Orb::Internal::Type::Enum
|
|
65
|
+
|
|
66
|
+
EXPANDED = :expanded
|
|
67
|
+
STANDARD = :standard
|
|
68
|
+
|
|
69
|
+
# @!method self.values
|
|
70
|
+
# @return [Array<Symbol>]
|
|
71
|
+
end
|
|
72
|
+
|
|
47
73
|
# @see Orb::Models::PlanCreatedWebhookEvent#plan
|
|
48
74
|
class Plan < Orb::Internal::Type::BaseModel
|
|
49
75
|
# @!attribute id
|
|
@@ -15,6 +15,13 @@ module Orb
|
|
|
15
15
|
# @return [Time]
|
|
16
16
|
required :created_at, Time
|
|
17
17
|
|
|
18
|
+
# @!attribute payload_style
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, Orb::Models::PlanDefaultVersionSetWebhookEvent::PayloadStyle]
|
|
23
|
+
required :payload_style, enum: -> { Orb::PlanDefaultVersionSetWebhookEvent::PayloadStyle }
|
|
24
|
+
|
|
18
25
|
# @!attribute plan
|
|
19
26
|
#
|
|
20
27
|
# @return [Orb::Models::PlanDefaultVersionSetWebhookEvent::Plan]
|
|
@@ -31,19 +38,38 @@ module Orb
|
|
|
31
38
|
# @return [Symbol, Orb::Models::PlanDefaultVersionSetWebhookEvent::Type]
|
|
32
39
|
required :type, enum: -> { Orb::PlanDefaultVersionSetWebhookEvent::Type }
|
|
33
40
|
|
|
34
|
-
# @!method initialize(id:, created_at:, plan:, properties:, type:)
|
|
41
|
+
# @!method initialize(id:, created_at:, payload_style:, plan:, properties:, type:)
|
|
42
|
+
# Some parameter documentations has been truncated, see
|
|
43
|
+
# {Orb::Models::PlanDefaultVersionSetWebhookEvent} for more details.
|
|
44
|
+
#
|
|
35
45
|
# Issued when a plan's default version is set.
|
|
36
46
|
#
|
|
37
47
|
# @param id [String] The ID of this webhook event.
|
|
38
48
|
#
|
|
39
49
|
# @param created_at [Time] The time at which this event was created, to the second.
|
|
40
50
|
#
|
|
51
|
+
# @param payload_style [Symbol, Orb::Models::PlanDefaultVersionSetWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
52
|
+
#
|
|
41
53
|
# @param plan [Orb::Models::PlanDefaultVersionSetWebhookEvent::Plan]
|
|
42
54
|
#
|
|
43
55
|
# @param properties [Orb::Models::PlanDefaultVersionSetWebhookEvent::Properties]
|
|
44
56
|
#
|
|
45
57
|
# @param type [Symbol, Orb::Models::PlanDefaultVersionSetWebhookEvent::Type] The event this payload describes.
|
|
46
58
|
|
|
59
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
60
|
+
# endpoint.
|
|
61
|
+
#
|
|
62
|
+
# @see Orb::Models::PlanDefaultVersionSetWebhookEvent#payload_style
|
|
63
|
+
module PayloadStyle
|
|
64
|
+
extend Orb::Internal::Type::Enum
|
|
65
|
+
|
|
66
|
+
EXPANDED = :expanded
|
|
67
|
+
STANDARD = :standard
|
|
68
|
+
|
|
69
|
+
# @!method self.values
|
|
70
|
+
# @return [Array<Symbol>]
|
|
71
|
+
end
|
|
72
|
+
|
|
47
73
|
# @see Orb::Models::PlanDefaultVersionSetWebhookEvent#plan
|
|
48
74
|
class Plan < Orb::Internal::Type::BaseModel
|
|
49
75
|
# @!attribute id
|