orb-billing 0.5.5 → 0.7.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 +26 -0
- data/README.md +1 -1
- data/lib/orb/client.rb +4 -0
- data/lib/orb/internal/type/base_model.rb +2 -2
- data/lib/orb/internal/type/union.rb +6 -6
- data/lib/orb/models/alert.rb +33 -1
- data/lib/orb/models/amount_discount.rb +10 -10
- data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +17940 -0
- data/lib/orb/models/beta/external_plan_id_fetch_plan_version_params.rb +22 -0
- data/lib/orb/models/beta/external_plan_id_set_default_plan_version_params.rb +24 -0
- data/lib/orb/models/beta_create_plan_version_params.rb +17758 -0
- data/lib/orb/models/beta_fetch_plan_version_params.rb +20 -0
- data/lib/orb/models/beta_set_default_plan_version_params.rb +22 -0
- data/lib/orb/models/credit_note_create_params.rb +9 -9
- data/lib/orb/models/customer_create_params.rb +21 -3
- data/lib/orb/models/customer_update_by_external_id_params.rb +21 -3
- data/lib/orb/models/customer_update_params.rb +21 -3
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +9 -1
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +9 -1
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +9 -1
- data/lib/orb/models/customers/credits/ledger_list_response.rb +9 -1
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +1 -1
- data/lib/orb/models/customers/credits/top_up_create_params.rb +1 -1
- data/lib/orb/models/invoice.rb +626 -9
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +624 -9
- data/lib/orb/models/invoice_line_item_create_response.rb +486 -7
- data/lib/orb/models/item.rb +18 -1
- data/lib/orb/models/item_archive_params.rb +14 -0
- data/lib/orb/models/item_create_params.rb +14 -1
- data/lib/orb/models/item_update_params.rb +16 -1
- data/lib/orb/models/percentage_discount.rb +10 -10
- data/lib/orb/models/plan.rb +618 -9
- data/lib/orb/models/plan_create_params.rb +2066 -30
- data/lib/orb/models/plan_version.rb +735 -0
- data/lib/orb/models/plan_version_phase.rb +70 -0
- data/lib/orb/models/price.rb +4124 -70
- data/lib/orb/models/price_create_params.rb +45 -1
- data/lib/orb/models/price_evaluate_multiple_params.rb +8620 -0
- data/lib/orb/models/price_evaluate_multiple_response.rb +51 -0
- data/lib/orb/models/subscription.rb +730 -54
- data/lib/orb/models/subscription_cancel_response.rb +706 -54
- data/lib/orb/models/subscription_change_apply_response.rb +728 -54
- data/lib/orb/models/subscription_change_cancel_response.rb +728 -54
- data/lib/orb/models/subscription_change_retrieve_response.rb +728 -54
- data/lib/orb/models/subscription_create_params.rb +5992 -1698
- data/lib/orb/models/subscription_create_response.rb +706 -54
- data/lib/orb/models/subscription_fetch_schedule_response.rb +3 -3
- data/lib/orb/models/subscription_price_intervals_params.rb +1392 -76
- data/lib/orb/models/subscription_price_intervals_response.rb +712 -54
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +6005 -1723
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +716 -54
- data/lib/orb/models/subscription_trigger_phase_response.rb +708 -54
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +720 -54
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +728 -54
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +728 -54
- data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +1 -1
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +720 -54
- data/lib/orb/models/subscription_update_trial_response.rb +706 -54
- data/lib/orb/models/trial_discount.rb +10 -10
- data/lib/orb/models/usage_discount.rb +10 -10
- data/lib/orb/models.rb +16 -0
- data/lib/orb/resources/beta/external_plan_id.rb +113 -0
- data/lib/orb/resources/beta.rb +115 -0
- data/lib/orb/resources/credit_notes.rb +3 -3
- data/lib/orb/resources/customers/balance_transactions.rb +0 -7
- data/lib/orb/resources/customers.rb +4 -7
- data/lib/orb/resources/dimensional_price_groups.rb +1 -1
- data/lib/orb/resources/items.rb +34 -2
- data/lib/orb/resources/plans/external_plan_id.rb +1 -1
- data/lib/orb/resources/plans.rb +2 -2
- data/lib/orb/resources/prices.rb +69 -2
- data/lib/orb/resources/subscriptions.rb +5 -1
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +13 -0
- data/rbi/orb/client.rbi +3 -0
- data/rbi/orb/models/alert.rbi +50 -3
- data/rbi/orb/models/amount_discount.rbi +8 -8
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +32652 -0
- data/rbi/orb/models/beta/external_plan_id_fetch_plan_version_params.rbi +40 -0
- data/rbi/orb/models/beta/external_plan_id_set_default_plan_version_params.rbi +45 -0
- data/rbi/orb/models/beta_create_plan_version_params.rbi +32595 -0
- data/rbi/orb/models/beta_fetch_plan_version_params.rbi +35 -0
- data/rbi/orb/models/beta_set_default_plan_version_params.rbi +40 -0
- data/rbi/orb/models/credit_note_create_params.rbi +8 -8
- data/rbi/orb/models/customer_create_params.rbi +38 -4
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +38 -4
- data/rbi/orb/models/customer_update_params.rbi +38 -4
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +9 -1
- data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +9 -1
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +9 -1
- data/rbi/orb/models/customers/credits/ledger_list_response.rbi +9 -1
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +2 -2
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +2 -2
- data/rbi/orb/models/invoice.rbi +1451 -35
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +1524 -4
- data/rbi/orb/models/invoice_line_item_create_response.rbi +1184 -2
- data/rbi/orb/models/item.rbi +20 -1
- data/rbi/orb/models/item_archive_params.rbi +25 -0
- data/rbi/orb/models/item_create_params.rbi +18 -1
- data/rbi/orb/models/item_update_params.rbi +17 -1
- data/rbi/orb/models/percentage_discount.rbi +10 -10
- data/rbi/orb/models/plan.rbi +1339 -4
- data/rbi/orb/models/plan_create_params.rbi +3833 -29
- data/rbi/orb/models/plan_version.rbi +1367 -0
- data/rbi/orb/models/plan_version_phase.rbi +99 -0
- data/rbi/orb/models/price.rbi +9447 -441
- data/rbi/orb/models/price_create_params.rbi +80 -0
- data/rbi/orb/models/price_evaluate_multiple_params.rbi +15764 -0
- data/rbi/orb/models/price_evaluate_multiple_response.rbi +96 -0
- data/rbi/orb/models/subscription.rbi +1654 -44
- data/rbi/orb/models/subscription_cancel_response.rbi +1692 -44
- data/rbi/orb/models/subscription_change_apply_response.rbi +1692 -44
- data/rbi/orb/models/subscription_change_cancel_response.rbi +1692 -44
- data/rbi/orb/models/subscription_change_retrieve_response.rbi +1692 -44
- data/rbi/orb/models/subscription_create_params.rbi +10400 -2710
- data/rbi/orb/models/subscription_create_response.rbi +1692 -44
- data/rbi/orb/models/subscription_fetch_schedule_response.rbi +13 -4
- data/rbi/orb/models/subscription_price_intervals_params.rbi +2401 -49
- data/rbi/orb/models/subscription_price_intervals_response.rbi +1692 -44
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +10423 -2753
- data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +1692 -44
- data/rbi/orb/models/subscription_trigger_phase_response.rbi +1692 -44
- data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +1692 -44
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +1692 -44
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +1692 -44
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_params.rbi +2 -2
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +1692 -44
- data/rbi/orb/models/subscription_update_trial_response.rbi +1692 -44
- data/rbi/orb/models/trial_discount.rbi +8 -8
- data/rbi/orb/models/usage_discount.rbi +10 -10
- data/rbi/orb/models.rbi +16 -0
- data/rbi/orb/resources/beta/external_plan_id.rbi +118 -0
- data/rbi/orb/resources/beta.rbi +111 -0
- data/rbi/orb/resources/credit_notes.rbi +3 -3
- data/rbi/orb/resources/customers/balance_transactions.rbi +0 -7
- data/rbi/orb/resources/customers/credits/top_ups.rbi +2 -2
- data/rbi/orb/resources/customers.rbi +7 -7
- data/rbi/orb/resources/dimensional_price_groups.rbi +1 -1
- data/rbi/orb/resources/items.rbi +20 -0
- data/rbi/orb/resources/plans/external_plan_id.rbi +1 -1
- data/rbi/orb/resources/plans.rbi +5 -2
- data/rbi/orb/resources/prices.rbi +73 -1
- data/rbi/orb/resources/subscriptions.rbi +9 -1
- data/sig/orb/client.rbs +2 -0
- data/sig/orb/models/alert.rbs +20 -3
- data/sig/orb/models/amount_discount.rbs +5 -5
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +12898 -0
- data/sig/orb/models/beta/external_plan_id_fetch_plan_version_params.rbs +25 -0
- data/sig/orb/models/beta/external_plan_id_set_default_plan_version_params.rbs +25 -0
- data/sig/orb/models/beta_create_plan_version_params.rbs +12877 -0
- data/sig/orb/models/beta_fetch_plan_version_params.rbs +20 -0
- data/sig/orb/models/beta_set_default_plan_version_params.rbs +20 -0
- data/sig/orb/models/credit_note_create_params.rbs +6 -6
- data/sig/orb/models/customer_create_params.rbs +13 -0
- data/sig/orb/models/customer_update_by_external_id_params.rbs +13 -0
- data/sig/orb/models/customer_update_params.rbs +13 -0
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +7 -2
- data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +7 -2
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +7 -2
- data/sig/orb/models/customers/credits/ledger_list_response.rbs +7 -2
- data/sig/orb/models/invoice.rbs +558 -4
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +558 -4
- data/sig/orb/models/invoice_line_item_create_response.rbs +414 -2
- data/sig/orb/models/item.rbs +5 -0
- data/sig/orb/models/item_archive_params.rbs +14 -0
- data/sig/orb/models/item_create_params.rbs +10 -2
- data/sig/orb/models/item_update_params.rbs +5 -0
- data/sig/orb/models/percentage_discount.rbs +5 -5
- data/sig/orb/models/plan.rbs +538 -4
- data/sig/orb/models/plan_create_params.rbs +1460 -3
- data/sig/orb/models/plan_version.rbs +583 -0
- data/sig/orb/models/plan_version_phase.rbs +60 -0
- data/sig/orb/models/price.rbs +3512 -96
- data/sig/orb/models/price_create_params.rbs +32 -0
- data/sig/orb/models/price_evaluate_multiple_params.rbs +6230 -0
- data/sig/orb/models/price_evaluate_multiple_response.rbs +50 -0
- data/sig/orb/models/subscription.rbs +609 -29
- data/sig/orb/models/subscription_cancel_response.rbs +609 -29
- data/sig/orb/models/subscription_change_apply_response.rbs +621 -29
- data/sig/orb/models/subscription_change_cancel_response.rbs +621 -29
- data/sig/orb/models/subscription_change_retrieve_response.rbs +621 -29
- data/sig/orb/models/subscription_create_params.rbs +4450 -1466
- data/sig/orb/models/subscription_create_response.rbs +609 -29
- data/sig/orb/models/subscription_fetch_schedule_response.rbs +4 -4
- data/sig/orb/models/subscription_price_intervals_params.rbs +920 -24
- data/sig/orb/models/subscription_price_intervals_response.rbs +609 -29
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +4440 -1466
- data/sig/orb/models/subscription_schedule_plan_change_response.rbs +609 -29
- data/sig/orb/models/subscription_trigger_phase_response.rbs +609 -29
- data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +609 -29
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +609 -29
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +609 -29
- data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +609 -29
- data/sig/orb/models/subscription_update_trial_response.rbs +609 -29
- data/sig/orb/models/trial_discount.rbs +5 -5
- data/sig/orb/models/usage_discount.rbs +5 -5
- data/sig/orb/models.rbs +16 -0
- data/sig/orb/resources/beta/external_plan_id.rbs +34 -0
- data/sig/orb/resources/beta.rbs +34 -0
- data/sig/orb/resources/credit_notes.rbs +1 -1
- data/sig/orb/resources/items.rbs +7 -0
- data/sig/orb/resources/prices.rbs +11 -0
- data/sig/orb/resources/subscriptions.rbs +2 -0
- metadata +40 -1
@@ -0,0 +1,20 @@
|
|
1
|
+
module Orb
|
2
|
+
module Models
|
3
|
+
type beta_fetch_plan_version_params =
|
4
|
+
{ plan_id: String } & Orb::Internal::Type::request_parameters
|
5
|
+
|
6
|
+
class BetaFetchPlanVersionParams < Orb::Internal::Type::BaseModel
|
7
|
+
extend Orb::Internal::Type::RequestParameters::Converter
|
8
|
+
include Orb::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
attr_accessor plan_id: String
|
11
|
+
|
12
|
+
def initialize: (
|
13
|
+
plan_id: String,
|
14
|
+
?request_options: Orb::request_opts
|
15
|
+
) -> void
|
16
|
+
|
17
|
+
def to_hash: -> { plan_id: String, request_options: Orb::RequestOptions }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Orb
|
2
|
+
module Models
|
3
|
+
type beta_set_default_plan_version_params =
|
4
|
+
{ version: Integer } & Orb::Internal::Type::request_parameters
|
5
|
+
|
6
|
+
class BetaSetDefaultPlanVersionParams < Orb::Internal::Type::BaseModel
|
7
|
+
extend Orb::Internal::Type::RequestParameters::Converter
|
8
|
+
include Orb::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
attr_accessor version: Integer
|
11
|
+
|
12
|
+
def initialize: (
|
13
|
+
version: Integer,
|
14
|
+
?request_options: Orb::request_opts
|
15
|
+
) -> void
|
16
|
+
|
17
|
+
def to_hash: -> { version: Integer, request_options: Orb::RequestOptions }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -3,8 +3,8 @@ module Orb
|
|
3
3
|
type credit_note_create_params =
|
4
4
|
{
|
5
5
|
line_items: ::Array[Orb::CreditNoteCreateParams::LineItem],
|
6
|
-
|
7
|
-
|
6
|
+
reason: Orb::Models::CreditNoteCreateParams::reason,
|
7
|
+
memo: String?
|
8
8
|
}
|
9
9
|
& Orb::Internal::Type::request_parameters
|
10
10
|
|
@@ -14,21 +14,21 @@ module Orb
|
|
14
14
|
|
15
15
|
attr_accessor line_items: ::Array[Orb::CreditNoteCreateParams::LineItem]
|
16
16
|
|
17
|
-
attr_accessor
|
17
|
+
attr_accessor reason: Orb::Models::CreditNoteCreateParams::reason
|
18
18
|
|
19
|
-
attr_accessor
|
19
|
+
attr_accessor memo: String?
|
20
20
|
|
21
21
|
def initialize: (
|
22
22
|
line_items: ::Array[Orb::CreditNoteCreateParams::LineItem],
|
23
|
+
reason: Orb::Models::CreditNoteCreateParams::reason,
|
23
24
|
?memo: String?,
|
24
|
-
?reason: Orb::Models::CreditNoteCreateParams::reason?,
|
25
25
|
?request_options: Orb::request_opts
|
26
26
|
) -> void
|
27
27
|
|
28
28
|
def to_hash: -> {
|
29
29
|
line_items: ::Array[Orb::CreditNoteCreateParams::LineItem],
|
30
|
+
reason: Orb::Models::CreditNoteCreateParams::reason,
|
30
31
|
memo: String?,
|
31
|
-
reason: Orb::Models::CreditNoteCreateParams::reason?,
|
32
32
|
request_options: Orb::RequestOptions
|
33
33
|
}
|
34
34
|
|
@@ -281,6 +281,7 @@ module Orb
|
|
281
281
|
type tax_configuration =
|
282
282
|
Orb::CustomerCreateParams::TaxConfiguration::Avalara
|
283
283
|
| Orb::CustomerCreateParams::TaxConfiguration::Taxjar
|
284
|
+
| Orb::CustomerCreateParams::TaxConfiguration::Sphere
|
284
285
|
|
285
286
|
module TaxConfiguration
|
286
287
|
extend Orb::Internal::Type::Union
|
@@ -324,6 +325,18 @@ module Orb
|
|
324
325
|
def to_hash: -> { tax_exempt: bool, tax_provider: :taxjar }
|
325
326
|
end
|
326
327
|
|
328
|
+
type sphere = { tax_exempt: bool, tax_provider: :sphere }
|
329
|
+
|
330
|
+
class Sphere < Orb::Internal::Type::BaseModel
|
331
|
+
attr_accessor tax_exempt: bool
|
332
|
+
|
333
|
+
attr_accessor tax_provider: :sphere
|
334
|
+
|
335
|
+
def initialize: (tax_exempt: bool, ?tax_provider: :sphere) -> void
|
336
|
+
|
337
|
+
def to_hash: -> { tax_exempt: bool, tax_provider: :sphere }
|
338
|
+
end
|
339
|
+
|
327
340
|
def self?.variants: -> ::Array[Orb::Models::CustomerCreateParams::tax_configuration]
|
328
341
|
end
|
329
342
|
|
@@ -276,6 +276,7 @@ module Orb
|
|
276
276
|
type tax_configuration =
|
277
277
|
Orb::CustomerUpdateByExternalIDParams::TaxConfiguration::Avalara
|
278
278
|
| Orb::CustomerUpdateByExternalIDParams::TaxConfiguration::Taxjar
|
279
|
+
| Orb::CustomerUpdateByExternalIDParams::TaxConfiguration::Sphere
|
279
280
|
|
280
281
|
module TaxConfiguration
|
281
282
|
extend Orb::Internal::Type::Union
|
@@ -319,6 +320,18 @@ module Orb
|
|
319
320
|
def to_hash: -> { tax_exempt: bool, tax_provider: :taxjar }
|
320
321
|
end
|
321
322
|
|
323
|
+
type sphere = { tax_exempt: bool, tax_provider: :sphere }
|
324
|
+
|
325
|
+
class Sphere < Orb::Internal::Type::BaseModel
|
326
|
+
attr_accessor tax_exempt: bool
|
327
|
+
|
328
|
+
attr_accessor tax_provider: :sphere
|
329
|
+
|
330
|
+
def initialize: (tax_exempt: bool, ?tax_provider: :sphere) -> void
|
331
|
+
|
332
|
+
def to_hash: -> { tax_exempt: bool, tax_provider: :sphere }
|
333
|
+
end
|
334
|
+
|
322
335
|
def self?.variants: -> ::Array[Orb::Models::CustomerUpdateByExternalIDParams::tax_configuration]
|
323
336
|
end
|
324
337
|
|
@@ -276,6 +276,7 @@ module Orb
|
|
276
276
|
type tax_configuration =
|
277
277
|
Orb::CustomerUpdateParams::TaxConfiguration::Avalara
|
278
278
|
| Orb::CustomerUpdateParams::TaxConfiguration::Taxjar
|
279
|
+
| Orb::CustomerUpdateParams::TaxConfiguration::Sphere
|
279
280
|
|
280
281
|
module TaxConfiguration
|
281
282
|
extend Orb::Internal::Type::Union
|
@@ -319,6 +320,18 @@ module Orb
|
|
319
320
|
def to_hash: -> { tax_exempt: bool, tax_provider: :taxjar }
|
320
321
|
end
|
321
322
|
|
323
|
+
type sphere = { tax_exempt: bool, tax_provider: :sphere }
|
324
|
+
|
325
|
+
class Sphere < Orb::Internal::Type::BaseModel
|
326
|
+
attr_accessor tax_exempt: bool
|
327
|
+
|
328
|
+
attr_accessor tax_provider: :sphere
|
329
|
+
|
330
|
+
def initialize: (tax_exempt: bool, ?tax_provider: :sphere) -> void
|
331
|
+
|
332
|
+
def to_hash: -> { tax_exempt: bool, tax_provider: :sphere }
|
333
|
+
end
|
334
|
+
|
322
335
|
def self?.variants: -> ::Array[Orb::Models::CustomerUpdateParams::tax_configuration]
|
323
336
|
end
|
324
337
|
|
@@ -28,7 +28,8 @@ module Orb
|
|
28
28
|
entry_type: :increment,
|
29
29
|
ledger_sequence_number: Integer,
|
30
30
|
metadata: ::Hash[Symbol, String],
|
31
|
-
starting_balance: Float
|
31
|
+
starting_balance: Float,
|
32
|
+
created_invoices: ::Array[Orb::Invoice]?
|
32
33
|
}
|
33
34
|
|
34
35
|
class Increment < Orb::Internal::Type::BaseModel
|
@@ -58,6 +59,8 @@ module Orb
|
|
58
59
|
|
59
60
|
attr_accessor starting_balance: Float
|
60
61
|
|
62
|
+
attr_accessor created_invoices: ::Array[Orb::Invoice]?
|
63
|
+
|
61
64
|
def initialize: (
|
62
65
|
id: String,
|
63
66
|
amount: Float,
|
@@ -71,6 +74,7 @@ module Orb
|
|
71
74
|
ledger_sequence_number: Integer,
|
72
75
|
metadata: ::Hash[Symbol, String],
|
73
76
|
starting_balance: Float,
|
77
|
+
?created_invoices: ::Array[Orb::Invoice]?,
|
74
78
|
?entry_type: :increment
|
75
79
|
) -> void
|
76
80
|
|
@@ -87,7 +91,8 @@ module Orb
|
|
87
91
|
entry_type: :increment,
|
88
92
|
ledger_sequence_number: Integer,
|
89
93
|
metadata: ::Hash[Symbol, String],
|
90
|
-
starting_balance: Float
|
94
|
+
starting_balance: Float,
|
95
|
+
created_invoices: ::Array[Orb::Invoice]?
|
91
96
|
}
|
92
97
|
|
93
98
|
type credit_block =
|
@@ -28,7 +28,8 @@ module Orb
|
|
28
28
|
entry_type: :increment,
|
29
29
|
ledger_sequence_number: Integer,
|
30
30
|
metadata: ::Hash[Symbol, String],
|
31
|
-
starting_balance: Float
|
31
|
+
starting_balance: Float,
|
32
|
+
created_invoices: ::Array[Orb::Invoice]?
|
32
33
|
}
|
33
34
|
|
34
35
|
class Increment < Orb::Internal::Type::BaseModel
|
@@ -58,6 +59,8 @@ module Orb
|
|
58
59
|
|
59
60
|
attr_accessor starting_balance: Float
|
60
61
|
|
62
|
+
attr_accessor created_invoices: ::Array[Orb::Invoice]?
|
63
|
+
|
61
64
|
def initialize: (
|
62
65
|
id: String,
|
63
66
|
amount: Float,
|
@@ -71,6 +74,7 @@ module Orb
|
|
71
74
|
ledger_sequence_number: Integer,
|
72
75
|
metadata: ::Hash[Symbol, String],
|
73
76
|
starting_balance: Float,
|
77
|
+
?created_invoices: ::Array[Orb::Invoice]?,
|
74
78
|
?entry_type: :increment
|
75
79
|
) -> void
|
76
80
|
|
@@ -87,7 +91,8 @@ module Orb
|
|
87
91
|
entry_type: :increment,
|
88
92
|
ledger_sequence_number: Integer,
|
89
93
|
metadata: ::Hash[Symbol, String],
|
90
|
-
starting_balance: Float
|
94
|
+
starting_balance: Float,
|
95
|
+
created_invoices: ::Array[Orb::Invoice]?
|
91
96
|
}
|
92
97
|
|
93
98
|
type credit_block =
|
@@ -28,7 +28,8 @@ module Orb
|
|
28
28
|
entry_type: :increment,
|
29
29
|
ledger_sequence_number: Integer,
|
30
30
|
metadata: ::Hash[Symbol, String],
|
31
|
-
starting_balance: Float
|
31
|
+
starting_balance: Float,
|
32
|
+
created_invoices: ::Array[Orb::Invoice]?
|
32
33
|
}
|
33
34
|
|
34
35
|
class Increment < Orb::Internal::Type::BaseModel
|
@@ -58,6 +59,8 @@ module Orb
|
|
58
59
|
|
59
60
|
attr_accessor starting_balance: Float
|
60
61
|
|
62
|
+
attr_accessor created_invoices: ::Array[Orb::Invoice]?
|
63
|
+
|
61
64
|
def initialize: (
|
62
65
|
id: String,
|
63
66
|
amount: Float,
|
@@ -71,6 +74,7 @@ module Orb
|
|
71
74
|
ledger_sequence_number: Integer,
|
72
75
|
metadata: ::Hash[Symbol, String],
|
73
76
|
starting_balance: Float,
|
77
|
+
?created_invoices: ::Array[Orb::Invoice]?,
|
74
78
|
?entry_type: :increment
|
75
79
|
) -> void
|
76
80
|
|
@@ -87,7 +91,8 @@ module Orb
|
|
87
91
|
entry_type: :increment,
|
88
92
|
ledger_sequence_number: Integer,
|
89
93
|
metadata: ::Hash[Symbol, String],
|
90
|
-
starting_balance: Float
|
94
|
+
starting_balance: Float,
|
95
|
+
created_invoices: ::Array[Orb::Invoice]?
|
91
96
|
}
|
92
97
|
|
93
98
|
type credit_block =
|
@@ -28,7 +28,8 @@ module Orb
|
|
28
28
|
entry_type: :increment,
|
29
29
|
ledger_sequence_number: Integer,
|
30
30
|
metadata: ::Hash[Symbol, String],
|
31
|
-
starting_balance: Float
|
31
|
+
starting_balance: Float,
|
32
|
+
created_invoices: ::Array[Orb::Invoice]?
|
32
33
|
}
|
33
34
|
|
34
35
|
class Increment < Orb::Internal::Type::BaseModel
|
@@ -58,6 +59,8 @@ module Orb
|
|
58
59
|
|
59
60
|
attr_accessor starting_balance: Float
|
60
61
|
|
62
|
+
attr_accessor created_invoices: ::Array[Orb::Invoice]?
|
63
|
+
|
61
64
|
def initialize: (
|
62
65
|
id: String,
|
63
66
|
amount: Float,
|
@@ -71,6 +74,7 @@ module Orb
|
|
71
74
|
ledger_sequence_number: Integer,
|
72
75
|
metadata: ::Hash[Symbol, String],
|
73
76
|
starting_balance: Float,
|
77
|
+
?created_invoices: ::Array[Orb::Invoice]?,
|
74
78
|
?entry_type: :increment
|
75
79
|
) -> void
|
76
80
|
|
@@ -87,7 +91,8 @@ module Orb
|
|
87
91
|
entry_type: :increment,
|
88
92
|
ledger_sequence_number: Integer,
|
89
93
|
metadata: ::Hash[Symbol, String],
|
90
|
-
starting_balance: Float
|
94
|
+
starting_balance: Float,
|
95
|
+
created_invoices: ::Array[Orb::Invoice]?
|
91
96
|
}
|
92
97
|
|
93
98
|
type credit_block =
|