orb-billing 1.49.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 +7 -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/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/resources/customers/credits.rb +76 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +4 -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/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/resources/customers/credits.rbi +60 -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/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/resources/customers/credits.rbs +12 -0
- metadata +13 -1
|
@@ -395,6 +395,22 @@ module Orb
|
|
|
395
395
|
# @return [Time, nil]
|
|
396
396
|
required :scheduled_issue_at, Time, nil?: true
|
|
397
397
|
|
|
398
|
+
# @!attribute service_period_end
|
|
399
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
400
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
401
|
+
# line items.
|
|
402
|
+
#
|
|
403
|
+
# @return [Time, nil]
|
|
404
|
+
required :service_period_end, Time, nil?: true
|
|
405
|
+
|
|
406
|
+
# @!attribute service_period_start
|
|
407
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
408
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
409
|
+
# line items.
|
|
410
|
+
#
|
|
411
|
+
# @return [Time, nil]
|
|
412
|
+
required :service_period_start, Time, nil?: true
|
|
413
|
+
|
|
398
414
|
# @!attribute shipping_address
|
|
399
415
|
#
|
|
400
416
|
# @return [Orb::Models::Address, nil]
|
|
@@ -439,7 +455,7 @@ module Orb
|
|
|
439
455
|
# @return [Boolean]
|
|
440
456
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
441
457
|
|
|
442
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
458
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
443
459
|
# Some parameter documentations has been truncated, see
|
|
444
460
|
# {Orb::Models::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice}
|
|
445
461
|
# for more details.
|
|
@@ -501,6 +517,10 @@ module Orb
|
|
|
501
517
|
#
|
|
502
518
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
503
519
|
#
|
|
520
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
521
|
+
#
|
|
522
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
523
|
+
#
|
|
504
524
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
505
525
|
#
|
|
506
526
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::Status]
|
|
@@ -395,6 +395,22 @@ module Orb
|
|
|
395
395
|
# @return [Time, nil]
|
|
396
396
|
required :scheduled_issue_at, Time, nil?: true
|
|
397
397
|
|
|
398
|
+
# @!attribute service_period_end
|
|
399
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
400
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
401
|
+
# line items.
|
|
402
|
+
#
|
|
403
|
+
# @return [Time, nil]
|
|
404
|
+
required :service_period_end, Time, nil?: true
|
|
405
|
+
|
|
406
|
+
# @!attribute service_period_start
|
|
407
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
408
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
409
|
+
# line items.
|
|
410
|
+
#
|
|
411
|
+
# @return [Time, nil]
|
|
412
|
+
required :service_period_start, Time, nil?: true
|
|
413
|
+
|
|
398
414
|
# @!attribute shipping_address
|
|
399
415
|
#
|
|
400
416
|
# @return [Orb::Models::Address, nil]
|
|
@@ -439,7 +455,7 @@ module Orb
|
|
|
439
455
|
# @return [Boolean]
|
|
440
456
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
441
457
|
|
|
442
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
458
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
443
459
|
# Some parameter documentations has been truncated, see
|
|
444
460
|
# {Orb::Models::Webhooks::InvoiceDunningScheduleResetStandardWebhookEvent::Invoice}
|
|
445
461
|
# for more details.
|
|
@@ -501,6 +517,10 @@ module Orb
|
|
|
501
517
|
#
|
|
502
518
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
503
519
|
#
|
|
520
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
521
|
+
#
|
|
522
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
523
|
+
#
|
|
504
524
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
505
525
|
#
|
|
506
526
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceDunningScheduleResetStandardWebhookEvent::Invoice::Status]
|
data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb
CHANGED
|
@@ -396,6 +396,22 @@ module Orb
|
|
|
396
396
|
# @return [Time, nil]
|
|
397
397
|
required :scheduled_issue_at, Time, nil?: true
|
|
398
398
|
|
|
399
|
+
# @!attribute service_period_end
|
|
400
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
401
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
402
|
+
# line items.
|
|
403
|
+
#
|
|
404
|
+
# @return [Time, nil]
|
|
405
|
+
required :service_period_end, Time, nil?: true
|
|
406
|
+
|
|
407
|
+
# @!attribute service_period_start
|
|
408
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
409
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
410
|
+
# line items.
|
|
411
|
+
#
|
|
412
|
+
# @return [Time, nil]
|
|
413
|
+
required :service_period_start, Time, nil?: true
|
|
414
|
+
|
|
399
415
|
# @!attribute shipping_address
|
|
400
416
|
#
|
|
401
417
|
# @return [Orb::Models::Address, nil]
|
|
@@ -440,7 +456,7 @@ module Orb
|
|
|
440
456
|
# @return [Boolean]
|
|
441
457
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
442
458
|
|
|
443
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
459
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
444
460
|
# Some parameter documentations has been truncated, see
|
|
445
461
|
# {Orb::Models::Webhooks::InvoiceDunningScheduleStepExecutedStandardWebhookEvent::Invoice}
|
|
446
462
|
# for more details.
|
|
@@ -502,6 +518,10 @@ module Orb
|
|
|
502
518
|
#
|
|
503
519
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
504
520
|
#
|
|
521
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
522
|
+
#
|
|
523
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
524
|
+
#
|
|
505
525
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
506
526
|
#
|
|
507
527
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceDunningScheduleStepExecutedStandardWebhookEvent::Invoice::Status]
|
|
@@ -393,6 +393,22 @@ module Orb
|
|
|
393
393
|
# @return [Time, nil]
|
|
394
394
|
required :scheduled_issue_at, Time, nil?: true
|
|
395
395
|
|
|
396
|
+
# @!attribute service_period_end
|
|
397
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
398
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
399
|
+
# line items.
|
|
400
|
+
#
|
|
401
|
+
# @return [Time, nil]
|
|
402
|
+
required :service_period_end, Time, nil?: true
|
|
403
|
+
|
|
404
|
+
# @!attribute service_period_start
|
|
405
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
406
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
407
|
+
# line items.
|
|
408
|
+
#
|
|
409
|
+
# @return [Time, nil]
|
|
410
|
+
required :service_period_start, Time, nil?: true
|
|
411
|
+
|
|
396
412
|
# @!attribute shipping_address
|
|
397
413
|
#
|
|
398
414
|
# @return [Orb::Models::Address, nil]
|
|
@@ -436,7 +452,7 @@ module Orb
|
|
|
436
452
|
# @return [Boolean]
|
|
437
453
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
438
454
|
|
|
439
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
455
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
440
456
|
# Some parameter documentations has been truncated, see
|
|
441
457
|
# {Orb::Models::Webhooks::InvoiceEditedStandardWebhookEvent::Invoice} for more
|
|
442
458
|
# details.
|
|
@@ -498,6 +514,10 @@ module Orb
|
|
|
498
514
|
#
|
|
499
515
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
500
516
|
#
|
|
517
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
518
|
+
#
|
|
519
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
520
|
+
#
|
|
501
521
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
502
522
|
#
|
|
503
523
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceEditedStandardWebhookEvent::Invoice::Status]
|
|
@@ -394,6 +394,22 @@ module Orb
|
|
|
394
394
|
# @return [Time, nil]
|
|
395
395
|
required :scheduled_issue_at, Time, nil?: true
|
|
396
396
|
|
|
397
|
+
# @!attribute service_period_end
|
|
398
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
399
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
400
|
+
# line items.
|
|
401
|
+
#
|
|
402
|
+
# @return [Time, nil]
|
|
403
|
+
required :service_period_end, Time, nil?: true
|
|
404
|
+
|
|
405
|
+
# @!attribute service_period_start
|
|
406
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
407
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
408
|
+
# line items.
|
|
409
|
+
#
|
|
410
|
+
# @return [Time, nil]
|
|
411
|
+
required :service_period_start, Time, nil?: true
|
|
412
|
+
|
|
397
413
|
# @!attribute shipping_address
|
|
398
414
|
#
|
|
399
415
|
# @return [Orb::Models::Address, nil]
|
|
@@ -437,7 +453,7 @@ module Orb
|
|
|
437
453
|
# @return [Boolean]
|
|
438
454
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
439
455
|
|
|
440
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
456
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
441
457
|
# Some parameter documentations has been truncated, see
|
|
442
458
|
# {Orb::Models::Webhooks::InvoiceIssueFailedStandardWebhookEvent::Invoice} for
|
|
443
459
|
# more details.
|
|
@@ -499,6 +515,10 @@ module Orb
|
|
|
499
515
|
#
|
|
500
516
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
501
517
|
#
|
|
518
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
519
|
+
#
|
|
520
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
521
|
+
#
|
|
502
522
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
503
523
|
#
|
|
504
524
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceIssueFailedStandardWebhookEvent::Invoice::Status]
|
|
@@ -393,6 +393,22 @@ module Orb
|
|
|
393
393
|
# @return [Time, nil]
|
|
394
394
|
required :scheduled_issue_at, Time, nil?: true
|
|
395
395
|
|
|
396
|
+
# @!attribute service_period_end
|
|
397
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
398
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
399
|
+
# line items.
|
|
400
|
+
#
|
|
401
|
+
# @return [Time, nil]
|
|
402
|
+
required :service_period_end, Time, nil?: true
|
|
403
|
+
|
|
404
|
+
# @!attribute service_period_start
|
|
405
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
406
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
407
|
+
# line items.
|
|
408
|
+
#
|
|
409
|
+
# @return [Time, nil]
|
|
410
|
+
required :service_period_start, Time, nil?: true
|
|
411
|
+
|
|
396
412
|
# @!attribute shipping_address
|
|
397
413
|
#
|
|
398
414
|
# @return [Orb::Models::Address, nil]
|
|
@@ -436,7 +452,7 @@ module Orb
|
|
|
436
452
|
# @return [Boolean]
|
|
437
453
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
438
454
|
|
|
439
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
455
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
440
456
|
# Some parameter documentations has been truncated, see
|
|
441
457
|
# {Orb::Models::Webhooks::InvoiceIssuedStandardWebhookEvent::Invoice} for more
|
|
442
458
|
# details.
|
|
@@ -498,6 +514,10 @@ module Orb
|
|
|
498
514
|
#
|
|
499
515
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
500
516
|
#
|
|
517
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
518
|
+
#
|
|
519
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
520
|
+
#
|
|
501
521
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
502
522
|
#
|
|
503
523
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceIssuedStandardWebhookEvent::Invoice::Status]
|
|
@@ -396,6 +396,22 @@ module Orb
|
|
|
396
396
|
# @return [Time, nil]
|
|
397
397
|
required :scheduled_issue_at, Time, nil?: true
|
|
398
398
|
|
|
399
|
+
# @!attribute service_period_end
|
|
400
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
401
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
402
|
+
# line items.
|
|
403
|
+
#
|
|
404
|
+
# @return [Time, nil]
|
|
405
|
+
required :service_period_end, Time, nil?: true
|
|
406
|
+
|
|
407
|
+
# @!attribute service_period_start
|
|
408
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
409
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
410
|
+
# line items.
|
|
411
|
+
#
|
|
412
|
+
# @return [Time, nil]
|
|
413
|
+
required :service_period_start, Time, nil?: true
|
|
414
|
+
|
|
399
415
|
# @!attribute shipping_address
|
|
400
416
|
#
|
|
401
417
|
# @return [Orb::Models::Address, nil]
|
|
@@ -439,7 +455,7 @@ module Orb
|
|
|
439
455
|
# @return [Boolean]
|
|
440
456
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
441
457
|
|
|
442
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
458
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
443
459
|
# Some parameter documentations has been truncated, see
|
|
444
460
|
# {Orb::Models::Webhooks::InvoiceIssuedSummaryStandardWebhookEvent::Invoice} for
|
|
445
461
|
# more details.
|
|
@@ -501,6 +517,10 @@ module Orb
|
|
|
501
517
|
#
|
|
502
518
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
503
519
|
#
|
|
520
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
521
|
+
#
|
|
522
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
523
|
+
#
|
|
504
524
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
505
525
|
#
|
|
506
526
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceIssuedSummaryStandardWebhookEvent::Invoice::Status]
|
|
@@ -395,6 +395,22 @@ module Orb
|
|
|
395
395
|
# @return [Time, nil]
|
|
396
396
|
required :scheduled_issue_at, Time, nil?: true
|
|
397
397
|
|
|
398
|
+
# @!attribute service_period_end
|
|
399
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
400
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
401
|
+
# line items.
|
|
402
|
+
#
|
|
403
|
+
# @return [Time, nil]
|
|
404
|
+
required :service_period_end, Time, nil?: true
|
|
405
|
+
|
|
406
|
+
# @!attribute service_period_start
|
|
407
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
408
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
409
|
+
# line items.
|
|
410
|
+
#
|
|
411
|
+
# @return [Time, nil]
|
|
412
|
+
required :service_period_start, Time, nil?: true
|
|
413
|
+
|
|
398
414
|
# @!attribute shipping_address
|
|
399
415
|
#
|
|
400
416
|
# @return [Orb::Models::Address, nil]
|
|
@@ -439,7 +455,7 @@ module Orb
|
|
|
439
455
|
# @return [Boolean]
|
|
440
456
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
441
457
|
|
|
442
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
458
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
443
459
|
# Some parameter documentations has been truncated, see
|
|
444
460
|
# {Orb::Models::Webhooks::InvoiceManuallyMarkedAsPaidStandardWebhookEvent::Invoice}
|
|
445
461
|
# for more details.
|
|
@@ -501,6 +517,10 @@ module Orb
|
|
|
501
517
|
#
|
|
502
518
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
503
519
|
#
|
|
520
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
521
|
+
#
|
|
522
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
523
|
+
#
|
|
504
524
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
505
525
|
#
|
|
506
526
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceManuallyMarkedAsPaidStandardWebhookEvent::Invoice::Status]
|
|
@@ -395,6 +395,22 @@ module Orb
|
|
|
395
395
|
# @return [Time, nil]
|
|
396
396
|
required :scheduled_issue_at, Time, nil?: true
|
|
397
397
|
|
|
398
|
+
# @!attribute service_period_end
|
|
399
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
400
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
401
|
+
# line items.
|
|
402
|
+
#
|
|
403
|
+
# @return [Time, nil]
|
|
404
|
+
required :service_period_end, Time, nil?: true
|
|
405
|
+
|
|
406
|
+
# @!attribute service_period_start
|
|
407
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
408
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
409
|
+
# line items.
|
|
410
|
+
#
|
|
411
|
+
# @return [Time, nil]
|
|
412
|
+
required :service_period_start, Time, nil?: true
|
|
413
|
+
|
|
398
414
|
# @!attribute shipping_address
|
|
399
415
|
#
|
|
400
416
|
# @return [Orb::Models::Address, nil]
|
|
@@ -439,7 +455,7 @@ module Orb
|
|
|
439
455
|
# @return [Boolean]
|
|
440
456
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
441
457
|
|
|
442
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
458
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
443
459
|
# Some parameter documentations has been truncated, see
|
|
444
460
|
# {Orb::Models::Webhooks::InvoiceManuallyMarkedAsVoidStandardWebhookEvent::Invoice}
|
|
445
461
|
# for more details.
|
|
@@ -501,6 +517,10 @@ module Orb
|
|
|
501
517
|
#
|
|
502
518
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
503
519
|
#
|
|
520
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
521
|
+
#
|
|
522
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
523
|
+
#
|
|
504
524
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
505
525
|
#
|
|
506
526
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceManuallyMarkedAsVoidStandardWebhookEvent::Invoice::Status]
|
|
@@ -396,6 +396,22 @@ module Orb
|
|
|
396
396
|
# @return [Time, nil]
|
|
397
397
|
required :scheduled_issue_at, Time, nil?: true
|
|
398
398
|
|
|
399
|
+
# @!attribute service_period_end
|
|
400
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
401
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
402
|
+
# line items.
|
|
403
|
+
#
|
|
404
|
+
# @return [Time, nil]
|
|
405
|
+
required :service_period_end, Time, nil?: true
|
|
406
|
+
|
|
407
|
+
# @!attribute service_period_start
|
|
408
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
409
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
410
|
+
# line items.
|
|
411
|
+
#
|
|
412
|
+
# @return [Time, nil]
|
|
413
|
+
required :service_period_start, Time, nil?: true
|
|
414
|
+
|
|
399
415
|
# @!attribute shipping_address
|
|
400
416
|
#
|
|
401
417
|
# @return [Orb::Models::Address, nil]
|
|
@@ -439,7 +455,7 @@ module Orb
|
|
|
439
455
|
# @return [Boolean]
|
|
440
456
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
441
457
|
|
|
442
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
458
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
443
459
|
# Some parameter documentations has been truncated, see
|
|
444
460
|
# {Orb::Models::Webhooks::InvoicePaymentFailedStandardWebhookEvent::Invoice} for
|
|
445
461
|
# more details.
|
|
@@ -501,6 +517,10 @@ module Orb
|
|
|
501
517
|
#
|
|
502
518
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
503
519
|
#
|
|
520
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
521
|
+
#
|
|
522
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
523
|
+
#
|
|
504
524
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
505
525
|
#
|
|
506
526
|
# @param status [Symbol, Orb::Models::Webhooks::InvoicePaymentFailedStandardWebhookEvent::Invoice::Status]
|
|
@@ -395,6 +395,22 @@ module Orb
|
|
|
395
395
|
# @return [Time, nil]
|
|
396
396
|
required :scheduled_issue_at, Time, nil?: true
|
|
397
397
|
|
|
398
|
+
# @!attribute service_period_end
|
|
399
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
400
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
401
|
+
# line items.
|
|
402
|
+
#
|
|
403
|
+
# @return [Time, nil]
|
|
404
|
+
required :service_period_end, Time, nil?: true
|
|
405
|
+
|
|
406
|
+
# @!attribute service_period_start
|
|
407
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
408
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
409
|
+
# line items.
|
|
410
|
+
#
|
|
411
|
+
# @return [Time, nil]
|
|
412
|
+
required :service_period_start, Time, nil?: true
|
|
413
|
+
|
|
398
414
|
# @!attribute shipping_address
|
|
399
415
|
#
|
|
400
416
|
# @return [Orb::Models::Address, nil]
|
|
@@ -439,7 +455,7 @@ module Orb
|
|
|
439
455
|
# @return [Boolean]
|
|
440
456
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
441
457
|
|
|
442
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
458
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
443
459
|
# Some parameter documentations has been truncated, see
|
|
444
460
|
# {Orb::Models::Webhooks::InvoicePaymentProcessingStandardWebhookEvent::Invoice}
|
|
445
461
|
# for more details.
|
|
@@ -501,6 +517,10 @@ module Orb
|
|
|
501
517
|
#
|
|
502
518
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
503
519
|
#
|
|
520
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
521
|
+
#
|
|
522
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
523
|
+
#
|
|
504
524
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
505
525
|
#
|
|
506
526
|
# @param status [Symbol, Orb::Models::Webhooks::InvoicePaymentProcessingStandardWebhookEvent::Invoice::Status]
|
|
@@ -397,6 +397,22 @@ module Orb
|
|
|
397
397
|
# @return [Time, nil]
|
|
398
398
|
required :scheduled_issue_at, Time, nil?: true
|
|
399
399
|
|
|
400
|
+
# @!attribute service_period_end
|
|
401
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
402
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
403
|
+
# line items.
|
|
404
|
+
#
|
|
405
|
+
# @return [Time, nil]
|
|
406
|
+
required :service_period_end, Time, nil?: true
|
|
407
|
+
|
|
408
|
+
# @!attribute service_period_start
|
|
409
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
410
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
411
|
+
# line items.
|
|
412
|
+
#
|
|
413
|
+
# @return [Time, nil]
|
|
414
|
+
required :service_period_start, Time, nil?: true
|
|
415
|
+
|
|
400
416
|
# @!attribute shipping_address
|
|
401
417
|
#
|
|
402
418
|
# @return [Orb::Models::Address, nil]
|
|
@@ -440,7 +456,7 @@ module Orb
|
|
|
440
456
|
# @return [Boolean]
|
|
441
457
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
442
458
|
|
|
443
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
459
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
444
460
|
# Some parameter documentations has been truncated, see
|
|
445
461
|
# {Orb::Models::Webhooks::InvoicePaymentSucceededStandardWebhookEvent::Invoice}
|
|
446
462
|
# for more details.
|
|
@@ -502,6 +518,10 @@ module Orb
|
|
|
502
518
|
#
|
|
503
519
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
504
520
|
#
|
|
521
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
522
|
+
#
|
|
523
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
524
|
+
#
|
|
505
525
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
506
526
|
#
|
|
507
527
|
# @param status [Symbol, Orb::Models::Webhooks::InvoicePaymentSucceededStandardWebhookEvent::Invoice::Status]
|
|
@@ -393,6 +393,22 @@ module Orb
|
|
|
393
393
|
# @return [Time, nil]
|
|
394
394
|
required :scheduled_issue_at, Time, nil?: true
|
|
395
395
|
|
|
396
|
+
# @!attribute service_period_end
|
|
397
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
398
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
399
|
+
# line items.
|
|
400
|
+
#
|
|
401
|
+
# @return [Time, nil]
|
|
402
|
+
required :service_period_end, Time, nil?: true
|
|
403
|
+
|
|
404
|
+
# @!attribute service_period_start
|
|
405
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
406
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
407
|
+
# line items.
|
|
408
|
+
#
|
|
409
|
+
# @return [Time, nil]
|
|
410
|
+
required :service_period_start, Time, nil?: true
|
|
411
|
+
|
|
396
412
|
# @!attribute shipping_address
|
|
397
413
|
#
|
|
398
414
|
# @return [Orb::Models::Address, nil]
|
|
@@ -436,7 +452,7 @@ module Orb
|
|
|
436
452
|
# @return [Boolean]
|
|
437
453
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
438
454
|
|
|
439
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
455
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
440
456
|
# Some parameter documentations has been truncated, see
|
|
441
457
|
# {Orb::Models::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice} for more
|
|
442
458
|
# details.
|
|
@@ -498,6 +514,10 @@ module Orb
|
|
|
498
514
|
#
|
|
499
515
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
500
516
|
#
|
|
517
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
518
|
+
#
|
|
519
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
520
|
+
#
|
|
501
521
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
502
522
|
#
|
|
503
523
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice::Status]
|
|
@@ -395,6 +395,22 @@ module Orb
|
|
|
395
395
|
# @return [Time, nil]
|
|
396
396
|
required :scheduled_issue_at, Time, nil?: true
|
|
397
397
|
|
|
398
|
+
# @!attribute service_period_end
|
|
399
|
+
# The latest `end_date` of the invoice's line items, including any line items
|
|
400
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
401
|
+
# line items.
|
|
402
|
+
#
|
|
403
|
+
# @return [Time, nil]
|
|
404
|
+
required :service_period_end, Time, nil?: true
|
|
405
|
+
|
|
406
|
+
# @!attribute service_period_start
|
|
407
|
+
# The earliest `start_date` of the invoice's line items, including any line items
|
|
408
|
+
# hidden because they have zero quantity. This is `null` when the invoice has no
|
|
409
|
+
# line items.
|
|
410
|
+
#
|
|
411
|
+
# @return [Time, nil]
|
|
412
|
+
required :service_period_start, Time, nil?: true
|
|
413
|
+
|
|
398
414
|
# @!attribute shipping_address
|
|
399
415
|
#
|
|
400
416
|
# @return [Orb::Models::Address, nil]
|
|
@@ -438,7 +454,7 @@ module Orb
|
|
|
438
454
|
# @return [Boolean]
|
|
439
455
|
required :will_auto_issue, Orb::Internal::Type::Boolean
|
|
440
456
|
|
|
441
|
-
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
457
|
+
# @!method initialize(id:, amount_due:, auto_collection:, billing_address:, created_at:, credit_notes:, currency:, customer:, customer_balance_transactions:, customer_tax_id:, due_date:, eligible_to_issue_at:, hosted_invoice_url:, invoice_date:, invoice_number:, invoice_pdf:, invoice_source:, issue_failed_at:, issued_at:, memo:, metadata:, paid_at:, payment_attempts:, payment_failed_at:, payment_received_at:, payment_started_at:, scheduled_issue_at:, service_period_end:, service_period_start:, shipping_address:, status:, subscription:, sync_failed_at:, total:, voided_at:, will_auto_issue:)
|
|
442
458
|
# Some parameter documentations has been truncated, see
|
|
443
459
|
# {Orb::Models::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice} for
|
|
444
460
|
# more details.
|
|
@@ -500,6 +516,10 @@ module Orb
|
|
|
500
516
|
#
|
|
501
517
|
# @param scheduled_issue_at [Time, nil] If the invoice is in draft, this timestamp will reflect when the invoice is sche
|
|
502
518
|
#
|
|
519
|
+
# @param service_period_end [Time, nil] The latest `end_date` of the invoice's line items, including any line items hidd
|
|
520
|
+
#
|
|
521
|
+
# @param service_period_start [Time, nil] The earliest `start_date` of the invoice's line items, including any line items
|
|
522
|
+
#
|
|
503
523
|
# @param shipping_address [Orb::Models::Address, nil]
|
|
504
524
|
#
|
|
505
525
|
# @param status [Symbol, Orb::Models::Webhooks::InvoiceSyncSucceededStandardWebhookEvent::Invoice::Status]
|