orb-billing 0.7.0 → 0.9.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/models/beta/external_plan_id_create_plan_version_params.rb +100 -10
- data/lib/orb/models/beta_create_plan_version_params.rb +96 -10
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_create_params.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_create_response.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_list_response.rb +5 -3
- data/lib/orb/models/event_ingest_params.rb +3 -3
- data/lib/orb/models/event_search_response.rb +3 -3
- data/lib/orb/models/event_update_params.rb +3 -3
- data/lib/orb/models/price.rb +1114 -28
- data/lib/orb/models/price_evaluate_multiple_params.rb +3 -3
- data/lib/orb/models/subscription_create_params.rb +96 -10
- data/lib/orb/models/subscription_price_intervals_params.rb +48 -5
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +100 -10
- data/lib/orb/resources/events.rb +1 -1
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +226 -12
- data/rbi/orb/models/beta_create_plan_version_params.rbi +226 -12
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_create_response.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_list_response.rbi +8 -4
- data/rbi/orb/models/event_ingest_params.rbi +3 -3
- data/rbi/orb/models/event_search_response.rbi +3 -3
- data/rbi/orb/models/event_update_params.rbi +3 -3
- data/rbi/orb/models/price.rbi +3220 -184
- data/rbi/orb/models/price_evaluate_multiple_params.rbi +3 -3
- data/rbi/orb/models/subscription_create_params.rbi +226 -12
- data/rbi/orb/models/subscription_price_intervals_params.rbi +113 -6
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +226 -12
- data/rbi/orb/resources/events.rbi +1 -1
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +84 -8
- data/sig/orb/models/beta_create_plan_version_params.rbs +84 -8
- data/sig/orb/models/event_ingest_params.rbs +4 -4
- data/sig/orb/models/event_search_response.rbs +4 -4
- data/sig/orb/models/event_update_params.rbs +4 -4
- data/sig/orb/models/price.rbs +1430 -86
- data/sig/orb/models/price_evaluate_multiple_params.rbs +4 -4
- data/sig/orb/models/subscription_create_params.rbs +84 -8
- data/sig/orb/models/subscription_price_intervals_params.rbs +42 -4
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +84 -8
- data/sig/orb/resources/events.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ddc2fe30477278aa0f78ba2f81557d9a3042fa6631509584ef9f50e91e12654
|
4
|
+
data.tar.gz: c4fee31316816a2c54e6cfeab8b2296f7212d29a7138f231477265836f8a0d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a038b9c318e4774b80ea9963ca7f39a0985003653b3cce196ee950edf79e58a660c5e8fcf177ff1745a0c88b67fe059ab6b79c60091c7d6029b7cc040c624575
|
7
|
+
data.tar.gz: 0cab84209367469b8585a0ee697631df19cba5dfd08565b96e4f1aa6072add3cb37fbfeee42ec4f1605d6b82891b31881e022362684e5a999e492da1203669c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.9.0 (2025-05-30)
|
4
|
+
|
5
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/orbcorp/orb-ruby/compare/v0.8.0...v0.9.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([4c07dd1](https://github.com/orbcorp/orb-ruby/commit/4c07dd113926af678db91561fc501d17fa4da86e))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **internal:** version bump ([c9592f1](https://github.com/orbcorp/orb-ruby/commit/c9592f19f8f618117d4a5503a507d06b8abf7ac2))
|
15
|
+
|
16
|
+
## 0.8.0 (2025-05-29)
|
17
|
+
|
18
|
+
Full Changelog: [v0.7.0...v0.8.0](https://github.com/orbcorp/orb-ruby/compare/v0.7.0...v0.8.0)
|
19
|
+
|
20
|
+
### Features
|
21
|
+
|
22
|
+
* **api:** api update ([a2e8bcf](https://github.com/orbcorp/orb-ruby/commit/a2e8bcf1773986a845af2abcf055036a043b06bd))
|
23
|
+
|
24
|
+
|
25
|
+
### Chores
|
26
|
+
|
27
|
+
* **internal:** version bump ([2e01a85](https://github.com/orbcorp/orb-ruby/commit/2e01a85a81d448e5ee4f15effb9edb5580634417))
|
28
|
+
|
3
29
|
## 0.7.0 (2025-05-28)
|
4
30
|
|
5
31
|
Full Changelog: [v0.6.0...v0.7.0](https://github.com/orbcorp/orb-ruby/compare/v0.6.0...v0.7.0)
|
data/README.md
CHANGED
@@ -408,14 +408,24 @@ module Orb
|
|
408
408
|
# @return [String]
|
409
409
|
required :currency, String
|
410
410
|
|
411
|
+
# @!attribute custom_expiration
|
412
|
+
# The custom expiration for the allocation.
|
413
|
+
#
|
414
|
+
# @return [Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration, nil]
|
415
|
+
optional :custom_expiration,
|
416
|
+
-> {
|
417
|
+
Orb::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration
|
418
|
+
},
|
419
|
+
nil?: true
|
420
|
+
|
411
421
|
# @!attribute expires_at_end_of_cadence
|
412
422
|
# Whether the allocated amount should expire at the end of the cadence or roll
|
413
|
-
# over to the next period.
|
423
|
+
# over to the next period. Set to null if using custom_expiration.
|
414
424
|
#
|
415
|
-
# @return [Boolean]
|
416
|
-
|
425
|
+
# @return [Boolean, nil]
|
426
|
+
optional :expires_at_end_of_cadence, Orb::Internal::Type::Boolean, nil?: true
|
417
427
|
|
418
|
-
# @!method initialize(amount:, cadence:, currency:, expires_at_end_of_cadence:)
|
428
|
+
# @!method initialize(amount:, cadence:, currency:, custom_expiration: nil, expires_at_end_of_cadence: nil)
|
419
429
|
# Some parameter documentations has been truncated, see
|
420
430
|
# {Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice}
|
421
431
|
# for more details.
|
@@ -428,7 +438,9 @@ module Orb
|
|
428
438
|
#
|
429
439
|
# @param currency [String] An ISO 4217 currency string or a custom pricing unit identifier in which to bill
|
430
440
|
#
|
431
|
-
# @param
|
441
|
+
# @param custom_expiration [Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration, nil] The custom expiration for the allocation.
|
442
|
+
#
|
443
|
+
# @param expires_at_end_of_cadence [Boolean, nil] Whether the allocated amount should expire at the end of the cadence or roll ove
|
432
444
|
|
433
445
|
# The cadence at which to allocate the amount to the customer.
|
434
446
|
#
|
@@ -446,6 +458,39 @@ module Orb
|
|
446
458
|
# @!method self.values
|
447
459
|
# @return [Array<Symbol>]
|
448
460
|
end
|
461
|
+
|
462
|
+
# @see Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice#custom_expiration
|
463
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
464
|
+
# @!attribute duration
|
465
|
+
#
|
466
|
+
# @return [Integer]
|
467
|
+
required :duration, Integer
|
468
|
+
|
469
|
+
# @!attribute duration_unit
|
470
|
+
#
|
471
|
+
# @return [Symbol, Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration::DurationUnit]
|
472
|
+
required :duration_unit,
|
473
|
+
enum: -> {
|
474
|
+
Orb::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration::DurationUnit
|
475
|
+
}
|
476
|
+
|
477
|
+
# @!method initialize(duration:, duration_unit:)
|
478
|
+
# The custom expiration for the allocation.
|
479
|
+
#
|
480
|
+
# @param duration [Integer]
|
481
|
+
# @param duration_unit [Symbol, Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration::DurationUnit]
|
482
|
+
|
483
|
+
# @see Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration#duration_unit
|
484
|
+
module DurationUnit
|
485
|
+
extend Orb::Internal::Type::Enum
|
486
|
+
|
487
|
+
DAY = :day
|
488
|
+
MONTH = :month
|
489
|
+
|
490
|
+
# @!method self.values
|
491
|
+
# @return [Array<Symbol>]
|
492
|
+
end
|
493
|
+
end
|
449
494
|
end
|
450
495
|
|
451
496
|
# The price to add to the plan
|
@@ -9349,14 +9394,24 @@ module Orb
|
|
9349
9394
|
# @return [String]
|
9350
9395
|
required :currency, String
|
9351
9396
|
|
9397
|
+
# @!attribute custom_expiration
|
9398
|
+
# The custom expiration for the allocation.
|
9399
|
+
#
|
9400
|
+
# @return [Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration, nil]
|
9401
|
+
optional :custom_expiration,
|
9402
|
+
-> {
|
9403
|
+
Orb::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration
|
9404
|
+
},
|
9405
|
+
nil?: true
|
9406
|
+
|
9352
9407
|
# @!attribute expires_at_end_of_cadence
|
9353
9408
|
# Whether the allocated amount should expire at the end of the cadence or roll
|
9354
|
-
# over to the next period.
|
9409
|
+
# over to the next period. Set to null if using custom_expiration.
|
9355
9410
|
#
|
9356
|
-
# @return [Boolean]
|
9357
|
-
|
9411
|
+
# @return [Boolean, nil]
|
9412
|
+
optional :expires_at_end_of_cadence, Orb::Internal::Type::Boolean, nil?: true
|
9358
9413
|
|
9359
|
-
# @!method initialize(amount:, cadence:, currency:, expires_at_end_of_cadence:)
|
9414
|
+
# @!method initialize(amount:, cadence:, currency:, custom_expiration: nil, expires_at_end_of_cadence: nil)
|
9360
9415
|
# Some parameter documentations has been truncated, see
|
9361
9416
|
# {Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice}
|
9362
9417
|
# for more details.
|
@@ -9369,7 +9424,9 @@ module Orb
|
|
9369
9424
|
#
|
9370
9425
|
# @param currency [String] An ISO 4217 currency string or a custom pricing unit identifier in which to bill
|
9371
9426
|
#
|
9372
|
-
# @param
|
9427
|
+
# @param custom_expiration [Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration, nil] The custom expiration for the allocation.
|
9428
|
+
#
|
9429
|
+
# @param expires_at_end_of_cadence [Boolean, nil] Whether the allocated amount should expire at the end of the cadence or roll ove
|
9373
9430
|
|
9374
9431
|
# The cadence at which to allocate the amount to the customer.
|
9375
9432
|
#
|
@@ -9387,6 +9444,39 @@ module Orb
|
|
9387
9444
|
# @!method self.values
|
9388
9445
|
# @return [Array<Symbol>]
|
9389
9446
|
end
|
9447
|
+
|
9448
|
+
# @see Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice#custom_expiration
|
9449
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
9450
|
+
# @!attribute duration
|
9451
|
+
#
|
9452
|
+
# @return [Integer]
|
9453
|
+
required :duration, Integer
|
9454
|
+
|
9455
|
+
# @!attribute duration_unit
|
9456
|
+
#
|
9457
|
+
# @return [Symbol, Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration::DurationUnit]
|
9458
|
+
required :duration_unit,
|
9459
|
+
enum: -> {
|
9460
|
+
Orb::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration::DurationUnit
|
9461
|
+
}
|
9462
|
+
|
9463
|
+
# @!method initialize(duration:, duration_unit:)
|
9464
|
+
# The custom expiration for the allocation.
|
9465
|
+
#
|
9466
|
+
# @param duration [Integer]
|
9467
|
+
# @param duration_unit [Symbol, Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration::DurationUnit]
|
9468
|
+
|
9469
|
+
# @see Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration#duration_unit
|
9470
|
+
module DurationUnit
|
9471
|
+
extend Orb::Internal::Type::Enum
|
9472
|
+
|
9473
|
+
DAY = :day
|
9474
|
+
MONTH = :month
|
9475
|
+
|
9476
|
+
# @!method self.values
|
9477
|
+
# @return [Array<Symbol>]
|
9478
|
+
end
|
9479
|
+
end
|
9390
9480
|
end
|
9391
9481
|
|
9392
9482
|
# The price to add to the plan
|
@@ -381,14 +381,22 @@ module Orb
|
|
381
381
|
# @return [String]
|
382
382
|
required :currency, String
|
383
383
|
|
384
|
+
# @!attribute custom_expiration
|
385
|
+
# The custom expiration for the allocation.
|
386
|
+
#
|
387
|
+
# @return [Orb::Models::BetaCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration, nil]
|
388
|
+
optional :custom_expiration,
|
389
|
+
-> { Orb::BetaCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration },
|
390
|
+
nil?: true
|
391
|
+
|
384
392
|
# @!attribute expires_at_end_of_cadence
|
385
393
|
# Whether the allocated amount should expire at the end of the cadence or roll
|
386
|
-
# over to the next period.
|
394
|
+
# over to the next period. Set to null if using custom_expiration.
|
387
395
|
#
|
388
|
-
# @return [Boolean]
|
389
|
-
|
396
|
+
# @return [Boolean, nil]
|
397
|
+
optional :expires_at_end_of_cadence, Orb::Internal::Type::Boolean, nil?: true
|
390
398
|
|
391
|
-
# @!method initialize(amount:, cadence:, currency:, expires_at_end_of_cadence:)
|
399
|
+
# @!method initialize(amount:, cadence:, currency:, custom_expiration: nil, expires_at_end_of_cadence: nil)
|
392
400
|
# Some parameter documentations has been truncated, see
|
393
401
|
# {Orb::Models::BetaCreatePlanVersionParams::AddPrice::AllocationPrice} for more
|
394
402
|
# details.
|
@@ -401,7 +409,9 @@ module Orb
|
|
401
409
|
#
|
402
410
|
# @param currency [String] An ISO 4217 currency string or a custom pricing unit identifier in which to bill
|
403
411
|
#
|
404
|
-
# @param
|
412
|
+
# @param custom_expiration [Orb::Models::BetaCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration, nil] The custom expiration for the allocation.
|
413
|
+
#
|
414
|
+
# @param expires_at_end_of_cadence [Boolean, nil] Whether the allocated amount should expire at the end of the cadence or roll ove
|
405
415
|
|
406
416
|
# The cadence at which to allocate the amount to the customer.
|
407
417
|
#
|
@@ -419,6 +429,39 @@ module Orb
|
|
419
429
|
# @!method self.values
|
420
430
|
# @return [Array<Symbol>]
|
421
431
|
end
|
432
|
+
|
433
|
+
# @see Orb::Models::BetaCreatePlanVersionParams::AddPrice::AllocationPrice#custom_expiration
|
434
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
435
|
+
# @!attribute duration
|
436
|
+
#
|
437
|
+
# @return [Integer]
|
438
|
+
required :duration, Integer
|
439
|
+
|
440
|
+
# @!attribute duration_unit
|
441
|
+
#
|
442
|
+
# @return [Symbol, Orb::Models::BetaCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration::DurationUnit]
|
443
|
+
required :duration_unit,
|
444
|
+
enum: -> {
|
445
|
+
Orb::BetaCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration::DurationUnit
|
446
|
+
}
|
447
|
+
|
448
|
+
# @!method initialize(duration:, duration_unit:)
|
449
|
+
# The custom expiration for the allocation.
|
450
|
+
#
|
451
|
+
# @param duration [Integer]
|
452
|
+
# @param duration_unit [Symbol, Orb::Models::BetaCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration::DurationUnit]
|
453
|
+
|
454
|
+
# @see Orb::Models::BetaCreatePlanVersionParams::AddPrice::AllocationPrice::CustomExpiration#duration_unit
|
455
|
+
module DurationUnit
|
456
|
+
extend Orb::Internal::Type::Enum
|
457
|
+
|
458
|
+
DAY = :day
|
459
|
+
MONTH = :month
|
460
|
+
|
461
|
+
# @!method self.values
|
462
|
+
# @return [Array<Symbol>]
|
463
|
+
end
|
464
|
+
end
|
422
465
|
end
|
423
466
|
|
424
467
|
# The price to add to the plan
|
@@ -9235,14 +9278,22 @@ module Orb
|
|
9235
9278
|
# @return [String]
|
9236
9279
|
required :currency, String
|
9237
9280
|
|
9281
|
+
# @!attribute custom_expiration
|
9282
|
+
# The custom expiration for the allocation.
|
9283
|
+
#
|
9284
|
+
# @return [Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration, nil]
|
9285
|
+
optional :custom_expiration,
|
9286
|
+
-> { Orb::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration },
|
9287
|
+
nil?: true
|
9288
|
+
|
9238
9289
|
# @!attribute expires_at_end_of_cadence
|
9239
9290
|
# Whether the allocated amount should expire at the end of the cadence or roll
|
9240
|
-
# over to the next period.
|
9291
|
+
# over to the next period. Set to null if using custom_expiration.
|
9241
9292
|
#
|
9242
|
-
# @return [Boolean]
|
9243
|
-
|
9293
|
+
# @return [Boolean, nil]
|
9294
|
+
optional :expires_at_end_of_cadence, Orb::Internal::Type::Boolean, nil?: true
|
9244
9295
|
|
9245
|
-
# @!method initialize(amount:, cadence:, currency:, expires_at_end_of_cadence:)
|
9296
|
+
# @!method initialize(amount:, cadence:, currency:, custom_expiration: nil, expires_at_end_of_cadence: nil)
|
9246
9297
|
# Some parameter documentations has been truncated, see
|
9247
9298
|
# {Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice} for
|
9248
9299
|
# more details.
|
@@ -9255,7 +9306,9 @@ module Orb
|
|
9255
9306
|
#
|
9256
9307
|
# @param currency [String] An ISO 4217 currency string or a custom pricing unit identifier in which to bill
|
9257
9308
|
#
|
9258
|
-
# @param
|
9309
|
+
# @param custom_expiration [Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration, nil] The custom expiration for the allocation.
|
9310
|
+
#
|
9311
|
+
# @param expires_at_end_of_cadence [Boolean, nil] Whether the allocated amount should expire at the end of the cadence or roll ove
|
9259
9312
|
|
9260
9313
|
# The cadence at which to allocate the amount to the customer.
|
9261
9314
|
#
|
@@ -9273,6 +9326,39 @@ module Orb
|
|
9273
9326
|
# @!method self.values
|
9274
9327
|
# @return [Array<Symbol>]
|
9275
9328
|
end
|
9329
|
+
|
9330
|
+
# @see Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice#custom_expiration
|
9331
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
9332
|
+
# @!attribute duration
|
9333
|
+
#
|
9334
|
+
# @return [Integer]
|
9335
|
+
required :duration, Integer
|
9336
|
+
|
9337
|
+
# @!attribute duration_unit
|
9338
|
+
#
|
9339
|
+
# @return [Symbol, Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration::DurationUnit]
|
9340
|
+
required :duration_unit,
|
9341
|
+
enum: -> {
|
9342
|
+
Orb::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration::DurationUnit
|
9343
|
+
}
|
9344
|
+
|
9345
|
+
# @!method initialize(duration:, duration_unit:)
|
9346
|
+
# The custom expiration for the allocation.
|
9347
|
+
#
|
9348
|
+
# @param duration [Integer]
|
9349
|
+
# @param duration_unit [Symbol, Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration::DurationUnit]
|
9350
|
+
|
9351
|
+
# @see Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::AllocationPrice::CustomExpiration#duration_unit
|
9352
|
+
module DurationUnit
|
9353
|
+
extend Orb::Internal::Type::Enum
|
9354
|
+
|
9355
|
+
DAY = :day
|
9356
|
+
MONTH = :month
|
9357
|
+
|
9358
|
+
# @!method self.values
|
9359
|
+
# @return [Array<Symbol>]
|
9360
|
+
end
|
9361
|
+
end
|
9276
9362
|
end
|
9277
9363
|
|
9278
9364
|
# The price to add to the plan
|
@@ -112,8 +112,10 @@ module Orb
|
|
112
112
|
optional :memo, String, nil?: true
|
113
113
|
|
114
114
|
# @!attribute require_successful_payment
|
115
|
-
#
|
116
|
-
# corresponding invoice is paid before they
|
115
|
+
# When true, credit blocks created by this top-up will require that the
|
116
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
117
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
118
|
+
# invoice is paid or voided.
|
117
119
|
#
|
118
120
|
# @return [Boolean, nil]
|
119
121
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -131,7 +133,7 @@ module Orb
|
|
131
133
|
#
|
132
134
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
133
135
|
#
|
134
|
-
# @param require_successful_payment [Boolean]
|
136
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
135
137
|
end
|
136
138
|
|
137
139
|
# The unit of expires_after.
|
@@ -104,8 +104,10 @@ module Orb
|
|
104
104
|
optional :memo, String, nil?: true
|
105
105
|
|
106
106
|
# @!attribute require_successful_payment
|
107
|
-
#
|
108
|
-
# corresponding invoice is paid before they
|
107
|
+
# When true, credit blocks created by this top-up will require that the
|
108
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
109
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
110
|
+
# invoice is paid or voided.
|
109
111
|
#
|
110
112
|
# @return [Boolean, nil]
|
111
113
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -123,7 +125,7 @@ module Orb
|
|
123
125
|
#
|
124
126
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
125
127
|
#
|
126
|
-
# @param require_successful_payment [Boolean]
|
128
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
127
129
|
end
|
128
130
|
|
129
131
|
# The unit of expires_after.
|
@@ -108,8 +108,10 @@ module Orb
|
|
108
108
|
optional :memo, String, nil?: true
|
109
109
|
|
110
110
|
# @!attribute require_successful_payment
|
111
|
-
#
|
112
|
-
# corresponding invoice is paid before they
|
111
|
+
# When true, credit blocks created by this top-up will require that the
|
112
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
113
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
114
|
+
# invoice is paid or voided.
|
113
115
|
#
|
114
116
|
# @return [Boolean, nil]
|
115
117
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -127,7 +129,7 @@ module Orb
|
|
127
129
|
#
|
128
130
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
129
131
|
#
|
130
|
-
# @param require_successful_payment [Boolean]
|
132
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
131
133
|
end
|
132
134
|
|
133
135
|
# The unit of expires_after.
|
@@ -102,8 +102,10 @@ module Orb
|
|
102
102
|
optional :memo, String, nil?: true
|
103
103
|
|
104
104
|
# @!attribute require_successful_payment
|
105
|
-
#
|
106
|
-
# corresponding invoice is paid before they
|
105
|
+
# When true, credit blocks created by this top-up will require that the
|
106
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
107
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
108
|
+
# invoice is paid or voided.
|
107
109
|
#
|
108
110
|
# @return [Boolean, nil]
|
109
111
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -121,7 +123,7 @@ module Orb
|
|
121
123
|
#
|
122
124
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
123
125
|
#
|
124
|
-
# @param require_successful_payment [Boolean]
|
126
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
125
127
|
end
|
126
128
|
|
127
129
|
# The unit of expires_after.
|
@@ -104,8 +104,10 @@ module Orb
|
|
104
104
|
optional :memo, String, nil?: true
|
105
105
|
|
106
106
|
# @!attribute require_successful_payment
|
107
|
-
#
|
108
|
-
# corresponding invoice is paid before they
|
107
|
+
# When true, credit blocks created by this top-up will require that the
|
108
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
109
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
110
|
+
# invoice is paid or voided.
|
109
111
|
#
|
110
112
|
# @return [Boolean, nil]
|
111
113
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -123,7 +125,7 @@ module Orb
|
|
123
125
|
#
|
124
126
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
125
127
|
#
|
126
|
-
# @param require_successful_payment [Boolean]
|
128
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
127
129
|
end
|
128
130
|
|
129
131
|
# The unit of expires_after.
|
@@ -102,8 +102,10 @@ module Orb
|
|
102
102
|
optional :memo, String, nil?: true
|
103
103
|
|
104
104
|
# @!attribute require_successful_payment
|
105
|
-
#
|
106
|
-
# corresponding invoice is paid before they
|
105
|
+
# When true, credit blocks created by this top-up will require that the
|
106
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
107
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
108
|
+
# invoice is paid or voided.
|
107
109
|
#
|
108
110
|
# @return [Boolean, nil]
|
109
111
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -121,7 +123,7 @@ module Orb
|
|
121
123
|
#
|
122
124
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
123
125
|
#
|
124
|
-
# @param require_successful_payment [Boolean]
|
126
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
125
127
|
end
|
126
128
|
|
127
129
|
# The unit of expires_after.
|
@@ -56,8 +56,8 @@ module Orb
|
|
56
56
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
57
57
|
# boolean, or strings. Nested dictionaries are disallowed.
|
58
58
|
#
|
59
|
-
# @return [Object]
|
60
|
-
required :properties, Orb::Internal::Type::Unknown
|
59
|
+
# @return [Hash{Symbol=>Object}]
|
60
|
+
required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
61
61
|
|
62
62
|
# @!attribute timestamp
|
63
63
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -88,7 +88,7 @@ module Orb
|
|
88
88
|
#
|
89
89
|
# @param idempotency_key [String] A unique value, generated by the client, that is used to de-duplicate events. Ex
|
90
90
|
#
|
91
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
91
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
92
92
|
#
|
93
93
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
94
94
|
#
|
@@ -50,8 +50,8 @@ module Orb
|
|
50
50
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
51
51
|
# boolean, or strings. Nested dictionaries are disallowed.
|
52
52
|
#
|
53
|
-
# @return [Object]
|
54
|
-
required :properties, Orb::Internal::Type::Unknown
|
53
|
+
# @return [Hash{Symbol=>Object}]
|
54
|
+
required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
55
55
|
|
56
56
|
# @!attribute timestamp
|
57
57
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -79,7 +79,7 @@ module Orb
|
|
79
79
|
#
|
80
80
|
# @param external_customer_id [String, nil] An alias for the Orb customer, whose mapping is specified when creating the cust
|
81
81
|
#
|
82
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
82
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
83
83
|
#
|
84
84
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
85
85
|
end
|
@@ -17,8 +17,8 @@ module Orb
|
|
17
17
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
18
18
|
# boolean, or strings. Nested dictionaries are disallowed.
|
19
19
|
#
|
20
|
-
# @return [Object]
|
21
|
-
required :properties, Orb::Internal::Type::Unknown
|
20
|
+
# @return [Hash{Symbol=>Object}]
|
21
|
+
required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
22
22
|
|
23
23
|
# @!attribute timestamp
|
24
24
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -47,7 +47,7 @@ module Orb
|
|
47
47
|
#
|
48
48
|
# @param event_name [String] A name to meaningfully identify the action or event type.
|
49
49
|
#
|
50
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
50
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
51
51
|
#
|
52
52
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
53
53
|
#
|