orb-billing 1.48.0 → 1.50.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 +14 -0
- data/README.md +1 -1
- data/lib/orb/models/changed_subscription_resources.rb +21 -1
- data/lib/orb/models/customers/credit_fetch_balance_by_external_id_params.rb +31 -0
- data/lib/orb/models/customers/credit_fetch_balance_by_external_id_response.rb +61 -0
- data/lib/orb/models/customers/credit_fetch_balance_params.rb +31 -0
- data/lib/orb/models/customers/credit_fetch_balance_response.rb +60 -0
- data/lib/orb/models/invoice.rb +21 -1
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +21 -1
- data/lib/orb/models/invoice_issue_summary_response.rb +21 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +21 -1
- data/lib/orb/models/invoice_list_summary_response.rb +21 -1
- data/lib/orb/models/subscription_list_summary_params.rb +108 -0
- data/lib/orb/models/subscription_list_summary_response.rb +130 -0
- data/lib/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_edited_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_issued_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rb +21 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rb +21 -1
- data/lib/orb/models.rb +2 -0
- data/lib/orb/resources/alerts.rb +7 -4
- data/lib/orb/resources/customers/credits.rb +76 -0
- data/lib/orb/resources/subscriptions.rb +60 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +6 -0
- data/rbi/orb/models/changed_subscription_resources.rbi +24 -0
- data/rbi/orb/models/customers/credit_fetch_balance_by_external_id_params.rbi +54 -0
- data/rbi/orb/models/customers/credit_fetch_balance_by_external_id_response.rbi +86 -0
- data/rbi/orb/models/customers/credit_fetch_balance_params.rbi +54 -0
- data/rbi/orb/models/customers/credit_fetch_balance_response.rbi +86 -0
- data/rbi/orb/models/invoice.rbi +24 -0
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +24 -0
- data/rbi/orb/models/invoice_issue_summary_response.rbi +24 -0
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +24 -0
- data/rbi/orb/models/invoice_list_summary_response.rbi +24 -0
- data/rbi/orb/models/subscription_list_summary_params.rbi +148 -0
- data/rbi/orb/models/subscription_list_summary_response.rbi +214 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_edited_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_issued_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbi +24 -0
- data/rbi/orb/models.rbi +2 -0
- data/rbi/orb/resources/alerts.rbi +7 -4
- data/rbi/orb/resources/customers/credits.rbi +60 -0
- data/rbi/orb/resources/subscriptions.rbi +47 -0
- data/sig/orb/models/changed_subscription_resources.rbs +10 -0
- data/sig/orb/models/customers/credit_fetch_balance_by_external_id_params.rbs +30 -0
- data/sig/orb/models/customers/credit_fetch_balance_by_external_id_response.rbs +42 -0
- data/sig/orb/models/customers/credit_fetch_balance_params.rbs +30 -0
- data/sig/orb/models/customers/credit_fetch_balance_response.rbs +42 -0
- data/sig/orb/models/invoice.rbs +10 -0
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +10 -0
- data/sig/orb/models/invoice_issue_summary_response.rbs +10 -0
- data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +10 -0
- data/sig/orb/models/invoice_list_summary_response.rbs +10 -0
- data/sig/orb/models/subscription_list_summary_params.rbs +90 -0
- data/sig/orb/models/subscription_list_summary_response.rbs +94 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_edited_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_issued_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbs +10 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbs +10 -0
- data/sig/orb/models.rbs +2 -0
- data/sig/orb/resources/customers/credits.rbs +12 -0
- data/sig/orb/resources/subscriptions.rbs +15 -0
- metadata +19 -1
|
@@ -443,6 +443,18 @@ module Orb
|
|
|
443
443
|
sig { returns(T.nilable(Time)) }
|
|
444
444
|
attr_accessor :scheduled_issue_at
|
|
445
445
|
|
|
446
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
447
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
448
|
+
# line items.
|
|
449
|
+
sig { returns(T.nilable(Time)) }
|
|
450
|
+
attr_accessor :service_period_end
|
|
451
|
+
|
|
452
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
453
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
454
|
+
# line items.
|
|
455
|
+
sig { returns(T.nilable(Time)) }
|
|
456
|
+
attr_accessor :service_period_start
|
|
457
|
+
|
|
446
458
|
sig { returns(T.nilable(Orb::Address)) }
|
|
447
459
|
attr_reader :shipping_address
|
|
448
460
|
|
|
@@ -528,6 +540,8 @@ module Orb
|
|
|
528
540
|
payment_received_at: T.nilable(Time),
|
|
529
541
|
payment_started_at: T.nilable(Time),
|
|
530
542
|
scheduled_issue_at: T.nilable(Time),
|
|
543
|
+
service_period_end: T.nilable(Time),
|
|
544
|
+
service_period_start: T.nilable(Time),
|
|
531
545
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
532
546
|
status:
|
|
533
547
|
Orb::Webhooks::InvoiceEditedStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -758,6 +772,14 @@ module Orb
|
|
|
758
772
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
759
773
|
# scheduled to be issued.
|
|
760
774
|
scheduled_issue_at:,
|
|
775
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
776
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
777
|
+
# line items.
|
|
778
|
+
service_period_end:,
|
|
779
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
780
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
781
|
+
# line items.
|
|
782
|
+
service_period_start:,
|
|
761
783
|
shipping_address:,
|
|
762
784
|
status:,
|
|
763
785
|
subscription:,
|
|
@@ -817,6 +839,8 @@ module Orb
|
|
|
817
839
|
payment_received_at: T.nilable(Time),
|
|
818
840
|
payment_started_at: T.nilable(Time),
|
|
819
841
|
scheduled_issue_at: T.nilable(Time),
|
|
842
|
+
service_period_end: T.nilable(Time),
|
|
843
|
+
service_period_start: T.nilable(Time),
|
|
820
844
|
shipping_address: T.nilable(Orb::Address),
|
|
821
845
|
status:
|
|
822
846
|
Orb::Webhooks::InvoiceEditedStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -447,6 +447,18 @@ module Orb
|
|
|
447
447
|
sig { returns(T.nilable(Time)) }
|
|
448
448
|
attr_accessor :scheduled_issue_at
|
|
449
449
|
|
|
450
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
451
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
452
|
+
# line items.
|
|
453
|
+
sig { returns(T.nilable(Time)) }
|
|
454
|
+
attr_accessor :service_period_end
|
|
455
|
+
|
|
456
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
457
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
458
|
+
# line items.
|
|
459
|
+
sig { returns(T.nilable(Time)) }
|
|
460
|
+
attr_accessor :service_period_start
|
|
461
|
+
|
|
450
462
|
sig { returns(T.nilable(Orb::Address)) }
|
|
451
463
|
attr_reader :shipping_address
|
|
452
464
|
|
|
@@ -532,6 +544,8 @@ module Orb
|
|
|
532
544
|
payment_received_at: T.nilable(Time),
|
|
533
545
|
payment_started_at: T.nilable(Time),
|
|
534
546
|
scheduled_issue_at: T.nilable(Time),
|
|
547
|
+
service_period_end: T.nilable(Time),
|
|
548
|
+
service_period_start: T.nilable(Time),
|
|
535
549
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
536
550
|
status:
|
|
537
551
|
Orb::Webhooks::InvoiceIssueFailedStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -762,6 +776,14 @@ module Orb
|
|
|
762
776
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
763
777
|
# scheduled to be issued.
|
|
764
778
|
scheduled_issue_at:,
|
|
779
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
780
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
781
|
+
# line items.
|
|
782
|
+
service_period_end:,
|
|
783
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
784
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
785
|
+
# line items.
|
|
786
|
+
service_period_start:,
|
|
765
787
|
shipping_address:,
|
|
766
788
|
status:,
|
|
767
789
|
subscription:,
|
|
@@ -821,6 +843,8 @@ module Orb
|
|
|
821
843
|
payment_received_at: T.nilable(Time),
|
|
822
844
|
payment_started_at: T.nilable(Time),
|
|
823
845
|
scheduled_issue_at: T.nilable(Time),
|
|
846
|
+
service_period_end: T.nilable(Time),
|
|
847
|
+
service_period_start: T.nilable(Time),
|
|
824
848
|
shipping_address: T.nilable(Orb::Address),
|
|
825
849
|
status:
|
|
826
850
|
Orb::Webhooks::InvoiceIssueFailedStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -443,6 +443,18 @@ module Orb
|
|
|
443
443
|
sig { returns(T.nilable(Time)) }
|
|
444
444
|
attr_accessor :scheduled_issue_at
|
|
445
445
|
|
|
446
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
447
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
448
|
+
# line items.
|
|
449
|
+
sig { returns(T.nilable(Time)) }
|
|
450
|
+
attr_accessor :service_period_end
|
|
451
|
+
|
|
452
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
453
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
454
|
+
# line items.
|
|
455
|
+
sig { returns(T.nilable(Time)) }
|
|
456
|
+
attr_accessor :service_period_start
|
|
457
|
+
|
|
446
458
|
sig { returns(T.nilable(Orb::Address)) }
|
|
447
459
|
attr_reader :shipping_address
|
|
448
460
|
|
|
@@ -528,6 +540,8 @@ module Orb
|
|
|
528
540
|
payment_received_at: T.nilable(Time),
|
|
529
541
|
payment_started_at: T.nilable(Time),
|
|
530
542
|
scheduled_issue_at: T.nilable(Time),
|
|
543
|
+
service_period_end: T.nilable(Time),
|
|
544
|
+
service_period_start: T.nilable(Time),
|
|
531
545
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
532
546
|
status:
|
|
533
547
|
Orb::Webhooks::InvoiceIssuedStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -758,6 +772,14 @@ module Orb
|
|
|
758
772
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
759
773
|
# scheduled to be issued.
|
|
760
774
|
scheduled_issue_at:,
|
|
775
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
776
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
777
|
+
# line items.
|
|
778
|
+
service_period_end:,
|
|
779
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
780
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
781
|
+
# line items.
|
|
782
|
+
service_period_start:,
|
|
761
783
|
shipping_address:,
|
|
762
784
|
status:,
|
|
763
785
|
subscription:,
|
|
@@ -817,6 +839,8 @@ module Orb
|
|
|
817
839
|
payment_received_at: T.nilable(Time),
|
|
818
840
|
payment_started_at: T.nilable(Time),
|
|
819
841
|
scheduled_issue_at: T.nilable(Time),
|
|
842
|
+
service_period_end: T.nilable(Time),
|
|
843
|
+
service_period_start: T.nilable(Time),
|
|
820
844
|
shipping_address: T.nilable(Orb::Address),
|
|
821
845
|
status:
|
|
822
846
|
Orb::Webhooks::InvoiceIssuedStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -448,6 +448,18 @@ module Orb
|
|
|
448
448
|
sig { returns(T.nilable(Time)) }
|
|
449
449
|
attr_accessor :scheduled_issue_at
|
|
450
450
|
|
|
451
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
452
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
453
|
+
# line items.
|
|
454
|
+
sig { returns(T.nilable(Time)) }
|
|
455
|
+
attr_accessor :service_period_end
|
|
456
|
+
|
|
457
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
458
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
459
|
+
# line items.
|
|
460
|
+
sig { returns(T.nilable(Time)) }
|
|
461
|
+
attr_accessor :service_period_start
|
|
462
|
+
|
|
451
463
|
sig { returns(T.nilable(Orb::Address)) }
|
|
452
464
|
attr_reader :shipping_address
|
|
453
465
|
|
|
@@ -533,6 +545,8 @@ module Orb
|
|
|
533
545
|
payment_received_at: T.nilable(Time),
|
|
534
546
|
payment_started_at: T.nilable(Time),
|
|
535
547
|
scheduled_issue_at: T.nilable(Time),
|
|
548
|
+
service_period_end: T.nilable(Time),
|
|
549
|
+
service_period_start: T.nilable(Time),
|
|
536
550
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
537
551
|
status:
|
|
538
552
|
Orb::Webhooks::InvoiceIssuedSummaryStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -763,6 +777,14 @@ module Orb
|
|
|
763
777
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
764
778
|
# scheduled to be issued.
|
|
765
779
|
scheduled_issue_at:,
|
|
780
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
781
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
782
|
+
# line items.
|
|
783
|
+
service_period_end:,
|
|
784
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
785
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
786
|
+
# line items.
|
|
787
|
+
service_period_start:,
|
|
766
788
|
shipping_address:,
|
|
767
789
|
status:,
|
|
768
790
|
subscription:,
|
|
@@ -822,6 +844,8 @@ module Orb
|
|
|
822
844
|
payment_received_at: T.nilable(Time),
|
|
823
845
|
payment_started_at: T.nilable(Time),
|
|
824
846
|
scheduled_issue_at: T.nilable(Time),
|
|
847
|
+
service_period_end: T.nilable(Time),
|
|
848
|
+
service_period_start: T.nilable(Time),
|
|
825
849
|
shipping_address: T.nilable(Orb::Address),
|
|
826
850
|
status:
|
|
827
851
|
Orb::Webhooks::InvoiceIssuedSummaryStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -447,6 +447,18 @@ module Orb
|
|
|
447
447
|
sig { returns(T.nilable(Time)) }
|
|
448
448
|
attr_accessor :scheduled_issue_at
|
|
449
449
|
|
|
450
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
451
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
452
|
+
# line items.
|
|
453
|
+
sig { returns(T.nilable(Time)) }
|
|
454
|
+
attr_accessor :service_period_end
|
|
455
|
+
|
|
456
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
457
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
458
|
+
# line items.
|
|
459
|
+
sig { returns(T.nilable(Time)) }
|
|
460
|
+
attr_accessor :service_period_start
|
|
461
|
+
|
|
450
462
|
sig { returns(T.nilable(Orb::Address)) }
|
|
451
463
|
attr_reader :shipping_address
|
|
452
464
|
|
|
@@ -532,6 +544,8 @@ module Orb
|
|
|
532
544
|
payment_received_at: T.nilable(Time),
|
|
533
545
|
payment_started_at: T.nilable(Time),
|
|
534
546
|
scheduled_issue_at: T.nilable(Time),
|
|
547
|
+
service_period_end: T.nilable(Time),
|
|
548
|
+
service_period_start: T.nilable(Time),
|
|
535
549
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
536
550
|
status:
|
|
537
551
|
Orb::Webhooks::InvoiceManuallyMarkedAsPaidStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -762,6 +776,14 @@ module Orb
|
|
|
762
776
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
763
777
|
# scheduled to be issued.
|
|
764
778
|
scheduled_issue_at:,
|
|
779
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
780
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
781
|
+
# line items.
|
|
782
|
+
service_period_end:,
|
|
783
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
784
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
785
|
+
# line items.
|
|
786
|
+
service_period_start:,
|
|
765
787
|
shipping_address:,
|
|
766
788
|
status:,
|
|
767
789
|
subscription:,
|
|
@@ -821,6 +843,8 @@ module Orb
|
|
|
821
843
|
payment_received_at: T.nilable(Time),
|
|
822
844
|
payment_started_at: T.nilable(Time),
|
|
823
845
|
scheduled_issue_at: T.nilable(Time),
|
|
846
|
+
service_period_end: T.nilable(Time),
|
|
847
|
+
service_period_start: T.nilable(Time),
|
|
824
848
|
shipping_address: T.nilable(Orb::Address),
|
|
825
849
|
status:
|
|
826
850
|
Orb::Webhooks::InvoiceManuallyMarkedAsPaidStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -433,6 +433,18 @@ module Orb
|
|
|
433
433
|
sig { returns(T.nilable(Time)) }
|
|
434
434
|
attr_accessor :scheduled_issue_at
|
|
435
435
|
|
|
436
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
437
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
438
|
+
# line items.
|
|
439
|
+
sig { returns(T.nilable(Time)) }
|
|
440
|
+
attr_accessor :service_period_end
|
|
441
|
+
|
|
442
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
443
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
444
|
+
# line items.
|
|
445
|
+
sig { returns(T.nilable(Time)) }
|
|
446
|
+
attr_accessor :service_period_start
|
|
447
|
+
|
|
436
448
|
sig { returns(T.nilable(Orb::Address)) }
|
|
437
449
|
attr_reader :shipping_address
|
|
438
450
|
|
|
@@ -518,6 +530,8 @@ module Orb
|
|
|
518
530
|
payment_received_at: T.nilable(Time),
|
|
519
531
|
payment_started_at: T.nilable(Time),
|
|
520
532
|
scheduled_issue_at: T.nilable(Time),
|
|
533
|
+
service_period_end: T.nilable(Time),
|
|
534
|
+
service_period_start: T.nilable(Time),
|
|
521
535
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
522
536
|
status:
|
|
523
537
|
Orb::Webhooks::InvoiceManuallyMarkedAsVoidStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -748,6 +762,14 @@ module Orb
|
|
|
748
762
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
749
763
|
# scheduled to be issued.
|
|
750
764
|
scheduled_issue_at:,
|
|
765
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
766
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
767
|
+
# line items.
|
|
768
|
+
service_period_end:,
|
|
769
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
770
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
771
|
+
# line items.
|
|
772
|
+
service_period_start:,
|
|
751
773
|
shipping_address:,
|
|
752
774
|
status:,
|
|
753
775
|
subscription:,
|
|
@@ -807,6 +829,8 @@ module Orb
|
|
|
807
829
|
payment_received_at: T.nilable(Time),
|
|
808
830
|
payment_started_at: T.nilable(Time),
|
|
809
831
|
scheduled_issue_at: T.nilable(Time),
|
|
832
|
+
service_period_end: T.nilable(Time),
|
|
833
|
+
service_period_start: T.nilable(Time),
|
|
810
834
|
shipping_address: T.nilable(Orb::Address),
|
|
811
835
|
status:
|
|
812
836
|
Orb::Webhooks::InvoiceManuallyMarkedAsVoidStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -448,6 +448,18 @@ module Orb
|
|
|
448
448
|
sig { returns(T.nilable(Time)) }
|
|
449
449
|
attr_accessor :scheduled_issue_at
|
|
450
450
|
|
|
451
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
452
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
453
|
+
# line items.
|
|
454
|
+
sig { returns(T.nilable(Time)) }
|
|
455
|
+
attr_accessor :service_period_end
|
|
456
|
+
|
|
457
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
458
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
459
|
+
# line items.
|
|
460
|
+
sig { returns(T.nilable(Time)) }
|
|
461
|
+
attr_accessor :service_period_start
|
|
462
|
+
|
|
451
463
|
sig { returns(T.nilable(Orb::Address)) }
|
|
452
464
|
attr_reader :shipping_address
|
|
453
465
|
|
|
@@ -533,6 +545,8 @@ module Orb
|
|
|
533
545
|
payment_received_at: T.nilable(Time),
|
|
534
546
|
payment_started_at: T.nilable(Time),
|
|
535
547
|
scheduled_issue_at: T.nilable(Time),
|
|
548
|
+
service_period_end: T.nilable(Time),
|
|
549
|
+
service_period_start: T.nilable(Time),
|
|
536
550
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
537
551
|
status:
|
|
538
552
|
Orb::Webhooks::InvoicePaymentFailedStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -763,6 +777,14 @@ module Orb
|
|
|
763
777
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
764
778
|
# scheduled to be issued.
|
|
765
779
|
scheduled_issue_at:,
|
|
780
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
781
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
782
|
+
# line items.
|
|
783
|
+
service_period_end:,
|
|
784
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
785
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
786
|
+
# line items.
|
|
787
|
+
service_period_start:,
|
|
766
788
|
shipping_address:,
|
|
767
789
|
status:,
|
|
768
790
|
subscription:,
|
|
@@ -822,6 +844,8 @@ module Orb
|
|
|
822
844
|
payment_received_at: T.nilable(Time),
|
|
823
845
|
payment_started_at: T.nilable(Time),
|
|
824
846
|
scheduled_issue_at: T.nilable(Time),
|
|
847
|
+
service_period_end: T.nilable(Time),
|
|
848
|
+
service_period_start: T.nilable(Time),
|
|
825
849
|
shipping_address: T.nilable(Orb::Address),
|
|
826
850
|
status:
|
|
827
851
|
Orb::Webhooks::InvoicePaymentFailedStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -447,6 +447,18 @@ module Orb
|
|
|
447
447
|
sig { returns(T.nilable(Time)) }
|
|
448
448
|
attr_accessor :scheduled_issue_at
|
|
449
449
|
|
|
450
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
451
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
452
|
+
# line items.
|
|
453
|
+
sig { returns(T.nilable(Time)) }
|
|
454
|
+
attr_accessor :service_period_end
|
|
455
|
+
|
|
456
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
457
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
458
|
+
# line items.
|
|
459
|
+
sig { returns(T.nilable(Time)) }
|
|
460
|
+
attr_accessor :service_period_start
|
|
461
|
+
|
|
450
462
|
sig { returns(T.nilable(Orb::Address)) }
|
|
451
463
|
attr_reader :shipping_address
|
|
452
464
|
|
|
@@ -532,6 +544,8 @@ module Orb
|
|
|
532
544
|
payment_received_at: T.nilable(Time),
|
|
533
545
|
payment_started_at: T.nilable(Time),
|
|
534
546
|
scheduled_issue_at: T.nilable(Time),
|
|
547
|
+
service_period_end: T.nilable(Time),
|
|
548
|
+
service_period_start: T.nilable(Time),
|
|
535
549
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
536
550
|
status:
|
|
537
551
|
Orb::Webhooks::InvoicePaymentProcessingStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -762,6 +776,14 @@ module Orb
|
|
|
762
776
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
763
777
|
# scheduled to be issued.
|
|
764
778
|
scheduled_issue_at:,
|
|
779
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
780
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
781
|
+
# line items.
|
|
782
|
+
service_period_end:,
|
|
783
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
784
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
785
|
+
# line items.
|
|
786
|
+
service_period_start:,
|
|
765
787
|
shipping_address:,
|
|
766
788
|
status:,
|
|
767
789
|
subscription:,
|
|
@@ -821,6 +843,8 @@ module Orb
|
|
|
821
843
|
payment_received_at: T.nilable(Time),
|
|
822
844
|
payment_started_at: T.nilable(Time),
|
|
823
845
|
scheduled_issue_at: T.nilable(Time),
|
|
846
|
+
service_period_end: T.nilable(Time),
|
|
847
|
+
service_period_start: T.nilable(Time),
|
|
824
848
|
shipping_address: T.nilable(Orb::Address),
|
|
825
849
|
status:
|
|
826
850
|
Orb::Webhooks::InvoicePaymentProcessingStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -450,6 +450,18 @@ module Orb
|
|
|
450
450
|
sig { returns(T.nilable(Time)) }
|
|
451
451
|
attr_accessor :scheduled_issue_at
|
|
452
452
|
|
|
453
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
454
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
455
|
+
# line items.
|
|
456
|
+
sig { returns(T.nilable(Time)) }
|
|
457
|
+
attr_accessor :service_period_end
|
|
458
|
+
|
|
459
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
460
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
461
|
+
# line items.
|
|
462
|
+
sig { returns(T.nilable(Time)) }
|
|
463
|
+
attr_accessor :service_period_start
|
|
464
|
+
|
|
453
465
|
sig { returns(T.nilable(Orb::Address)) }
|
|
454
466
|
attr_reader :shipping_address
|
|
455
467
|
|
|
@@ -535,6 +547,8 @@ module Orb
|
|
|
535
547
|
payment_received_at: T.nilable(Time),
|
|
536
548
|
payment_started_at: T.nilable(Time),
|
|
537
549
|
scheduled_issue_at: T.nilable(Time),
|
|
550
|
+
service_period_end: T.nilable(Time),
|
|
551
|
+
service_period_start: T.nilable(Time),
|
|
538
552
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
539
553
|
status:
|
|
540
554
|
Orb::Webhooks::InvoicePaymentSucceededStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -765,6 +779,14 @@ module Orb
|
|
|
765
779
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
766
780
|
# scheduled to be issued.
|
|
767
781
|
scheduled_issue_at:,
|
|
782
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
783
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
784
|
+
# line items.
|
|
785
|
+
service_period_end:,
|
|
786
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
787
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
788
|
+
# line items.
|
|
789
|
+
service_period_start:,
|
|
768
790
|
shipping_address:,
|
|
769
791
|
status:,
|
|
770
792
|
subscription:,
|
|
@@ -824,6 +846,8 @@ module Orb
|
|
|
824
846
|
payment_received_at: T.nilable(Time),
|
|
825
847
|
payment_started_at: T.nilable(Time),
|
|
826
848
|
scheduled_issue_at: T.nilable(Time),
|
|
849
|
+
service_period_end: T.nilable(Time),
|
|
850
|
+
service_period_start: T.nilable(Time),
|
|
827
851
|
shipping_address: T.nilable(Orb::Address),
|
|
828
852
|
status:
|
|
829
853
|
Orb::Webhooks::InvoicePaymentSucceededStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -445,6 +445,18 @@ module Orb
|
|
|
445
445
|
sig { returns(T.nilable(Time)) }
|
|
446
446
|
attr_accessor :scheduled_issue_at
|
|
447
447
|
|
|
448
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
449
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
450
|
+
# line items.
|
|
451
|
+
sig { returns(T.nilable(Time)) }
|
|
452
|
+
attr_accessor :service_period_end
|
|
453
|
+
|
|
454
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
455
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
456
|
+
# line items.
|
|
457
|
+
sig { returns(T.nilable(Time)) }
|
|
458
|
+
attr_accessor :service_period_start
|
|
459
|
+
|
|
448
460
|
sig { returns(T.nilable(Orb::Address)) }
|
|
449
461
|
attr_reader :shipping_address
|
|
450
462
|
|
|
@@ -530,6 +542,8 @@ module Orb
|
|
|
530
542
|
payment_received_at: T.nilable(Time),
|
|
531
543
|
payment_started_at: T.nilable(Time),
|
|
532
544
|
scheduled_issue_at: T.nilable(Time),
|
|
545
|
+
service_period_end: T.nilable(Time),
|
|
546
|
+
service_period_start: T.nilable(Time),
|
|
533
547
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
534
548
|
status:
|
|
535
549
|
Orb::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -760,6 +774,14 @@ module Orb
|
|
|
760
774
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
761
775
|
# scheduled to be issued.
|
|
762
776
|
scheduled_issue_at:,
|
|
777
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
778
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
779
|
+
# line items.
|
|
780
|
+
service_period_end:,
|
|
781
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
782
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
783
|
+
# line items.
|
|
784
|
+
service_period_start:,
|
|
763
785
|
shipping_address:,
|
|
764
786
|
status:,
|
|
765
787
|
subscription:,
|
|
@@ -819,6 +841,8 @@ module Orb
|
|
|
819
841
|
payment_received_at: T.nilable(Time),
|
|
820
842
|
payment_started_at: T.nilable(Time),
|
|
821
843
|
scheduled_issue_at: T.nilable(Time),
|
|
844
|
+
service_period_end: T.nilable(Time),
|
|
845
|
+
service_period_start: T.nilable(Time),
|
|
822
846
|
shipping_address: T.nilable(Orb::Address),
|
|
823
847
|
status:
|
|
824
848
|
Orb::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -447,6 +447,18 @@ module Orb
|
|
|
447
447
|
sig { returns(T.nilable(Time)) }
|
|
448
448
|
attr_accessor :scheduled_issue_at
|
|
449
449
|
|
|
450
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
451
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
452
|
+
# line items.
|
|
453
|
+
sig { returns(T.nilable(Time)) }
|
|
454
|
+
attr_accessor :service_period_end
|
|
455
|
+
|
|
456
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
457
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
458
|
+
# line items.
|
|
459
|
+
sig { returns(T.nilable(Time)) }
|
|
460
|
+
attr_accessor :service_period_start
|
|
461
|
+
|
|
450
462
|
sig { returns(T.nilable(Orb::Address)) }
|
|
451
463
|
attr_reader :shipping_address
|
|
452
464
|
|
|
@@ -532,6 +544,8 @@ module Orb
|
|
|
532
544
|
payment_received_at: T.nilable(Time),
|
|
533
545
|
payment_started_at: T.nilable(Time),
|
|
534
546
|
scheduled_issue_at: T.nilable(Time),
|
|
547
|
+
service_period_end: T.nilable(Time),
|
|
548
|
+
service_period_start: T.nilable(Time),
|
|
535
549
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
536
550
|
status:
|
|
537
551
|
Orb::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -762,6 +776,14 @@ module Orb
|
|
|
762
776
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
763
777
|
# scheduled to be issued.
|
|
764
778
|
scheduled_issue_at:,
|
|
779
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
780
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
781
|
+
# line items.
|
|
782
|
+
service_period_end:,
|
|
783
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
784
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
785
|
+
# line items.
|
|
786
|
+
service_period_start:,
|
|
765
787
|
shipping_address:,
|
|
766
788
|
status:,
|
|
767
789
|
subscription:,
|
|
@@ -821,6 +843,8 @@ module Orb
|
|
|
821
843
|
payment_received_at: T.nilable(Time),
|
|
822
844
|
payment_started_at: T.nilable(Time),
|
|
823
845
|
scheduled_issue_at: T.nilable(Time),
|
|
846
|
+
service_period_end: T.nilable(Time),
|
|
847
|
+
service_period_start: T.nilable(Time),
|
|
824
848
|
shipping_address: T.nilable(Orb::Address),
|
|
825
849
|
status:
|
|
826
850
|
Orb::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -433,6 +433,18 @@ module Orb
|
|
|
433
433
|
sig { returns(T.nilable(Time)) }
|
|
434
434
|
attr_accessor :scheduled_issue_at
|
|
435
435
|
|
|
436
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
437
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
438
|
+
# line items.
|
|
439
|
+
sig { returns(T.nilable(Time)) }
|
|
440
|
+
attr_accessor :service_period_end
|
|
441
|
+
|
|
442
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
443
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
444
|
+
# line items.
|
|
445
|
+
sig { returns(T.nilable(Time)) }
|
|
446
|
+
attr_accessor :service_period_start
|
|
447
|
+
|
|
436
448
|
sig { returns(T.nilable(Orb::Address)) }
|
|
437
449
|
attr_reader :shipping_address
|
|
438
450
|
|
|
@@ -518,6 +530,8 @@ module Orb
|
|
|
518
530
|
payment_received_at: T.nilable(Time),
|
|
519
531
|
payment_started_at: T.nilable(Time),
|
|
520
532
|
scheduled_issue_at: T.nilable(Time),
|
|
533
|
+
service_period_end: T.nilable(Time),
|
|
534
|
+
service_period_start: T.nilable(Time),
|
|
521
535
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
522
536
|
status:
|
|
523
537
|
Orb::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -748,6 +762,14 @@ module Orb
|
|
|
748
762
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
749
763
|
# scheduled to be issued.
|
|
750
764
|
scheduled_issue_at:,
|
|
765
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
766
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
767
|
+
# line items.
|
|
768
|
+
service_period_end:,
|
|
769
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
770
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
771
|
+
# line items.
|
|
772
|
+
service_period_start:,
|
|
751
773
|
shipping_address:,
|
|
752
774
|
status:,
|
|
753
775
|
subscription:,
|
|
@@ -807,6 +829,8 @@ module Orb
|
|
|
807
829
|
payment_received_at: T.nilable(Time),
|
|
808
830
|
payment_started_at: T.nilable(Time),
|
|
809
831
|
scheduled_issue_at: T.nilable(Time),
|
|
832
|
+
service_period_end: T.nilable(Time),
|
|
833
|
+
service_period_start: T.nilable(Time),
|
|
810
834
|
shipping_address: T.nilable(Orb::Address),
|
|
811
835
|
status:
|
|
812
836
|
Orb::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|
|
@@ -612,6 +612,18 @@ module Orb
|
|
|
612
612
|
sig { returns(T.nilable(Time)) }
|
|
613
613
|
attr_accessor :scheduled_issue_at
|
|
614
614
|
|
|
615
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
616
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
617
|
+
# line items.
|
|
618
|
+
sig { returns(T.nilable(Time)) }
|
|
619
|
+
attr_accessor :service_period_end
|
|
620
|
+
|
|
621
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
622
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
623
|
+
# line items.
|
|
624
|
+
sig { returns(T.nilable(Time)) }
|
|
625
|
+
attr_accessor :service_period_start
|
|
626
|
+
|
|
615
627
|
sig { returns(T.nilable(Orb::Address)) }
|
|
616
628
|
attr_reader :shipping_address
|
|
617
629
|
|
|
@@ -697,6 +709,8 @@ module Orb
|
|
|
697
709
|
payment_received_at: T.nilable(Time),
|
|
698
710
|
payment_started_at: T.nilable(Time),
|
|
699
711
|
scheduled_issue_at: T.nilable(Time),
|
|
712
|
+
service_period_end: T.nilable(Time),
|
|
713
|
+
service_period_start: T.nilable(Time),
|
|
700
714
|
shipping_address: T.nilable(Orb::Address::OrHash),
|
|
701
715
|
status:
|
|
702
716
|
Orb::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent::Invoice::Status::OrSymbol,
|
|
@@ -927,6 +941,14 @@ module Orb
|
|
|
927
941
|
# If the invoice is in draft, this timestamp will reflect when the invoice is
|
|
928
942
|
# scheduled to be issued.
|
|
929
943
|
scheduled_issue_at:,
|
|
944
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
945
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
946
|
+
# line items.
|
|
947
|
+
service_period_end:,
|
|
948
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
949
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
950
|
+
# line items.
|
|
951
|
+
service_period_start:,
|
|
930
952
|
shipping_address:,
|
|
931
953
|
status:,
|
|
932
954
|
subscription:,
|
|
@@ -986,6 +1008,8 @@ module Orb
|
|
|
986
1008
|
payment_received_at: T.nilable(Time),
|
|
987
1009
|
payment_started_at: T.nilable(Time),
|
|
988
1010
|
scheduled_issue_at: T.nilable(Time),
|
|
1011
|
+
service_period_end: T.nilable(Time),
|
|
1012
|
+
service_period_start: T.nilable(Time),
|
|
989
1013
|
shipping_address: T.nilable(Orb::Address),
|
|
990
1014
|
status:
|
|
991
1015
|
Orb::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent::Invoice::Status::TaggedSymbol,
|