orb-billing 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +3 -3
- data/lib/orb/file_part.rb +2 -2
- data/lib/orb/internal/type/enum.rb +3 -3
- data/lib/orb/internal/type/request_parameters.rb +4 -4
- data/lib/orb/internal/type/union.rb +4 -4
- data/lib/orb/internal/util.rb +1 -1
- data/lib/orb/models/alert.rb +29 -32
- data/lib/orb/models/alert_create_for_customer_params.rb +7 -8
- data/lib/orb/models/alert_create_for_external_customer_params.rb +7 -8
- data/lib/orb/models/alert_create_for_subscription_params.rb +7 -8
- data/lib/orb/models/alert_list_params.rb +0 -1
- data/lib/orb/models/alert_update_params.rb +4 -5
- data/lib/orb/models/amount_discount.rb +6 -7
- data/lib/orb/models/billable_metric.rb +9 -11
- data/lib/orb/models/coupon.rb +9 -12
- data/lib/orb/models/coupon_create_params.rb +6 -8
- data/lib/orb/models/coupon_list_params.rb +0 -2
- data/lib/orb/models/coupons/subscription_list_params.rb +0 -1
- data/lib/orb/models/credit_note.rb +48 -46
- data/lib/orb/models/credit_note_create_params.rb +6 -6
- data/lib/orb/models/credit_note_list_params.rb +0 -1
- data/lib/orb/models/customer.rb +54 -61
- data/lib/orb/models/customer_create_params.rb +41 -53
- data/lib/orb/models/customer_list_params.rb +0 -1
- data/lib/orb/models/customer_update_by_external_id_params.rb +41 -53
- data/lib/orb/models/customer_update_params.rb +41 -51
- data/lib/orb/models/customers/balance_transaction_create_params.rb +3 -3
- data/lib/orb/models/customers/balance_transaction_create_response.rb +0 -2
- data/lib/orb/models/customers/balance_transaction_list_params.rb +0 -1
- data/lib/orb/models/customers/balance_transaction_list_response.rb +0 -2
- data/lib/orb/models/customers/cost_list_by_external_id_params.rb +3 -4
- data/lib/orb/models/customers/cost_list_by_external_id_response.rb +3 -3
- data/lib/orb/models/customers/cost_list_params.rb +3 -4
- data/lib/orb/models/customers/cost_list_response.rb +3 -3
- data/lib/orb/models/customers/credit_list_by_external_id_params.rb +0 -2
- data/lib/orb/models/customers/credit_list_params.rb +0 -2
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +12 -21
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +0 -7
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +11 -22
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +0 -7
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +6 -7
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +0 -7
- data/lib/orb/models/customers/credits/ledger_list_params.rb +8 -9
- data/lib/orb/models/customers/credits/ledger_list_response.rb +0 -7
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +10 -15
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +0 -6
- data/lib/orb/models/customers/credits/top_up_create_params.rb +7 -15
- data/lib/orb/models/customers/credits/top_up_create_response.rb +0 -6
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rb +0 -1
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +0 -6
- data/lib/orb/models/customers/credits/top_up_list_params.rb +0 -1
- data/lib/orb/models/customers/credits/top_up_list_response.rb +0 -6
- data/lib/orb/models/dimensional_price_group.rb +1 -3
- data/lib/orb/models/dimensional_price_group_create_params.rb +0 -1
- data/lib/orb/models/dimensional_price_group_list_params.rb +0 -1
- data/lib/orb/models/dimensional_price_groups.rb +6 -6
- data/lib/orb/models/discount.rb +5 -5
- data/lib/orb/models/evaluate_price_group.rb +1 -1
- data/lib/orb/models/event_ingest_params.rb +4 -9
- data/lib/orb/models/event_ingest_response.rb +0 -3
- data/lib/orb/models/event_search_params.rb +0 -3
- data/lib/orb/models/event_search_response.rb +0 -4
- data/lib/orb/models/event_update_params.rb +0 -3
- data/lib/orb/models/events/backfill_close_response.rb +0 -4
- data/lib/orb/models/events/backfill_create_params.rb +0 -7
- data/lib/orb/models/events/backfill_create_response.rb +0 -4
- data/lib/orb/models/events/backfill_fetch_response.rb +0 -4
- data/lib/orb/models/events/backfill_list_params.rb +0 -1
- data/lib/orb/models/events/backfill_list_response.rb +0 -4
- data/lib/orb/models/events/backfill_revert_response.rb +0 -4
- data/lib/orb/models/events/event_volumes.rb +3 -3
- data/lib/orb/models/events/volume_list_params.rb +0 -3
- data/lib/orb/models/invoice.rb +157 -202
- data/lib/orb/models/invoice_create_params.rb +14 -21
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +9 -54
- data/lib/orb/models/invoice_issue_params.rb +0 -1
- data/lib/orb/models/invoice_level_discount.rb +4 -4
- data/lib/orb/models/invoice_line_item_create_params.rb +0 -1
- data/lib/orb/models/invoice_line_item_create_response.rb +6 -26
- data/lib/orb/models/invoice_list_params.rb +6 -10
- data/lib/orb/models/invoice_update_params.rb +0 -1
- data/lib/orb/models/item.rb +7 -8
- data/lib/orb/models/item_list_params.rb +0 -1
- data/lib/orb/models/item_update_params.rb +7 -7
- data/lib/orb/models/metric_create_params.rb +0 -1
- data/lib/orb/models/metric_list_params.rb +0 -1
- data/lib/orb/models/metric_update_params.rb +0 -1
- data/lib/orb/models/percentage_discount.rb +6 -8
- data/lib/orb/models/plan.rb +78 -103
- data/lib/orb/models/plan_create_params.rb +727 -800
- data/lib/orb/models/plan_list_params.rb +3 -4
- data/lib/orb/models/plan_update_params.rb +0 -2
- data/lib/orb/models/plans/external_plan_id_update_params.rb +0 -2
- data/lib/orb/models/price.rb +1671 -1724
- data/lib/orb/models/price_create_params.rb +75 -84
- data/lib/orb/models/price_evaluate_params.rb +0 -2
- data/lib/orb/models/price_evaluate_response.rb +3 -3
- data/lib/orb/models/price_list_params.rb +0 -1
- data/lib/orb/models/price_update_params.rb +0 -1
- data/lib/orb/models/prices/external_price_id_update_params.rb +0 -1
- data/lib/orb/models/subscription.rb +86 -122
- data/lib/orb/models/subscription_cancel_params.rb +3 -5
- data/lib/orb/models/subscription_cancel_response.rb +21 -57
- data/lib/orb/models/subscription_change_apply_response.rb +21 -58
- data/lib/orb/models/subscription_change_cancel_response.rb +21 -58
- data/lib/orb/models/subscription_change_retrieve_response.rb +21 -58
- data/lib/orb/models/subscription_create_params.rb +1865 -1815
- data/lib/orb/models/subscription_create_response.rb +21 -57
- data/lib/orb/models/subscription_fetch_costs_params.rb +3 -4
- data/lib/orb/models/subscription_fetch_costs_response.rb +3 -3
- data/lib/orb/models/subscription_fetch_schedule_params.rb +0 -1
- data/lib/orb/models/subscription_fetch_schedule_response.rb +0 -1
- data/lib/orb/models/subscription_fetch_usage_params.rb +6 -8
- data/lib/orb/models/subscription_list_params.rb +3 -4
- data/lib/orb/models/subscription_price_intervals_params.rb +1105 -1017
- data/lib/orb/models/subscription_price_intervals_response.rb +21 -57
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +1906 -1791
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +21 -57
- data/lib/orb/models/subscription_trigger_phase_params.rb +0 -2
- data/lib/orb/models/subscription_trigger_phase_response.rb +21 -57
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +21 -57
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +21 -57
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +21 -57
- data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +3 -6
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +21 -57
- data/lib/orb/models/subscription_update_params.rb +0 -5
- data/lib/orb/models/subscription_update_trial_params.rb +4 -6
- data/lib/orb/models/subscription_update_trial_response.rb +21 -57
- data/lib/orb/models/subscription_usage.rb +46 -39
- data/lib/orb/models/subscriptions.rb +6 -6
- data/lib/orb/models/trial_discount.rb +6 -7
- data/lib/orb/models/usage_discount.rb +6 -8
- data/lib/orb/resources/alerts.rb +30 -31
- data/lib/orb/resources/coupons/subscriptions.rb +3 -4
- data/lib/orb/resources/coupons.rb +11 -21
- data/lib/orb/resources/credit_notes.rb +10 -11
- data/lib/orb/resources/customers/balance_transactions.rb +3 -4
- data/lib/orb/resources/customers/costs.rb +4 -6
- data/lib/orb/resources/customers/credits/ledger.rb +14 -33
- data/lib/orb/resources/customers/credits/top_ups.rb +10 -20
- data/lib/orb/resources/customers/credits.rb +2 -6
- data/lib/orb/resources/customers.rb +40 -67
- data/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rb +2 -2
- data/lib/orb/resources/dimensional_price_groups.rb +8 -10
- data/lib/orb/resources/events/backfills.rb +2 -10
- data/lib/orb/resources/events/volume.rb +3 -6
- data/lib/orb/resources/events.rb +4 -12
- data/lib/orb/resources/invoice_line_items.rb +1 -2
- data/lib/orb/resources/invoices.rb +26 -43
- data/lib/orb/resources/items.rb +12 -13
- data/lib/orb/resources/metrics.rb +11 -14
- data/lib/orb/resources/plans/external_plan_id.rb +5 -7
- data/lib/orb/resources/plans.rb +14 -23
- data/lib/orb/resources/prices/external_price_id.rb +5 -6
- data/lib/orb/resources/prices.rb +25 -35
- data/lib/orb/resources/subscription_changes.rb +1 -1
- data/lib/orb/resources/subscriptions.rb +49 -107
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +1 -0
- data/rbi/orb/client.rbi +5 -4
- data/rbi/orb/errors.rbi +59 -28
- data/rbi/orb/file_part.rbi +9 -6
- data/rbi/orb/internal/page.rbi +19 -6
- data/rbi/orb/internal/transport/base_client.rbi +131 -73
- data/rbi/orb/internal/transport/pooled_net_requester.rbi +25 -12
- data/rbi/orb/internal/type/array_of.rbi +42 -34
- data/rbi/orb/internal/type/base_model.rbi +124 -65
- data/rbi/orb/internal/type/base_page.rbi +11 -7
- data/rbi/orb/internal/type/boolean.rbi +16 -10
- data/rbi/orb/internal/type/converter.rbi +66 -31
- data/rbi/orb/internal/type/enum.rbi +27 -15
- data/rbi/orb/internal/type/file_input.rbi +12 -10
- data/rbi/orb/internal/type/hash_of.rbi +34 -24
- data/rbi/orb/internal/type/request_parameters.rbi +12 -4
- data/rbi/orb/internal/type/union.rbi +60 -25
- data/rbi/orb/internal/type/unknown.rbi +20 -12
- data/rbi/orb/internal/util.rbi +210 -89
- data/rbi/orb/models/alert.rbi +107 -70
- data/rbi/orb/models/alert_create_for_customer_params.rbi +60 -27
- data/rbi/orb/models/alert_create_for_external_customer_params.rbi +68 -29
- data/rbi/orb/models/alert_create_for_subscription_params.rbi +53 -26
- data/rbi/orb/models/alert_disable_params.rbi +17 -6
- data/rbi/orb/models/alert_enable_params.rbi +17 -6
- data/rbi/orb/models/alert_list_params.rbi +23 -20
- data/rbi/orb/models/alert_retrieve_params.rbi +10 -4
- data/rbi/orb/models/alert_update_params.rbi +25 -14
- data/rbi/orb/models/amount_discount.rbi +28 -19
- data/rbi/orb/models/billable_metric.rbi +33 -26
- data/rbi/orb/models/billing_cycle_relative_date.rbi +11 -5
- data/rbi/orb/models/coupon.rbi +28 -20
- data/rbi/orb/models/coupon_archive_params.rbi +10 -4
- data/rbi/orb/models/coupon_create_params.rbi +72 -38
- data/rbi/orb/models/coupon_fetch_params.rbi +10 -4
- data/rbi/orb/models/coupon_list_params.rbi +18 -15
- data/rbi/orb/models/coupons/subscription_list_params.rbi +16 -6
- data/rbi/orb/models/credit_note.rbi +293 -158
- data/rbi/orb/models/credit_note_create_params.rbi +58 -29
- data/rbi/orb/models/credit_note_fetch_params.rbi +10 -4
- data/rbi/orb/models/credit_note_list_params.rbi +20 -17
- data/rbi/orb/models/customer.rbi +430 -329
- data/rbi/orb/models/customer_create_params.rbi +662 -325
- data/rbi/orb/models/customer_delete_params.rbi +10 -4
- data/rbi/orb/models/customer_fetch_by_external_id_params.rbi +10 -4
- data/rbi/orb/models/customer_fetch_params.rbi +10 -4
- data/rbi/orb/models/customer_list_params.rbi +20 -17
- data/rbi/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +10 -4
- data/rbi/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +10 -4
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +1136 -336
- data/rbi/orb/models/customer_update_params.rbi +661 -324
- data/rbi/orb/models/customers/balance_transaction_create_params.rbi +50 -21
- data/rbi/orb/models/customers/balance_transaction_create_response.rbi +154 -61
- data/rbi/orb/models/customers/balance_transaction_list_params.rbi +20 -17
- data/rbi/orb/models/customers/balance_transaction_list_response.rbi +164 -59
- data/rbi/orb/models/customers/cost_list_by_external_id_params.rbi +56 -22
- data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +162 -124
- data/rbi/orb/models/customers/cost_list_params.rbi +45 -22
- data/rbi/orb/models/customers/cost_list_response.rbi +154 -123
- data/rbi/orb/models/customers/credit_list_by_external_id_params.rbi +18 -15
- data/rbi/orb/models/customers/credit_list_by_external_id_response.rbi +48 -22
- data/rbi/orb/models/customers/credit_list_params.rbi +18 -15
- data/rbi/orb/models/customers/credit_list_response.rbi +44 -21
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +106 -68
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +643 -434
- data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +117 -59
- data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +700 -425
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +102 -44
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +681 -432
- data/rbi/orb/models/customers/credits/ledger_list_params.rbi +123 -40
- data/rbi/orb/models/customers/credits/ledger_list_response.rbi +735 -389
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +74 -53
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +65 -48
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +84 -45
- data/rbi/orb/models/customers/credits/top_up_create_response.rbi +83 -43
- data/rbi/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +16 -6
- data/rbi/orb/models/customers/credits/top_up_delete_params.rbi +15 -5
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +9 -5
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +70 -49
- data/rbi/orb/models/customers/credits/top_up_list_params.rbi +9 -5
- data/rbi/orb/models/customers/credits/top_up_list_response.rbi +84 -43
- data/rbi/orb/models/dimensional_price_group.rbi +18 -15
- data/rbi/orb/models/dimensional_price_group_create_params.rbi +19 -16
- data/rbi/orb/models/dimensional_price_group_list_params.rbi +16 -6
- data/rbi/orb/models/dimensional_price_group_retrieve_params.rbi +10 -4
- data/rbi/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +10 -9
- data/rbi/orb/models/dimensional_price_groups.rbi +18 -13
- data/rbi/orb/models/discount.rbi +11 -5
- data/rbi/orb/models/evaluate_price_group.rbi +28 -12
- data/rbi/orb/models/event_deprecate_params.rbi +10 -4
- data/rbi/orb/models/event_deprecate_response.rbi +8 -3
- data/rbi/orb/models/event_ingest_params.rbi +37 -31
- data/rbi/orb/models/event_ingest_response.rbi +63 -23
- data/rbi/orb/models/event_search_params.rbi +17 -14
- data/rbi/orb/models/event_search_response.rbi +33 -21
- data/rbi/orb/models/event_update_params.rbi +19 -16
- data/rbi/orb/models/event_update_response.rbi +8 -3
- data/rbi/orb/models/events/backfill_close_params.rbi +10 -9
- data/rbi/orb/models/events/backfill_close_response.rbi +64 -29
- data/rbi/orb/models/events/backfill_create_params.rbi +21 -18
- data/rbi/orb/models/events/backfill_create_response.rbi +63 -29
- data/rbi/orb/models/events/backfill_fetch_params.rbi +10 -9
- data/rbi/orb/models/events/backfill_fetch_response.rbi +64 -29
- data/rbi/orb/models/events/backfill_list_params.rbi +16 -6
- data/rbi/orb/models/events/backfill_list_response.rbi +62 -28
- data/rbi/orb/models/events/backfill_revert_params.rbi +10 -9
- data/rbi/orb/models/events/backfill_revert_response.rbi +63 -29
- data/rbi/orb/models/events/event_volumes.rbi +32 -10
- data/rbi/orb/models/events/volume_list_params.rbi +18 -15
- data/rbi/orb/models/invoice.rbi +1286 -805
- data/rbi/orb/models/invoice_create_params.rbi +97 -69
- data/rbi/orb/models/invoice_fetch_params.rbi +10 -4
- data/rbi/orb/models/invoice_fetch_upcoming_params.rbi +15 -5
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +1991 -861
- data/rbi/orb/models/invoice_issue_params.rbi +16 -5
- data/rbi/orb/models/invoice_level_discount.rbi +11 -4
- data/rbi/orb/models/invoice_line_item_create_params.rbi +20 -17
- data/rbi/orb/models/invoice_line_item_create_response.rbi +573 -376
- data/rbi/orb/models/invoice_list_params.rbi +67 -47
- data/rbi/orb/models/invoice_mark_paid_params.rbi +17 -14
- data/rbi/orb/models/invoice_pay_params.rbi +10 -4
- data/rbi/orb/models/invoice_update_params.rbi +15 -10
- data/rbi/orb/models/invoice_void_params.rbi +10 -4
- data/rbi/orb/models/item.rbi +87 -39
- data/rbi/orb/models/item_create_params.rbi +14 -5
- data/rbi/orb/models/item_fetch_params.rbi +10 -4
- data/rbi/orb/models/item_list_params.rbi +16 -6
- data/rbi/orb/models/item_update_params.rbi +79 -39
- data/rbi/orb/models/metric_create_params.rbi +19 -16
- data/rbi/orb/models/metric_fetch_params.rbi +10 -4
- data/rbi/orb/models/metric_list_params.rbi +20 -17
- data/rbi/orb/models/metric_update_params.rbi +15 -10
- data/rbi/orb/models/pagination_metadata.rbi +16 -4
- data/rbi/orb/models/percentage_discount.rbi +32 -19
- data/rbi/orb/models/plan.rbi +496 -365
- data/rbi/orb/models/plan_create_params.rbi +4785 -2875
- data/rbi/orb/models/plan_fetch_params.rbi +10 -4
- data/rbi/orb/models/plan_list_params.rbi +34 -27
- data/rbi/orb/models/plan_update_params.rbi +16 -13
- data/rbi/orb/models/plans/external_plan_id_fetch_params.rbi +10 -9
- data/rbi/orb/models/plans/external_plan_id_update_params.rbi +16 -13
- data/rbi/orb/models/price.rbi +9969 -5024
- data/rbi/orb/models/price_create_params.rbi +501 -245
- data/rbi/orb/models/price_evaluate_params.rbi +20 -17
- data/rbi/orb/models/price_evaluate_response.rbi +11 -6
- data/rbi/orb/models/price_fetch_params.rbi +10 -4
- data/rbi/orb/models/price_list_params.rbi +16 -6
- data/rbi/orb/models/price_update_params.rbi +15 -10
- data/rbi/orb/models/prices/external_price_id_fetch_params.rbi +10 -9
- data/rbi/orb/models/prices/external_price_id_update_params.rbi +15 -10
- data/rbi/orb/models/subscription.rbi +578 -420
- data/rbi/orb/models/subscription_cancel_params.rbi +44 -22
- data/rbi/orb/models/subscription_cancel_response.rbi +700 -438
- data/rbi/orb/models/subscription_change_apply_params.rbi +16 -13
- data/rbi/orb/models/subscription_change_apply_response.rbi +784 -504
- data/rbi/orb/models/subscription_change_cancel_params.rbi +10 -4
- data/rbi/orb/models/subscription_change_cancel_response.rbi +783 -514
- data/rbi/orb/models/subscription_change_retrieve_params.rbi +10 -4
- data/rbi/orb/models/subscription_change_retrieve_response.rbi +782 -524
- data/rbi/orb/models/subscription_create_params.rbi +9021 -6730
- data/rbi/orb/models/subscription_create_response.rbi +700 -438
- data/rbi/orb/models/subscription_fetch_costs_params.rbi +47 -22
- data/rbi/orb/models/subscription_fetch_costs_response.rbi +154 -123
- data/rbi/orb/models/subscription_fetch_params.rbi +10 -4
- data/rbi/orb/models/subscription_fetch_schedule_params.rbi +20 -17
- data/rbi/orb/models/subscription_fetch_schedule_response.rbi +33 -19
- data/rbi/orb/models/subscription_fetch_usage_params.rbi +81 -34
- data/rbi/orb/models/subscription_list_params.rbi +39 -28
- data/rbi/orb/models/subscription_price_intervals_params.rbi +5181 -3822
- data/rbi/orb/models/subscription_price_intervals_response.rbi +720 -453
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +8602 -6910
- data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +718 -467
- data/rbi/orb/models/subscription_trigger_phase_params.rbi +16 -13
- data/rbi/orb/models/subscription_trigger_phase_response.rbi +712 -448
- data/rbi/orb/models/subscription_unschedule_cancellation_params.rbi +10 -4
- data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +719 -467
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +16 -5
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +693 -502
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +10 -4
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +708 -497
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_params.rbi +57 -26
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +719 -467
- data/rbi/orb/models/subscription_update_params.rbi +19 -16
- data/rbi/orb/models/subscription_update_trial_params.rbi +57 -19
- data/rbi/orb/models/subscription_update_trial_response.rbi +712 -447
- data/rbi/orb/models/subscription_usage.rbi +271 -121
- data/rbi/orb/models/subscriptions.rbi +18 -11
- data/rbi/orb/models/top_level_ping_params.rbi +10 -4
- data/rbi/orb/models/top_level_ping_response.rbi +7 -3
- data/rbi/orb/models/trial_discount.rbi +29 -20
- data/rbi/orb/models/usage_discount.rbi +28 -19
- data/rbi/orb/models.rbi +22 -11
- data/rbi/orb/request_options.rbi +12 -6
- data/rbi/orb/resources/alerts.rbi +61 -40
- data/rbi/orb/resources/coupons/subscriptions.rbi +7 -5
- data/rbi/orb/resources/coupons.rbi +33 -18
- data/rbi/orb/resources/credit_notes.rbi +22 -13
- data/rbi/orb/resources/customers/balance_transactions.rbi +17 -9
- data/rbi/orb/resources/customers/costs.rbi +18 -11
- data/rbi/orb/resources/customers/credits/ledger.rbi +98 -74
- data/rbi/orb/resources/customers/credits/top_ups.rbi +61 -25
- data/rbi/orb/resources/customers/credits.rbi +16 -7
- data/rbi/orb/resources/customers.rbi +137 -72
- data/rbi/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbi +8 -4
- data/rbi/orb/resources/dimensional_price_groups.rbi +26 -12
- data/rbi/orb/resources/events/backfills.rbi +35 -17
- data/rbi/orb/resources/events/volume.rbi +7 -5
- data/rbi/orb/resources/events.rbi +26 -16
- data/rbi/orb/resources/invoice_line_items.rbi +7 -5
- data/rbi/orb/resources/invoices.rbi +72 -41
- data/rbi/orb/resources/items.rbi +40 -13
- data/rbi/orb/resources/metrics.rbi +25 -15
- data/rbi/orb/resources/plans/external_plan_id.rbi +15 -7
- data/rbi/orb/resources/plans.rbi +57 -47
- data/rbi/orb/resources/prices/external_price_id.rbi +73 -68
- data/rbi/orb/resources/prices.rbi +176 -156
- data/rbi/orb/resources/subscription_changes.rbi +19 -11
- data/rbi/orb/resources/subscriptions.rbi +200 -114
- data/rbi/orb/resources/top_level.rbi +9 -3
- data/sig/orb/internal/page.rbs +0 -2
- data/sig/orb/internal/type/request_parameters.rbs +3 -1
- data/sig/orb/models/alert.rbs +19 -31
- data/sig/orb/models/alert_create_for_customer_params.rbs +3 -7
- data/sig/orb/models/alert_create_for_external_customer_params.rbs +3 -7
- data/sig/orb/models/alert_create_for_subscription_params.rbs +3 -7
- data/sig/orb/models/alert_disable_params.rbs +0 -2
- data/sig/orb/models/alert_enable_params.rbs +0 -2
- data/sig/orb/models/alert_list_params.rbs +0 -2
- data/sig/orb/models/alert_retrieve_params.rbs +0 -2
- data/sig/orb/models/alert_update_params.rbs +3 -7
- data/sig/orb/models/amount_discount.rbs +4 -6
- data/sig/orb/models/billable_metric.rbs +7 -9
- data/sig/orb/models/coupon.rbs +5 -8
- data/sig/orb/models/coupon_archive_params.rbs +0 -2
- data/sig/orb/models/coupon_create_params.rbs +3 -9
- data/sig/orb/models/coupon_fetch_params.rbs +0 -2
- data/sig/orb/models/coupon_list_params.rbs +0 -2
- data/sig/orb/models/coupons/subscription_list_params.rbs +0 -2
- data/sig/orb/models/credit_note.rbs +48 -66
- data/sig/orb/models/credit_note_create_params.rbs +3 -7
- data/sig/orb/models/credit_note_fetch_params.rbs +0 -2
- data/sig/orb/models/credit_note_list_params.rbs +0 -2
- data/sig/orb/models/customer.rbs +43 -63
- data/sig/orb/models/customer_create_params.rbs +32 -52
- data/sig/orb/models/customer_delete_params.rbs +0 -2
- data/sig/orb/models/customer_fetch_by_external_id_params.rbs +0 -2
- data/sig/orb/models/customer_fetch_params.rbs +0 -2
- data/sig/orb/models/customer_list_params.rbs +0 -2
- data/sig/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbs +0 -2
- data/sig/orb/models/customer_sync_payment_methods_from_gateway_params.rbs +0 -2
- data/sig/orb/models/customer_update_by_external_id_params.rbs +32 -52
- data/sig/orb/models/customer_update_params.rbs +32 -52
- data/sig/orb/models/customers/balance_transaction_create_params.rbs +0 -2
- data/sig/orb/models/customers/balance_transaction_create_response.rbs +0 -6
- data/sig/orb/models/customers/balance_transaction_list_params.rbs +0 -2
- data/sig/orb/models/customers/balance_transaction_list_response.rbs +0 -6
- data/sig/orb/models/customers/cost_list_by_external_id_params.rbs +0 -2
- data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +0 -6
- data/sig/orb/models/customers/cost_list_params.rbs +0 -2
- data/sig/orb/models/customers/cost_list_response.rbs +0 -6
- data/sig/orb/models/customers/credit_list_by_external_id_params.rbs +0 -2
- data/sig/orb/models/customers/credit_list_by_external_id_response.rbs +0 -2
- data/sig/orb/models/customers/credit_list_params.rbs +0 -2
- data/sig/orb/models/customers/credit_list_response.rbs +0 -2
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbs +3 -7
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +1 -43
- data/sig/orb/models/customers/credits/ledger_create_entry_params.rbs +3 -7
- data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +1 -43
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_params.rbs +0 -2
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +1 -43
- data/sig/orb/models/customers/credits/ledger_list_params.rbs +0 -2
- data/sig/orb/models/customers/credits/ledger_list_response.rbs +1 -43
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_params.rbs +3 -7
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +0 -4
- data/sig/orb/models/customers/credits/top_up_create_params.rbs +3 -7
- data/sig/orb/models/customers/credits/top_up_create_response.rbs +0 -4
- data/sig/orb/models/customers/credits/top_up_delete_by_external_id_params.rbs +0 -2
- data/sig/orb/models/customers/credits/top_up_delete_params.rbs +0 -2
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_params.rbs +0 -2
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +0 -4
- data/sig/orb/models/customers/credits/top_up_list_params.rbs +0 -2
- data/sig/orb/models/customers/credits/top_up_list_response.rbs +0 -4
- data/sig/orb/models/dimensional_price_group.rbs +0 -2
- data/sig/orb/models/dimensional_price_group_create_params.rbs +0 -2
- data/sig/orb/models/dimensional_price_group_list_params.rbs +0 -2
- data/sig/orb/models/dimensional_price_group_retrieve_params.rbs +0 -2
- data/sig/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbs +0 -2
- data/sig/orb/models/dimensional_price_groups.rbs +6 -8
- data/sig/orb/models/discount.rbs +5 -5
- data/sig/orb/models/evaluate_price_group.rbs +4 -6
- data/sig/orb/models/event_deprecate_params.rbs +0 -2
- data/sig/orb/models/event_deprecate_response.rbs +0 -2
- data/sig/orb/models/event_ingest_params.rbs +3 -7
- data/sig/orb/models/event_ingest_response.rbs +0 -6
- data/sig/orb/models/event_search_params.rbs +0 -2
- data/sig/orb/models/event_search_response.rbs +0 -4
- data/sig/orb/models/event_update_params.rbs +0 -2
- data/sig/orb/models/event_update_response.rbs +0 -2
- data/sig/orb/models/events/backfill_close_params.rbs +0 -2
- data/sig/orb/models/events/backfill_close_response.rbs +0 -2
- data/sig/orb/models/events/backfill_create_params.rbs +0 -2
- data/sig/orb/models/events/backfill_create_response.rbs +0 -2
- data/sig/orb/models/events/backfill_fetch_params.rbs +0 -2
- data/sig/orb/models/events/backfill_fetch_response.rbs +0 -2
- data/sig/orb/models/events/backfill_list_params.rbs +0 -2
- data/sig/orb/models/events/backfill_list_response.rbs +0 -2
- data/sig/orb/models/events/backfill_revert_params.rbs +0 -2
- data/sig/orb/models/events/backfill_revert_response.rbs +0 -2
- data/sig/orb/models/events/event_volumes.rbs +3 -10
- data/sig/orb/models/events/volume_list_params.rbs +0 -2
- data/sig/orb/models/invoice.rbs +110 -172
- data/sig/orb/models/invoice_create_params.rbs +10 -16
- data/sig/orb/models/invoice_fetch_params.rbs +0 -2
- data/sig/orb/models/invoice_fetch_upcoming_params.rbs +0 -2
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +2 -64
- data/sig/orb/models/invoice_issue_params.rbs +0 -2
- data/sig/orb/models/invoice_level_discount.rbs +2 -4
- data/sig/orb/models/invoice_line_item_create_params.rbs +0 -2
- data/sig/orb/models/invoice_line_item_create_response.rbs +2 -36
- data/sig/orb/models/invoice_list_params.rbs +4 -6
- data/sig/orb/models/invoice_mark_paid_params.rbs +0 -2
- data/sig/orb/models/invoice_pay_params.rbs +0 -2
- data/sig/orb/models/invoice_update_params.rbs +0 -2
- data/sig/orb/models/invoice_void_params.rbs +0 -2
- data/sig/orb/models/item.rbs +7 -11
- data/sig/orb/models/item_create_params.rbs +0 -2
- data/sig/orb/models/item_fetch_params.rbs +0 -2
- data/sig/orb/models/item_list_params.rbs +0 -2
- data/sig/orb/models/item_update_params.rbs +7 -11
- data/sig/orb/models/metric_create_params.rbs +0 -2
- data/sig/orb/models/metric_fetch_params.rbs +0 -2
- data/sig/orb/models/metric_list_params.rbs +0 -2
- data/sig/orb/models/metric_update_params.rbs +0 -2
- data/sig/orb/models/pagination_metadata.rbs +0 -2
- data/sig/orb/models/percentage_discount.rbs +4 -6
- data/sig/orb/models/plan.rbs +45 -73
- data/sig/orb/models/plan_create_params.rbs +518 -696
- data/sig/orb/models/plan_fetch_params.rbs +0 -2
- data/sig/orb/models/plan_list_params.rbs +0 -2
- data/sig/orb/models/plan_update_params.rbs +0 -2
- data/sig/orb/models/plans/external_plan_id_fetch_params.rbs +0 -2
- data/sig/orb/models/plans/external_plan_id_update_params.rbs +0 -2
- data/sig/orb/models/price.rbs +1194 -1730
- data/sig/orb/models/price_create_params.rbs +59 -97
- data/sig/orb/models/price_evaluate_params.rbs +0 -2
- data/sig/orb/models/price_evaluate_response.rbs +3 -6
- data/sig/orb/models/price_fetch_params.rbs +0 -2
- data/sig/orb/models/price_list_params.rbs +0 -2
- data/sig/orb/models/price_update_params.rbs +0 -2
- data/sig/orb/models/prices/external_price_id_fetch_params.rbs +0 -2
- data/sig/orb/models/prices/external_price_id_update_params.rbs +0 -2
- data/sig/orb/models/subscription.rbs +56 -94
- data/sig/orb/models/subscription_cancel_params.rbs +0 -2
- data/sig/orb/models/subscription_cancel_response.rbs +20 -60
- data/sig/orb/models/subscription_change_apply_params.rbs +0 -2
- data/sig/orb/models/subscription_change_apply_response.rbs +20 -62
- data/sig/orb/models/subscription_change_cancel_params.rbs +0 -2
- data/sig/orb/models/subscription_change_cancel_response.rbs +20 -62
- data/sig/orb/models/subscription_change_retrieve_params.rbs +0 -2
- data/sig/orb/models/subscription_change_retrieve_response.rbs +20 -62
- data/sig/orb/models/subscription_create_params.rbs +1103 -1499
- data/sig/orb/models/subscription_create_response.rbs +20 -60
- data/sig/orb/models/subscription_fetch_costs_params.rbs +0 -2
- data/sig/orb/models/subscription_fetch_costs_response.rbs +0 -6
- data/sig/orb/models/subscription_fetch_params.rbs +0 -2
- data/sig/orb/models/subscription_fetch_schedule_params.rbs +0 -2
- data/sig/orb/models/subscription_fetch_schedule_response.rbs +0 -4
- data/sig/orb/models/subscription_fetch_usage_params.rbs +0 -2
- data/sig/orb/models/subscription_list_params.rbs +0 -2
- data/sig/orb/models/subscription_price_intervals_params.rbs +666 -896
- data/sig/orb/models/subscription_price_intervals_response.rbs +20 -60
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +1103 -1499
- data/sig/orb/models/subscription_schedule_plan_change_response.rbs +20 -60
- data/sig/orb/models/subscription_trigger_phase_params.rbs +0 -2
- data/sig/orb/models/subscription_trigger_phase_response.rbs +20 -60
- data/sig/orb/models/subscription_unschedule_cancellation_params.rbs +0 -2
- data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +20 -60
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbs +0 -2
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +20 -60
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_params.rbs +0 -2
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +20 -60
- data/sig/orb/models/subscription_update_fixed_fee_quantity_params.rbs +0 -2
- data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +20 -60
- data/sig/orb/models/subscription_update_params.rbs +0 -2
- data/sig/orb/models/subscription_update_trial_params.rbs +1 -3
- data/sig/orb/models/subscription_update_trial_response.rbs +20 -60
- data/sig/orb/models/subscription_usage.rbs +35 -53
- data/sig/orb/models/subscriptions.rbs +6 -8
- data/sig/orb/models/top_level_ping_params.rbs +0 -2
- data/sig/orb/models/top_level_ping_response.rbs +0 -2
- data/sig/orb/models/trial_discount.rbs +4 -6
- data/sig/orb/models/usage_discount.rbs +4 -6
- data/sig/orb/request_options.rbs +1 -1
- data/sig/orb/resources/alerts.rbs +12 -12
- data/sig/orb/resources/coupons/subscriptions.rbs +1 -1
- data/sig/orb/resources/coupons.rbs +4 -4
- data/sig/orb/resources/credit_notes.rbs +4 -4
- data/sig/orb/resources/customers/credits/ledger.rbs +2 -2
- data/sig/orb/resources/customers/credits/top_ups.rbs +2 -2
- data/sig/orb/resources/customers.rbs +24 -24
- data/sig/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbs +1 -1
- data/sig/orb/resources/dimensional_price_groups.rbs +3 -3
- data/sig/orb/resources/events/volume.rbs +1 -1
- data/sig/orb/resources/events.rbs +1 -1
- data/sig/orb/resources/invoices.rbs +10 -10
- data/sig/orb/resources/items.rbs +5 -5
- data/sig/orb/resources/metrics.rbs +4 -4
- data/sig/orb/resources/plans/external_plan_id.rbs +2 -2
- data/sig/orb/resources/plans.rbs +5 -5
- data/sig/orb/resources/prices.rbs +11 -11
- data/sig/orb/resources/subscriptions.rbs +21 -21
- metadata +2 -2
@@ -4,7 +4,7 @@ module Orb
|
|
4
4
|
{
|
5
5
|
currency: String,
|
6
6
|
name: String,
|
7
|
-
prices: ::Array[Orb::
|
7
|
+
prices: ::Array[Orb::PlanCreateParams::price],
|
8
8
|
default_invoice_memo: String?,
|
9
9
|
external_plan_id: String?,
|
10
10
|
metadata: ::Hash[Symbol, String?]?,
|
@@ -21,7 +21,7 @@ module Orb
|
|
21
21
|
|
22
22
|
attr_accessor name: String
|
23
23
|
|
24
|
-
attr_accessor prices: ::Array[Orb::
|
24
|
+
attr_accessor prices: ::Array[Orb::PlanCreateParams::price]
|
25
25
|
|
26
26
|
attr_accessor default_invoice_memo: String?
|
27
27
|
|
@@ -40,7 +40,7 @@ module Orb
|
|
40
40
|
def initialize: (
|
41
41
|
currency: String,
|
42
42
|
name: String,
|
43
|
-
prices: ::Array[Orb::
|
43
|
+
prices: ::Array[Orb::PlanCreateParams::price],
|
44
44
|
?default_invoice_memo: String?,
|
45
45
|
?external_plan_id: String?,
|
46
46
|
?metadata: ::Hash[Symbol, String?]?,
|
@@ -49,59 +49,57 @@ module Orb
|
|
49
49
|
?request_options: Orb::request_opts
|
50
50
|
) -> void
|
51
51
|
|
52
|
-
def to_hash: -> Orb::Models::plan_create_params
|
53
|
-
|
54
52
|
type price =
|
55
|
-
Orb::
|
56
|
-
| Orb::
|
57
|
-
| Orb::
|
58
|
-
| Orb::
|
59
|
-
| Orb::
|
60
|
-
| Orb::
|
61
|
-
| Orb::
|
62
|
-
| Orb::
|
63
|
-
| Orb::
|
64
|
-
| Orb::
|
65
|
-
| Orb::
|
66
|
-
| Orb::
|
67
|
-
| Orb::
|
68
|
-
| Orb::
|
69
|
-
| Orb::
|
70
|
-
| Orb::
|
71
|
-
| Orb::
|
72
|
-
| Orb::
|
73
|
-
| Orb::
|
74
|
-
| Orb::
|
75
|
-
| Orb::
|
76
|
-
| Orb::
|
77
|
-
| Orb::
|
78
|
-
| Orb::
|
79
|
-
| Orb::
|
53
|
+
Orb::PlanCreateParams::Price::Unit
|
54
|
+
| Orb::PlanCreateParams::Price::Package
|
55
|
+
| Orb::PlanCreateParams::Price::Matrix
|
56
|
+
| Orb::PlanCreateParams::Price::Tiered
|
57
|
+
| Orb::PlanCreateParams::Price::TieredBps
|
58
|
+
| Orb::PlanCreateParams::Price::Bps
|
59
|
+
| Orb::PlanCreateParams::Price::BulkBps
|
60
|
+
| Orb::PlanCreateParams::Price::Bulk
|
61
|
+
| Orb::PlanCreateParams::Price::ThresholdTotalAmount
|
62
|
+
| Orb::PlanCreateParams::Price::TieredPackage
|
63
|
+
| Orb::PlanCreateParams::Price::TieredWithMinimum
|
64
|
+
| Orb::PlanCreateParams::Price::UnitWithPercent
|
65
|
+
| Orb::PlanCreateParams::Price::PackageWithAllocation
|
66
|
+
| Orb::PlanCreateParams::Price::TieredWithProration
|
67
|
+
| Orb::PlanCreateParams::Price::UnitWithProration
|
68
|
+
| Orb::PlanCreateParams::Price::GroupedAllocation
|
69
|
+
| Orb::PlanCreateParams::Price::GroupedWithProratedMinimum
|
70
|
+
| Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum
|
71
|
+
| Orb::PlanCreateParams::Price::MatrixWithDisplayName
|
72
|
+
| Orb::PlanCreateParams::Price::BulkWithProration
|
73
|
+
| Orb::PlanCreateParams::Price::GroupedTieredPackage
|
74
|
+
| Orb::PlanCreateParams::Price::MaxGroupTieredPackage
|
75
|
+
| Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing
|
76
|
+
| Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing
|
77
|
+
| Orb::PlanCreateParams::Price::CumulativeGroupedBulk
|
80
78
|
|
81
79
|
module Price
|
82
80
|
extend Orb::Internal::Type::Union
|
83
81
|
|
84
82
|
type unit =
|
85
83
|
{
|
86
|
-
cadence: Orb::
|
84
|
+
cadence: Orb::PlanCreateParams::Price::Unit::cadence,
|
87
85
|
item_id: String,
|
88
86
|
model_type: :unit,
|
89
87
|
name: String,
|
90
|
-
unit_config: Orb::
|
88
|
+
unit_config: Orb::PlanCreateParams::Price::Unit::UnitConfig,
|
91
89
|
billable_metric_id: String?,
|
92
90
|
billed_in_advance: bool?,
|
93
|
-
billing_cycle_configuration: Orb::
|
91
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration?,
|
94
92
|
conversion_rate: Float?,
|
95
93
|
currency: String?,
|
96
94
|
external_price_id: String?,
|
97
95
|
fixed_price_quantity: Float?,
|
98
96
|
invoice_grouping_key: String?,
|
99
|
-
invoicing_cycle_configuration: Orb::
|
97
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration?,
|
100
98
|
metadata: ::Hash[Symbol, String?]?
|
101
99
|
}
|
102
100
|
|
103
101
|
class Unit < Orb::Internal::Type::BaseModel
|
104
|
-
attr_accessor cadence: Orb::
|
102
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::Unit::cadence
|
105
103
|
|
106
104
|
attr_accessor item_id: String
|
107
105
|
|
@@ -109,13 +107,13 @@ module Orb
|
|
109
107
|
|
110
108
|
attr_accessor name: String
|
111
109
|
|
112
|
-
attr_accessor unit_config: Orb::
|
110
|
+
attr_accessor unit_config: Orb::PlanCreateParams::Price::Unit::UnitConfig
|
113
111
|
|
114
112
|
attr_accessor billable_metric_id: String?
|
115
113
|
|
116
114
|
attr_accessor billed_in_advance: bool?
|
117
115
|
|
118
|
-
attr_accessor billing_cycle_configuration: Orb::
|
116
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration?
|
119
117
|
|
120
118
|
attr_accessor conversion_rate: Float?
|
121
119
|
|
@@ -127,30 +125,28 @@ module Orb
|
|
127
125
|
|
128
126
|
attr_accessor invoice_grouping_key: String?
|
129
127
|
|
130
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
128
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration?
|
131
129
|
|
132
130
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
133
131
|
|
134
132
|
def initialize: (
|
135
|
-
cadence: Orb::
|
133
|
+
cadence: Orb::PlanCreateParams::Price::Unit::cadence,
|
136
134
|
item_id: String,
|
137
135
|
name: String,
|
138
|
-
unit_config: Orb::
|
136
|
+
unit_config: Orb::PlanCreateParams::Price::Unit::UnitConfig,
|
139
137
|
?billable_metric_id: String?,
|
140
138
|
?billed_in_advance: bool?,
|
141
|
-
?billing_cycle_configuration: Orb::
|
139
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration?,
|
142
140
|
?conversion_rate: Float?,
|
143
141
|
?currency: String?,
|
144
142
|
?external_price_id: String?,
|
145
143
|
?fixed_price_quantity: Float?,
|
146
144
|
?invoice_grouping_key: String?,
|
147
|
-
?invoicing_cycle_configuration: Orb::
|
145
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration?,
|
148
146
|
?metadata: ::Hash[Symbol, String?]?,
|
149
147
|
?model_type: :unit
|
150
148
|
) -> void
|
151
149
|
|
152
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::unit
|
153
|
-
|
154
150
|
type cadence =
|
155
151
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
156
152
|
|
@@ -164,7 +160,7 @@ module Orb
|
|
164
160
|
ONE_TIME: :one_time
|
165
161
|
CUSTOM: :custom
|
166
162
|
|
167
|
-
def self?.values: -> ::Array[Orb::
|
163
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Unit::cadence]
|
168
164
|
end
|
169
165
|
|
170
166
|
type unit_config = { unit_amount: String }
|
@@ -173,28 +169,24 @@ module Orb
|
|
173
169
|
attr_accessor unit_amount: String
|
174
170
|
|
175
171
|
def initialize: (unit_amount: String) -> void
|
176
|
-
|
177
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Unit::unit_config
|
178
172
|
end
|
179
173
|
|
180
174
|
type billing_cycle_configuration =
|
181
175
|
{
|
182
176
|
duration: Integer,
|
183
|
-
duration_unit: Orb::
|
177
|
+
duration_unit: Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration::duration_unit
|
184
178
|
}
|
185
179
|
|
186
180
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
187
181
|
attr_accessor duration: Integer
|
188
182
|
|
189
|
-
attr_accessor duration_unit: Orb::
|
183
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration::duration_unit
|
190
184
|
|
191
185
|
def initialize: (
|
192
186
|
duration: Integer,
|
193
|
-
duration_unit: Orb::
|
187
|
+
duration_unit: Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration::duration_unit
|
194
188
|
) -> void
|
195
189
|
|
196
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Unit::billing_cycle_configuration
|
197
|
-
|
198
190
|
type duration_unit = :day | :month
|
199
191
|
|
200
192
|
module DurationUnit
|
@@ -203,28 +195,26 @@ module Orb
|
|
203
195
|
DAY: :day
|
204
196
|
MONTH: :month
|
205
197
|
|
206
|
-
def self?.values: -> ::Array[Orb::
|
198
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration::duration_unit]
|
207
199
|
end
|
208
200
|
end
|
209
201
|
|
210
202
|
type invoicing_cycle_configuration =
|
211
203
|
{
|
212
204
|
duration: Integer,
|
213
|
-
duration_unit: Orb::
|
205
|
+
duration_unit: Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration::duration_unit
|
214
206
|
}
|
215
207
|
|
216
208
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
217
209
|
attr_accessor duration: Integer
|
218
210
|
|
219
|
-
attr_accessor duration_unit: Orb::
|
211
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration::duration_unit
|
220
212
|
|
221
213
|
def initialize: (
|
222
214
|
duration: Integer,
|
223
|
-
duration_unit: Orb::
|
215
|
+
duration_unit: Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration::duration_unit
|
224
216
|
) -> void
|
225
217
|
|
226
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Unit::invoicing_cycle_configuration
|
227
|
-
|
228
218
|
type duration_unit = :day | :month
|
229
219
|
|
230
220
|
module DurationUnit
|
@@ -233,32 +223,32 @@ module Orb
|
|
233
223
|
DAY: :day
|
234
224
|
MONTH: :month
|
235
225
|
|
236
|
-
def self?.values: -> ::Array[Orb::
|
226
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration::duration_unit]
|
237
227
|
end
|
238
228
|
end
|
239
229
|
end
|
240
230
|
|
241
231
|
type package =
|
242
232
|
{
|
243
|
-
cadence: Orb::
|
233
|
+
cadence: Orb::PlanCreateParams::Price::Package::cadence,
|
244
234
|
item_id: String,
|
245
235
|
model_type: :package,
|
246
236
|
name: String,
|
247
|
-
package_config: Orb::
|
237
|
+
package_config: Orb::PlanCreateParams::Price::Package::PackageConfig,
|
248
238
|
billable_metric_id: String?,
|
249
239
|
billed_in_advance: bool?,
|
250
|
-
billing_cycle_configuration: Orb::
|
240
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration?,
|
251
241
|
conversion_rate: Float?,
|
252
242
|
currency: String?,
|
253
243
|
external_price_id: String?,
|
254
244
|
fixed_price_quantity: Float?,
|
255
245
|
invoice_grouping_key: String?,
|
256
|
-
invoicing_cycle_configuration: Orb::
|
246
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration?,
|
257
247
|
metadata: ::Hash[Symbol, String?]?
|
258
248
|
}
|
259
249
|
|
260
250
|
class Package < Orb::Internal::Type::BaseModel
|
261
|
-
attr_accessor cadence: Orb::
|
251
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::Package::cadence
|
262
252
|
|
263
253
|
attr_accessor item_id: String
|
264
254
|
|
@@ -266,13 +256,13 @@ module Orb
|
|
266
256
|
|
267
257
|
attr_accessor name: String
|
268
258
|
|
269
|
-
attr_accessor package_config: Orb::
|
259
|
+
attr_accessor package_config: Orb::PlanCreateParams::Price::Package::PackageConfig
|
270
260
|
|
271
261
|
attr_accessor billable_metric_id: String?
|
272
262
|
|
273
263
|
attr_accessor billed_in_advance: bool?
|
274
264
|
|
275
|
-
attr_accessor billing_cycle_configuration: Orb::
|
265
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration?
|
276
266
|
|
277
267
|
attr_accessor conversion_rate: Float?
|
278
268
|
|
@@ -284,30 +274,28 @@ module Orb
|
|
284
274
|
|
285
275
|
attr_accessor invoice_grouping_key: String?
|
286
276
|
|
287
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
277
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration?
|
288
278
|
|
289
279
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
290
280
|
|
291
281
|
def initialize: (
|
292
|
-
cadence: Orb::
|
282
|
+
cadence: Orb::PlanCreateParams::Price::Package::cadence,
|
293
283
|
item_id: String,
|
294
284
|
name: String,
|
295
|
-
package_config: Orb::
|
285
|
+
package_config: Orb::PlanCreateParams::Price::Package::PackageConfig,
|
296
286
|
?billable_metric_id: String?,
|
297
287
|
?billed_in_advance: bool?,
|
298
|
-
?billing_cycle_configuration: Orb::
|
288
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration?,
|
299
289
|
?conversion_rate: Float?,
|
300
290
|
?currency: String?,
|
301
291
|
?external_price_id: String?,
|
302
292
|
?fixed_price_quantity: Float?,
|
303
293
|
?invoice_grouping_key: String?,
|
304
|
-
?invoicing_cycle_configuration: Orb::
|
294
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration?,
|
305
295
|
?metadata: ::Hash[Symbol, String?]?,
|
306
296
|
?model_type: :package
|
307
297
|
) -> void
|
308
298
|
|
309
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::package
|
310
|
-
|
311
299
|
type cadence =
|
312
300
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
313
301
|
|
@@ -321,7 +309,7 @@ module Orb
|
|
321
309
|
ONE_TIME: :one_time
|
322
310
|
CUSTOM: :custom
|
323
311
|
|
324
|
-
def self?.values: -> ::Array[Orb::
|
312
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Package::cadence]
|
325
313
|
end
|
326
314
|
|
327
315
|
type package_config =
|
@@ -336,28 +324,24 @@ module Orb
|
|
336
324
|
package_amount: String,
|
337
325
|
package_size: Integer
|
338
326
|
) -> void
|
339
|
-
|
340
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Package::package_config
|
341
327
|
end
|
342
328
|
|
343
329
|
type billing_cycle_configuration =
|
344
330
|
{
|
345
331
|
duration: Integer,
|
346
|
-
duration_unit: Orb::
|
332
|
+
duration_unit: Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration::duration_unit
|
347
333
|
}
|
348
334
|
|
349
335
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
350
336
|
attr_accessor duration: Integer
|
351
337
|
|
352
|
-
attr_accessor duration_unit: Orb::
|
338
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration::duration_unit
|
353
339
|
|
354
340
|
def initialize: (
|
355
341
|
duration: Integer,
|
356
|
-
duration_unit: Orb::
|
342
|
+
duration_unit: Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration::duration_unit
|
357
343
|
) -> void
|
358
344
|
|
359
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Package::billing_cycle_configuration
|
360
|
-
|
361
345
|
type duration_unit = :day | :month
|
362
346
|
|
363
347
|
module DurationUnit
|
@@ -366,28 +350,26 @@ module Orb
|
|
366
350
|
DAY: :day
|
367
351
|
MONTH: :month
|
368
352
|
|
369
|
-
def self?.values: -> ::Array[Orb::
|
353
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration::duration_unit]
|
370
354
|
end
|
371
355
|
end
|
372
356
|
|
373
357
|
type invoicing_cycle_configuration =
|
374
358
|
{
|
375
359
|
duration: Integer,
|
376
|
-
duration_unit: Orb::
|
360
|
+
duration_unit: Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration::duration_unit
|
377
361
|
}
|
378
362
|
|
379
363
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
380
364
|
attr_accessor duration: Integer
|
381
365
|
|
382
|
-
attr_accessor duration_unit: Orb::
|
366
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration::duration_unit
|
383
367
|
|
384
368
|
def initialize: (
|
385
369
|
duration: Integer,
|
386
|
-
duration_unit: Orb::
|
370
|
+
duration_unit: Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration::duration_unit
|
387
371
|
) -> void
|
388
372
|
|
389
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Package::invoicing_cycle_configuration
|
390
|
-
|
391
373
|
type duration_unit = :day | :month
|
392
374
|
|
393
375
|
module DurationUnit
|
@@ -396,36 +378,36 @@ module Orb
|
|
396
378
|
DAY: :day
|
397
379
|
MONTH: :month
|
398
380
|
|
399
|
-
def self?.values: -> ::Array[Orb::
|
381
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration::duration_unit]
|
400
382
|
end
|
401
383
|
end
|
402
384
|
end
|
403
385
|
|
404
386
|
type matrix =
|
405
387
|
{
|
406
|
-
cadence: Orb::
|
388
|
+
cadence: Orb::PlanCreateParams::Price::Matrix::cadence,
|
407
389
|
item_id: String,
|
408
|
-
matrix_config: Orb::
|
390
|
+
matrix_config: Orb::PlanCreateParams::Price::Matrix::MatrixConfig,
|
409
391
|
model_type: :matrix,
|
410
392
|
name: String,
|
411
393
|
billable_metric_id: String?,
|
412
394
|
billed_in_advance: bool?,
|
413
|
-
billing_cycle_configuration: Orb::
|
395
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration?,
|
414
396
|
conversion_rate: Float?,
|
415
397
|
currency: String?,
|
416
398
|
external_price_id: String?,
|
417
399
|
fixed_price_quantity: Float?,
|
418
400
|
invoice_grouping_key: String?,
|
419
|
-
invoicing_cycle_configuration: Orb::
|
401
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration?,
|
420
402
|
metadata: ::Hash[Symbol, String?]?
|
421
403
|
}
|
422
404
|
|
423
405
|
class Matrix < Orb::Internal::Type::BaseModel
|
424
|
-
attr_accessor cadence: Orb::
|
406
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::Matrix::cadence
|
425
407
|
|
426
408
|
attr_accessor item_id: String
|
427
409
|
|
428
|
-
attr_accessor matrix_config: Orb::
|
410
|
+
attr_accessor matrix_config: Orb::PlanCreateParams::Price::Matrix::MatrixConfig
|
429
411
|
|
430
412
|
attr_accessor model_type: :matrix
|
431
413
|
|
@@ -435,7 +417,7 @@ module Orb
|
|
435
417
|
|
436
418
|
attr_accessor billed_in_advance: bool?
|
437
419
|
|
438
|
-
attr_accessor billing_cycle_configuration: Orb::
|
420
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration?
|
439
421
|
|
440
422
|
attr_accessor conversion_rate: Float?
|
441
423
|
|
@@ -447,30 +429,28 @@ module Orb
|
|
447
429
|
|
448
430
|
attr_accessor invoice_grouping_key: String?
|
449
431
|
|
450
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
432
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration?
|
451
433
|
|
452
434
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
453
435
|
|
454
436
|
def initialize: (
|
455
|
-
cadence: Orb::
|
437
|
+
cadence: Orb::PlanCreateParams::Price::Matrix::cadence,
|
456
438
|
item_id: String,
|
457
|
-
matrix_config: Orb::
|
439
|
+
matrix_config: Orb::PlanCreateParams::Price::Matrix::MatrixConfig,
|
458
440
|
name: String,
|
459
441
|
?billable_metric_id: String?,
|
460
442
|
?billed_in_advance: bool?,
|
461
|
-
?billing_cycle_configuration: Orb::
|
443
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration?,
|
462
444
|
?conversion_rate: Float?,
|
463
445
|
?currency: String?,
|
464
446
|
?external_price_id: String?,
|
465
447
|
?fixed_price_quantity: Float?,
|
466
448
|
?invoice_grouping_key: String?,
|
467
|
-
?invoicing_cycle_configuration: Orb::
|
449
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration?,
|
468
450
|
?metadata: ::Hash[Symbol, String?]?,
|
469
451
|
?model_type: :matrix
|
470
452
|
) -> void
|
471
453
|
|
472
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::matrix
|
473
|
-
|
474
454
|
type cadence =
|
475
455
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
476
456
|
|
@@ -484,14 +464,14 @@ module Orb
|
|
484
464
|
ONE_TIME: :one_time
|
485
465
|
CUSTOM: :custom
|
486
466
|
|
487
|
-
def self?.values: -> ::Array[Orb::
|
467
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Matrix::cadence]
|
488
468
|
end
|
489
469
|
|
490
470
|
type matrix_config =
|
491
471
|
{
|
492
472
|
default_unit_amount: String,
|
493
473
|
dimensions: ::Array[String?],
|
494
|
-
matrix_values: ::Array[Orb::
|
474
|
+
matrix_values: ::Array[Orb::PlanCreateParams::Price::Matrix::MatrixConfig::MatrixValue]
|
495
475
|
}
|
496
476
|
|
497
477
|
class MatrixConfig < Orb::Internal::Type::BaseModel
|
@@ -499,16 +479,14 @@ module Orb
|
|
499
479
|
|
500
480
|
attr_accessor dimensions: ::Array[String?]
|
501
481
|
|
502
|
-
attr_accessor matrix_values: ::Array[Orb::
|
482
|
+
attr_accessor matrix_values: ::Array[Orb::PlanCreateParams::Price::Matrix::MatrixConfig::MatrixValue]
|
503
483
|
|
504
484
|
def initialize: (
|
505
485
|
default_unit_amount: String,
|
506
486
|
dimensions: ::Array[String?],
|
507
|
-
matrix_values: ::Array[Orb::
|
487
|
+
matrix_values: ::Array[Orb::PlanCreateParams::Price::Matrix::MatrixConfig::MatrixValue]
|
508
488
|
) -> void
|
509
489
|
|
510
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Matrix::matrix_config
|
511
|
-
|
512
490
|
type matrix_value =
|
513
491
|
{ dimension_values: ::Array[String?], unit_amount: String }
|
514
492
|
|
@@ -521,29 +499,25 @@ module Orb
|
|
521
499
|
dimension_values: ::Array[String?],
|
522
500
|
unit_amount: String
|
523
501
|
) -> void
|
524
|
-
|
525
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Matrix::MatrixConfig::matrix_value
|
526
502
|
end
|
527
503
|
end
|
528
504
|
|
529
505
|
type billing_cycle_configuration =
|
530
506
|
{
|
531
507
|
duration: Integer,
|
532
|
-
duration_unit: Orb::
|
508
|
+
duration_unit: Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration::duration_unit
|
533
509
|
}
|
534
510
|
|
535
511
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
536
512
|
attr_accessor duration: Integer
|
537
513
|
|
538
|
-
attr_accessor duration_unit: Orb::
|
514
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration::duration_unit
|
539
515
|
|
540
516
|
def initialize: (
|
541
517
|
duration: Integer,
|
542
|
-
duration_unit: Orb::
|
518
|
+
duration_unit: Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration::duration_unit
|
543
519
|
) -> void
|
544
520
|
|
545
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Matrix::billing_cycle_configuration
|
546
|
-
|
547
521
|
type duration_unit = :day | :month
|
548
522
|
|
549
523
|
module DurationUnit
|
@@ -552,28 +526,26 @@ module Orb
|
|
552
526
|
DAY: :day
|
553
527
|
MONTH: :month
|
554
528
|
|
555
|
-
def self?.values: -> ::Array[Orb::
|
529
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration::duration_unit]
|
556
530
|
end
|
557
531
|
end
|
558
532
|
|
559
533
|
type invoicing_cycle_configuration =
|
560
534
|
{
|
561
535
|
duration: Integer,
|
562
|
-
duration_unit: Orb::
|
536
|
+
duration_unit: Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration::duration_unit
|
563
537
|
}
|
564
538
|
|
565
539
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
566
540
|
attr_accessor duration: Integer
|
567
541
|
|
568
|
-
attr_accessor duration_unit: Orb::
|
542
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration::duration_unit
|
569
543
|
|
570
544
|
def initialize: (
|
571
545
|
duration: Integer,
|
572
|
-
duration_unit: Orb::
|
546
|
+
duration_unit: Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration::duration_unit
|
573
547
|
) -> void
|
574
548
|
|
575
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Matrix::invoicing_cycle_configuration
|
576
|
-
|
577
549
|
type duration_unit = :day | :month
|
578
550
|
|
579
551
|
module DurationUnit
|
@@ -582,32 +554,32 @@ module Orb
|
|
582
554
|
DAY: :day
|
583
555
|
MONTH: :month
|
584
556
|
|
585
|
-
def self?.values: -> ::Array[Orb::
|
557
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration::duration_unit]
|
586
558
|
end
|
587
559
|
end
|
588
560
|
end
|
589
561
|
|
590
562
|
type tiered =
|
591
563
|
{
|
592
|
-
cadence: Orb::
|
564
|
+
cadence: Orb::PlanCreateParams::Price::Tiered::cadence,
|
593
565
|
item_id: String,
|
594
566
|
model_type: :tiered,
|
595
567
|
name: String,
|
596
|
-
tiered_config: Orb::
|
568
|
+
tiered_config: Orb::PlanCreateParams::Price::Tiered::TieredConfig,
|
597
569
|
billable_metric_id: String?,
|
598
570
|
billed_in_advance: bool?,
|
599
|
-
billing_cycle_configuration: Orb::
|
571
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration?,
|
600
572
|
conversion_rate: Float?,
|
601
573
|
currency: String?,
|
602
574
|
external_price_id: String?,
|
603
575
|
fixed_price_quantity: Float?,
|
604
576
|
invoice_grouping_key: String?,
|
605
|
-
invoicing_cycle_configuration: Orb::
|
577
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration?,
|
606
578
|
metadata: ::Hash[Symbol, String?]?
|
607
579
|
}
|
608
580
|
|
609
581
|
class Tiered < Orb::Internal::Type::BaseModel
|
610
|
-
attr_accessor cadence: Orb::
|
582
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::Tiered::cadence
|
611
583
|
|
612
584
|
attr_accessor item_id: String
|
613
585
|
|
@@ -615,13 +587,13 @@ module Orb
|
|
615
587
|
|
616
588
|
attr_accessor name: String
|
617
589
|
|
618
|
-
attr_accessor tiered_config: Orb::
|
590
|
+
attr_accessor tiered_config: Orb::PlanCreateParams::Price::Tiered::TieredConfig
|
619
591
|
|
620
592
|
attr_accessor billable_metric_id: String?
|
621
593
|
|
622
594
|
attr_accessor billed_in_advance: bool?
|
623
595
|
|
624
|
-
attr_accessor billing_cycle_configuration: Orb::
|
596
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration?
|
625
597
|
|
626
598
|
attr_accessor conversion_rate: Float?
|
627
599
|
|
@@ -633,30 +605,28 @@ module Orb
|
|
633
605
|
|
634
606
|
attr_accessor invoice_grouping_key: String?
|
635
607
|
|
636
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
608
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration?
|
637
609
|
|
638
610
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
639
611
|
|
640
612
|
def initialize: (
|
641
|
-
cadence: Orb::
|
613
|
+
cadence: Orb::PlanCreateParams::Price::Tiered::cadence,
|
642
614
|
item_id: String,
|
643
615
|
name: String,
|
644
|
-
tiered_config: Orb::
|
616
|
+
tiered_config: Orb::PlanCreateParams::Price::Tiered::TieredConfig,
|
645
617
|
?billable_metric_id: String?,
|
646
618
|
?billed_in_advance: bool?,
|
647
|
-
?billing_cycle_configuration: Orb::
|
619
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration?,
|
648
620
|
?conversion_rate: Float?,
|
649
621
|
?currency: String?,
|
650
622
|
?external_price_id: String?,
|
651
623
|
?fixed_price_quantity: Float?,
|
652
624
|
?invoice_grouping_key: String?,
|
653
|
-
?invoicing_cycle_configuration: Orb::
|
625
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration?,
|
654
626
|
?metadata: ::Hash[Symbol, String?]?,
|
655
627
|
?model_type: :tiered
|
656
628
|
) -> void
|
657
629
|
|
658
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::tiered
|
659
|
-
|
660
630
|
type cadence =
|
661
631
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
662
632
|
|
@@ -670,23 +640,21 @@ module Orb
|
|
670
640
|
ONE_TIME: :one_time
|
671
641
|
CUSTOM: :custom
|
672
642
|
|
673
|
-
def self?.values: -> ::Array[Orb::
|
643
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Tiered::cadence]
|
674
644
|
end
|
675
645
|
|
676
646
|
type tiered_config =
|
677
647
|
{
|
678
|
-
tiers: ::Array[Orb::
|
648
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::Tiered::TieredConfig::Tier]
|
679
649
|
}
|
680
650
|
|
681
651
|
class TieredConfig < Orb::Internal::Type::BaseModel
|
682
|
-
attr_accessor tiers: ::Array[Orb::
|
652
|
+
attr_accessor tiers: ::Array[Orb::PlanCreateParams::Price::Tiered::TieredConfig::Tier]
|
683
653
|
|
684
654
|
def initialize: (
|
685
|
-
tiers: ::Array[Orb::
|
655
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::Tiered::TieredConfig::Tier]
|
686
656
|
) -> void
|
687
657
|
|
688
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Tiered::tiered_config
|
689
|
-
|
690
658
|
type tier =
|
691
659
|
{ first_unit: Float, unit_amount: String, last_unit: Float? }
|
692
660
|
|
@@ -702,29 +670,25 @@ module Orb
|
|
702
670
|
unit_amount: String,
|
703
671
|
?last_unit: Float?
|
704
672
|
) -> void
|
705
|
-
|
706
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Tiered::TieredConfig::tier
|
707
673
|
end
|
708
674
|
end
|
709
675
|
|
710
676
|
type billing_cycle_configuration =
|
711
677
|
{
|
712
678
|
duration: Integer,
|
713
|
-
duration_unit: Orb::
|
679
|
+
duration_unit: Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration::duration_unit
|
714
680
|
}
|
715
681
|
|
716
682
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
717
683
|
attr_accessor duration: Integer
|
718
684
|
|
719
|
-
attr_accessor duration_unit: Orb::
|
685
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration::duration_unit
|
720
686
|
|
721
687
|
def initialize: (
|
722
688
|
duration: Integer,
|
723
|
-
duration_unit: Orb::
|
689
|
+
duration_unit: Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration::duration_unit
|
724
690
|
) -> void
|
725
691
|
|
726
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Tiered::billing_cycle_configuration
|
727
|
-
|
728
692
|
type duration_unit = :day | :month
|
729
693
|
|
730
694
|
module DurationUnit
|
@@ -733,28 +697,26 @@ module Orb
|
|
733
697
|
DAY: :day
|
734
698
|
MONTH: :month
|
735
699
|
|
736
|
-
def self?.values: -> ::Array[Orb::
|
700
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration::duration_unit]
|
737
701
|
end
|
738
702
|
end
|
739
703
|
|
740
704
|
type invoicing_cycle_configuration =
|
741
705
|
{
|
742
706
|
duration: Integer,
|
743
|
-
duration_unit: Orb::
|
707
|
+
duration_unit: Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration::duration_unit
|
744
708
|
}
|
745
709
|
|
746
710
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
747
711
|
attr_accessor duration: Integer
|
748
712
|
|
749
|
-
attr_accessor duration_unit: Orb::
|
713
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration::duration_unit
|
750
714
|
|
751
715
|
def initialize: (
|
752
716
|
duration: Integer,
|
753
|
-
duration_unit: Orb::
|
717
|
+
duration_unit: Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration::duration_unit
|
754
718
|
) -> void
|
755
719
|
|
756
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Tiered::invoicing_cycle_configuration
|
757
|
-
|
758
720
|
type duration_unit = :day | :month
|
759
721
|
|
760
722
|
module DurationUnit
|
@@ -763,32 +725,32 @@ module Orb
|
|
763
725
|
DAY: :day
|
764
726
|
MONTH: :month
|
765
727
|
|
766
|
-
def self?.values: -> ::Array[Orb::
|
728
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration::duration_unit]
|
767
729
|
end
|
768
730
|
end
|
769
731
|
end
|
770
732
|
|
771
733
|
type tiered_bps =
|
772
734
|
{
|
773
|
-
cadence: Orb::
|
735
|
+
cadence: Orb::PlanCreateParams::Price::TieredBps::cadence,
|
774
736
|
item_id: String,
|
775
737
|
model_type: :tiered_bps,
|
776
738
|
name: String,
|
777
|
-
tiered_bps_config: Orb::
|
739
|
+
tiered_bps_config: Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig,
|
778
740
|
billable_metric_id: String?,
|
779
741
|
billed_in_advance: bool?,
|
780
|
-
billing_cycle_configuration: Orb::
|
742
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration?,
|
781
743
|
conversion_rate: Float?,
|
782
744
|
currency: String?,
|
783
745
|
external_price_id: String?,
|
784
746
|
fixed_price_quantity: Float?,
|
785
747
|
invoice_grouping_key: String?,
|
786
|
-
invoicing_cycle_configuration: Orb::
|
748
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration?,
|
787
749
|
metadata: ::Hash[Symbol, String?]?
|
788
750
|
}
|
789
751
|
|
790
752
|
class TieredBps < Orb::Internal::Type::BaseModel
|
791
|
-
attr_accessor cadence: Orb::
|
753
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::TieredBps::cadence
|
792
754
|
|
793
755
|
attr_accessor item_id: String
|
794
756
|
|
@@ -796,13 +758,13 @@ module Orb
|
|
796
758
|
|
797
759
|
attr_accessor name: String
|
798
760
|
|
799
|
-
attr_accessor tiered_bps_config: Orb::
|
761
|
+
attr_accessor tiered_bps_config: Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig
|
800
762
|
|
801
763
|
attr_accessor billable_metric_id: String?
|
802
764
|
|
803
765
|
attr_accessor billed_in_advance: bool?
|
804
766
|
|
805
|
-
attr_accessor billing_cycle_configuration: Orb::
|
767
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration?
|
806
768
|
|
807
769
|
attr_accessor conversion_rate: Float?
|
808
770
|
|
@@ -814,30 +776,28 @@ module Orb
|
|
814
776
|
|
815
777
|
attr_accessor invoice_grouping_key: String?
|
816
778
|
|
817
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
779
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration?
|
818
780
|
|
819
781
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
820
782
|
|
821
783
|
def initialize: (
|
822
|
-
cadence: Orb::
|
784
|
+
cadence: Orb::PlanCreateParams::Price::TieredBps::cadence,
|
823
785
|
item_id: String,
|
824
786
|
name: String,
|
825
|
-
tiered_bps_config: Orb::
|
787
|
+
tiered_bps_config: Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig,
|
826
788
|
?billable_metric_id: String?,
|
827
789
|
?billed_in_advance: bool?,
|
828
|
-
?billing_cycle_configuration: Orb::
|
790
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration?,
|
829
791
|
?conversion_rate: Float?,
|
830
792
|
?currency: String?,
|
831
793
|
?external_price_id: String?,
|
832
794
|
?fixed_price_quantity: Float?,
|
833
795
|
?invoice_grouping_key: String?,
|
834
|
-
?invoicing_cycle_configuration: Orb::
|
796
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration?,
|
835
797
|
?metadata: ::Hash[Symbol, String?]?,
|
836
798
|
?model_type: :tiered_bps
|
837
799
|
) -> void
|
838
800
|
|
839
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::tiered_bps
|
840
|
-
|
841
801
|
type cadence =
|
842
802
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
843
803
|
|
@@ -851,23 +811,21 @@ module Orb
|
|
851
811
|
ONE_TIME: :one_time
|
852
812
|
CUSTOM: :custom
|
853
813
|
|
854
|
-
def self?.values: -> ::Array[Orb::
|
814
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredBps::cadence]
|
855
815
|
end
|
856
816
|
|
857
817
|
type tiered_bps_config =
|
858
818
|
{
|
859
|
-
tiers: ::Array[Orb::
|
819
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig::Tier]
|
860
820
|
}
|
861
821
|
|
862
822
|
class TieredBpsConfig < Orb::Internal::Type::BaseModel
|
863
|
-
attr_accessor tiers: ::Array[Orb::
|
823
|
+
attr_accessor tiers: ::Array[Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig::Tier]
|
864
824
|
|
865
825
|
def initialize: (
|
866
|
-
tiers: ::Array[Orb::
|
826
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig::Tier]
|
867
827
|
) -> void
|
868
828
|
|
869
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredBps::tiered_bps_config
|
870
|
-
|
871
829
|
type tier =
|
872
830
|
{
|
873
831
|
bps: Float,
|
@@ -891,29 +849,25 @@ module Orb
|
|
891
849
|
?maximum_amount: String?,
|
892
850
|
?per_unit_maximum: String?
|
893
851
|
) -> void
|
894
|
-
|
895
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredBps::TieredBpsConfig::tier
|
896
852
|
end
|
897
853
|
end
|
898
854
|
|
899
855
|
type billing_cycle_configuration =
|
900
856
|
{
|
901
857
|
duration: Integer,
|
902
|
-
duration_unit: Orb::
|
858
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration::duration_unit
|
903
859
|
}
|
904
860
|
|
905
861
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
906
862
|
attr_accessor duration: Integer
|
907
863
|
|
908
|
-
attr_accessor duration_unit: Orb::
|
864
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration::duration_unit
|
909
865
|
|
910
866
|
def initialize: (
|
911
867
|
duration: Integer,
|
912
|
-
duration_unit: Orb::
|
868
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration::duration_unit
|
913
869
|
) -> void
|
914
870
|
|
915
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredBps::billing_cycle_configuration
|
916
|
-
|
917
871
|
type duration_unit = :day | :month
|
918
872
|
|
919
873
|
module DurationUnit
|
@@ -922,28 +876,26 @@ module Orb
|
|
922
876
|
DAY: :day
|
923
877
|
MONTH: :month
|
924
878
|
|
925
|
-
def self?.values: -> ::Array[Orb::
|
879
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration::duration_unit]
|
926
880
|
end
|
927
881
|
end
|
928
882
|
|
929
883
|
type invoicing_cycle_configuration =
|
930
884
|
{
|
931
885
|
duration: Integer,
|
932
|
-
duration_unit: Orb::
|
886
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration::duration_unit
|
933
887
|
}
|
934
888
|
|
935
889
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
936
890
|
attr_accessor duration: Integer
|
937
891
|
|
938
|
-
attr_accessor duration_unit: Orb::
|
892
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration::duration_unit
|
939
893
|
|
940
894
|
def initialize: (
|
941
895
|
duration: Integer,
|
942
|
-
duration_unit: Orb::
|
896
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration::duration_unit
|
943
897
|
) -> void
|
944
898
|
|
945
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredBps::invoicing_cycle_configuration
|
946
|
-
|
947
899
|
type duration_unit = :day | :month
|
948
900
|
|
949
901
|
module DurationUnit
|
@@ -952,34 +904,34 @@ module Orb
|
|
952
904
|
DAY: :day
|
953
905
|
MONTH: :month
|
954
906
|
|
955
|
-
def self?.values: -> ::Array[Orb::
|
907
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration::duration_unit]
|
956
908
|
end
|
957
909
|
end
|
958
910
|
end
|
959
911
|
|
960
912
|
type bps =
|
961
913
|
{
|
962
|
-
bps_config: Orb::
|
963
|
-
cadence: Orb::
|
914
|
+
bps_config: Orb::PlanCreateParams::Price::Bps::BpsConfig,
|
915
|
+
cadence: Orb::PlanCreateParams::Price::Bps::cadence,
|
964
916
|
item_id: String,
|
965
917
|
model_type: :bps,
|
966
918
|
name: String,
|
967
919
|
billable_metric_id: String?,
|
968
920
|
billed_in_advance: bool?,
|
969
|
-
billing_cycle_configuration: Orb::
|
921
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration?,
|
970
922
|
conversion_rate: Float?,
|
971
923
|
currency: String?,
|
972
924
|
external_price_id: String?,
|
973
925
|
fixed_price_quantity: Float?,
|
974
926
|
invoice_grouping_key: String?,
|
975
|
-
invoicing_cycle_configuration: Orb::
|
927
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration?,
|
976
928
|
metadata: ::Hash[Symbol, String?]?
|
977
929
|
}
|
978
930
|
|
979
931
|
class Bps < Orb::Internal::Type::BaseModel
|
980
|
-
attr_accessor bps_config: Orb::
|
932
|
+
attr_accessor bps_config: Orb::PlanCreateParams::Price::Bps::BpsConfig
|
981
933
|
|
982
|
-
attr_accessor cadence: Orb::
|
934
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::Bps::cadence
|
983
935
|
|
984
936
|
attr_accessor item_id: String
|
985
937
|
|
@@ -991,7 +943,7 @@ module Orb
|
|
991
943
|
|
992
944
|
attr_accessor billed_in_advance: bool?
|
993
945
|
|
994
|
-
attr_accessor billing_cycle_configuration: Orb::
|
946
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration?
|
995
947
|
|
996
948
|
attr_accessor conversion_rate: Float?
|
997
949
|
|
@@ -1003,30 +955,28 @@ module Orb
|
|
1003
955
|
|
1004
956
|
attr_accessor invoice_grouping_key: String?
|
1005
957
|
|
1006
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
958
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration?
|
1007
959
|
|
1008
960
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
1009
961
|
|
1010
962
|
def initialize: (
|
1011
|
-
bps_config: Orb::
|
1012
|
-
cadence: Orb::
|
963
|
+
bps_config: Orb::PlanCreateParams::Price::Bps::BpsConfig,
|
964
|
+
cadence: Orb::PlanCreateParams::Price::Bps::cadence,
|
1013
965
|
item_id: String,
|
1014
966
|
name: String,
|
1015
967
|
?billable_metric_id: String?,
|
1016
968
|
?billed_in_advance: bool?,
|
1017
|
-
?billing_cycle_configuration: Orb::
|
969
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration?,
|
1018
970
|
?conversion_rate: Float?,
|
1019
971
|
?currency: String?,
|
1020
972
|
?external_price_id: String?,
|
1021
973
|
?fixed_price_quantity: Float?,
|
1022
974
|
?invoice_grouping_key: String?,
|
1023
|
-
?invoicing_cycle_configuration: Orb::
|
975
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration?,
|
1024
976
|
?metadata: ::Hash[Symbol, String?]?,
|
1025
977
|
?model_type: :bps
|
1026
978
|
) -> void
|
1027
979
|
|
1028
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::bps
|
1029
|
-
|
1030
980
|
type bps_config = { bps: Float, per_unit_maximum: String? }
|
1031
981
|
|
1032
982
|
class BpsConfig < Orb::Internal::Type::BaseModel
|
@@ -1035,8 +985,6 @@ module Orb
|
|
1035
985
|
attr_accessor per_unit_maximum: String?
|
1036
986
|
|
1037
987
|
def initialize: (bps: Float, ?per_unit_maximum: String?) -> void
|
1038
|
-
|
1039
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Bps::bps_config
|
1040
988
|
end
|
1041
989
|
|
1042
990
|
type cadence =
|
@@ -1052,27 +1000,25 @@ module Orb
|
|
1052
1000
|
ONE_TIME: :one_time
|
1053
1001
|
CUSTOM: :custom
|
1054
1002
|
|
1055
|
-
def self?.values: -> ::Array[Orb::
|
1003
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Bps::cadence]
|
1056
1004
|
end
|
1057
1005
|
|
1058
1006
|
type billing_cycle_configuration =
|
1059
1007
|
{
|
1060
1008
|
duration: Integer,
|
1061
|
-
duration_unit: Orb::
|
1009
|
+
duration_unit: Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration::duration_unit
|
1062
1010
|
}
|
1063
1011
|
|
1064
1012
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1065
1013
|
attr_accessor duration: Integer
|
1066
1014
|
|
1067
|
-
attr_accessor duration_unit: Orb::
|
1015
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration::duration_unit
|
1068
1016
|
|
1069
1017
|
def initialize: (
|
1070
1018
|
duration: Integer,
|
1071
|
-
duration_unit: Orb::
|
1019
|
+
duration_unit: Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration::duration_unit
|
1072
1020
|
) -> void
|
1073
1021
|
|
1074
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Bps::billing_cycle_configuration
|
1075
|
-
|
1076
1022
|
type duration_unit = :day | :month
|
1077
1023
|
|
1078
1024
|
module DurationUnit
|
@@ -1081,28 +1027,26 @@ module Orb
|
|
1081
1027
|
DAY: :day
|
1082
1028
|
MONTH: :month
|
1083
1029
|
|
1084
|
-
def self?.values: -> ::Array[Orb::
|
1030
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration::duration_unit]
|
1085
1031
|
end
|
1086
1032
|
end
|
1087
1033
|
|
1088
1034
|
type invoicing_cycle_configuration =
|
1089
1035
|
{
|
1090
1036
|
duration: Integer,
|
1091
|
-
duration_unit: Orb::
|
1037
|
+
duration_unit: Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration::duration_unit
|
1092
1038
|
}
|
1093
1039
|
|
1094
1040
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1095
1041
|
attr_accessor duration: Integer
|
1096
1042
|
|
1097
|
-
attr_accessor duration_unit: Orb::
|
1043
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration::duration_unit
|
1098
1044
|
|
1099
1045
|
def initialize: (
|
1100
1046
|
duration: Integer,
|
1101
|
-
duration_unit: Orb::
|
1047
|
+
duration_unit: Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration::duration_unit
|
1102
1048
|
) -> void
|
1103
1049
|
|
1104
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Bps::invoicing_cycle_configuration
|
1105
|
-
|
1106
1050
|
type duration_unit = :day | :month
|
1107
1051
|
|
1108
1052
|
module DurationUnit
|
@@ -1111,34 +1055,34 @@ module Orb
|
|
1111
1055
|
DAY: :day
|
1112
1056
|
MONTH: :month
|
1113
1057
|
|
1114
|
-
def self?.values: -> ::Array[Orb::
|
1058
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration::duration_unit]
|
1115
1059
|
end
|
1116
1060
|
end
|
1117
1061
|
end
|
1118
1062
|
|
1119
1063
|
type bulk_bps =
|
1120
1064
|
{
|
1121
|
-
bulk_bps_config: Orb::
|
1122
|
-
cadence: Orb::
|
1065
|
+
bulk_bps_config: Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig,
|
1066
|
+
cadence: Orb::PlanCreateParams::Price::BulkBps::cadence,
|
1123
1067
|
item_id: String,
|
1124
1068
|
model_type: :bulk_bps,
|
1125
1069
|
name: String,
|
1126
1070
|
billable_metric_id: String?,
|
1127
1071
|
billed_in_advance: bool?,
|
1128
|
-
billing_cycle_configuration: Orb::
|
1072
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration?,
|
1129
1073
|
conversion_rate: Float?,
|
1130
1074
|
currency: String?,
|
1131
1075
|
external_price_id: String?,
|
1132
1076
|
fixed_price_quantity: Float?,
|
1133
1077
|
invoice_grouping_key: String?,
|
1134
|
-
invoicing_cycle_configuration: Orb::
|
1078
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration?,
|
1135
1079
|
metadata: ::Hash[Symbol, String?]?
|
1136
1080
|
}
|
1137
1081
|
|
1138
1082
|
class BulkBps < Orb::Internal::Type::BaseModel
|
1139
|
-
attr_accessor bulk_bps_config: Orb::
|
1083
|
+
attr_accessor bulk_bps_config: Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig
|
1140
1084
|
|
1141
|
-
attr_accessor cadence: Orb::
|
1085
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::BulkBps::cadence
|
1142
1086
|
|
1143
1087
|
attr_accessor item_id: String
|
1144
1088
|
|
@@ -1150,7 +1094,7 @@ module Orb
|
|
1150
1094
|
|
1151
1095
|
attr_accessor billed_in_advance: bool?
|
1152
1096
|
|
1153
|
-
attr_accessor billing_cycle_configuration: Orb::
|
1097
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration?
|
1154
1098
|
|
1155
1099
|
attr_accessor conversion_rate: Float?
|
1156
1100
|
|
@@ -1162,44 +1106,40 @@ module Orb
|
|
1162
1106
|
|
1163
1107
|
attr_accessor invoice_grouping_key: String?
|
1164
1108
|
|
1165
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
1109
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration?
|
1166
1110
|
|
1167
1111
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
1168
1112
|
|
1169
1113
|
def initialize: (
|
1170
|
-
bulk_bps_config: Orb::
|
1171
|
-
cadence: Orb::
|
1114
|
+
bulk_bps_config: Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig,
|
1115
|
+
cadence: Orb::PlanCreateParams::Price::BulkBps::cadence,
|
1172
1116
|
item_id: String,
|
1173
1117
|
name: String,
|
1174
1118
|
?billable_metric_id: String?,
|
1175
1119
|
?billed_in_advance: bool?,
|
1176
|
-
?billing_cycle_configuration: Orb::
|
1120
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration?,
|
1177
1121
|
?conversion_rate: Float?,
|
1178
1122
|
?currency: String?,
|
1179
1123
|
?external_price_id: String?,
|
1180
1124
|
?fixed_price_quantity: Float?,
|
1181
1125
|
?invoice_grouping_key: String?,
|
1182
|
-
?invoicing_cycle_configuration: Orb::
|
1126
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration?,
|
1183
1127
|
?metadata: ::Hash[Symbol, String?]?,
|
1184
1128
|
?model_type: :bulk_bps
|
1185
1129
|
) -> void
|
1186
1130
|
|
1187
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::bulk_bps
|
1188
|
-
|
1189
1131
|
type bulk_bps_config =
|
1190
1132
|
{
|
1191
|
-
tiers: ::Array[Orb::
|
1133
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig::Tier]
|
1192
1134
|
}
|
1193
1135
|
|
1194
1136
|
class BulkBpsConfig < Orb::Internal::Type::BaseModel
|
1195
|
-
attr_accessor tiers: ::Array[Orb::
|
1137
|
+
attr_accessor tiers: ::Array[Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig::Tier]
|
1196
1138
|
|
1197
1139
|
def initialize: (
|
1198
|
-
tiers: ::Array[Orb::
|
1140
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig::Tier]
|
1199
1141
|
) -> void
|
1200
1142
|
|
1201
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::BulkBps::bulk_bps_config
|
1202
|
-
|
1203
1143
|
type tier =
|
1204
1144
|
{ bps: Float, maximum_amount: String?, per_unit_maximum: String? }
|
1205
1145
|
|
@@ -1215,8 +1155,6 @@ module Orb
|
|
1215
1155
|
?maximum_amount: String?,
|
1216
1156
|
?per_unit_maximum: String?
|
1217
1157
|
) -> void
|
1218
|
-
|
1219
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::BulkBps::BulkBpsConfig::tier
|
1220
1158
|
end
|
1221
1159
|
end
|
1222
1160
|
|
@@ -1233,27 +1171,25 @@ module Orb
|
|
1233
1171
|
ONE_TIME: :one_time
|
1234
1172
|
CUSTOM: :custom
|
1235
1173
|
|
1236
|
-
def self?.values: -> ::Array[Orb::
|
1174
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::BulkBps::cadence]
|
1237
1175
|
end
|
1238
1176
|
|
1239
1177
|
type billing_cycle_configuration =
|
1240
1178
|
{
|
1241
1179
|
duration: Integer,
|
1242
|
-
duration_unit: Orb::
|
1180
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration::duration_unit
|
1243
1181
|
}
|
1244
1182
|
|
1245
1183
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1246
1184
|
attr_accessor duration: Integer
|
1247
1185
|
|
1248
|
-
attr_accessor duration_unit: Orb::
|
1186
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration::duration_unit
|
1249
1187
|
|
1250
1188
|
def initialize: (
|
1251
1189
|
duration: Integer,
|
1252
|
-
duration_unit: Orb::
|
1190
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration::duration_unit
|
1253
1191
|
) -> void
|
1254
1192
|
|
1255
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::BulkBps::billing_cycle_configuration
|
1256
|
-
|
1257
1193
|
type duration_unit = :day | :month
|
1258
1194
|
|
1259
1195
|
module DurationUnit
|
@@ -1262,28 +1198,26 @@ module Orb
|
|
1262
1198
|
DAY: :day
|
1263
1199
|
MONTH: :month
|
1264
1200
|
|
1265
|
-
def self?.values: -> ::Array[Orb::
|
1201
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration::duration_unit]
|
1266
1202
|
end
|
1267
1203
|
end
|
1268
1204
|
|
1269
1205
|
type invoicing_cycle_configuration =
|
1270
1206
|
{
|
1271
1207
|
duration: Integer,
|
1272
|
-
duration_unit: Orb::
|
1208
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration::duration_unit
|
1273
1209
|
}
|
1274
1210
|
|
1275
1211
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1276
1212
|
attr_accessor duration: Integer
|
1277
1213
|
|
1278
|
-
attr_accessor duration_unit: Orb::
|
1214
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration::duration_unit
|
1279
1215
|
|
1280
1216
|
def initialize: (
|
1281
1217
|
duration: Integer,
|
1282
|
-
duration_unit: Orb::
|
1218
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration::duration_unit
|
1283
1219
|
) -> void
|
1284
1220
|
|
1285
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::BulkBps::invoicing_cycle_configuration
|
1286
|
-
|
1287
1221
|
type duration_unit = :day | :month
|
1288
1222
|
|
1289
1223
|
module DurationUnit
|
@@ -1292,34 +1226,34 @@ module Orb
|
|
1292
1226
|
DAY: :day
|
1293
1227
|
MONTH: :month
|
1294
1228
|
|
1295
|
-
def self?.values: -> ::Array[Orb::
|
1229
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration::duration_unit]
|
1296
1230
|
end
|
1297
1231
|
end
|
1298
1232
|
end
|
1299
1233
|
|
1300
1234
|
type bulk =
|
1301
1235
|
{
|
1302
|
-
bulk_config: Orb::
|
1303
|
-
cadence: Orb::
|
1236
|
+
bulk_config: Orb::PlanCreateParams::Price::Bulk::BulkConfig,
|
1237
|
+
cadence: Orb::PlanCreateParams::Price::Bulk::cadence,
|
1304
1238
|
item_id: String,
|
1305
1239
|
model_type: :bulk,
|
1306
1240
|
name: String,
|
1307
1241
|
billable_metric_id: String?,
|
1308
1242
|
billed_in_advance: bool?,
|
1309
|
-
billing_cycle_configuration: Orb::
|
1243
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration?,
|
1310
1244
|
conversion_rate: Float?,
|
1311
1245
|
currency: String?,
|
1312
1246
|
external_price_id: String?,
|
1313
1247
|
fixed_price_quantity: Float?,
|
1314
1248
|
invoice_grouping_key: String?,
|
1315
|
-
invoicing_cycle_configuration: Orb::
|
1249
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration?,
|
1316
1250
|
metadata: ::Hash[Symbol, String?]?
|
1317
1251
|
}
|
1318
1252
|
|
1319
1253
|
class Bulk < Orb::Internal::Type::BaseModel
|
1320
|
-
attr_accessor bulk_config: Orb::
|
1254
|
+
attr_accessor bulk_config: Orb::PlanCreateParams::Price::Bulk::BulkConfig
|
1321
1255
|
|
1322
|
-
attr_accessor cadence: Orb::
|
1256
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::Bulk::cadence
|
1323
1257
|
|
1324
1258
|
attr_accessor item_id: String
|
1325
1259
|
|
@@ -1331,7 +1265,7 @@ module Orb
|
|
1331
1265
|
|
1332
1266
|
attr_accessor billed_in_advance: bool?
|
1333
1267
|
|
1334
|
-
attr_accessor billing_cycle_configuration: Orb::
|
1268
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration?
|
1335
1269
|
|
1336
1270
|
attr_accessor conversion_rate: Float?
|
1337
1271
|
|
@@ -1343,44 +1277,40 @@ module Orb
|
|
1343
1277
|
|
1344
1278
|
attr_accessor invoice_grouping_key: String?
|
1345
1279
|
|
1346
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
1280
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration?
|
1347
1281
|
|
1348
1282
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
1349
1283
|
|
1350
1284
|
def initialize: (
|
1351
|
-
bulk_config: Orb::
|
1352
|
-
cadence: Orb::
|
1285
|
+
bulk_config: Orb::PlanCreateParams::Price::Bulk::BulkConfig,
|
1286
|
+
cadence: Orb::PlanCreateParams::Price::Bulk::cadence,
|
1353
1287
|
item_id: String,
|
1354
1288
|
name: String,
|
1355
1289
|
?billable_metric_id: String?,
|
1356
1290
|
?billed_in_advance: bool?,
|
1357
|
-
?billing_cycle_configuration: Orb::
|
1291
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration?,
|
1358
1292
|
?conversion_rate: Float?,
|
1359
1293
|
?currency: String?,
|
1360
1294
|
?external_price_id: String?,
|
1361
1295
|
?fixed_price_quantity: Float?,
|
1362
1296
|
?invoice_grouping_key: String?,
|
1363
|
-
?invoicing_cycle_configuration: Orb::
|
1297
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration?,
|
1364
1298
|
?metadata: ::Hash[Symbol, String?]?,
|
1365
1299
|
?model_type: :bulk
|
1366
1300
|
) -> void
|
1367
1301
|
|
1368
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::bulk
|
1369
|
-
|
1370
1302
|
type bulk_config =
|
1371
1303
|
{
|
1372
|
-
tiers: ::Array[Orb::
|
1304
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::Bulk::BulkConfig::Tier]
|
1373
1305
|
}
|
1374
1306
|
|
1375
1307
|
class BulkConfig < Orb::Internal::Type::BaseModel
|
1376
|
-
attr_accessor tiers: ::Array[Orb::
|
1308
|
+
attr_accessor tiers: ::Array[Orb::PlanCreateParams::Price::Bulk::BulkConfig::Tier]
|
1377
1309
|
|
1378
1310
|
def initialize: (
|
1379
|
-
tiers: ::Array[Orb::
|
1311
|
+
tiers: ::Array[Orb::PlanCreateParams::Price::Bulk::BulkConfig::Tier]
|
1380
1312
|
) -> void
|
1381
1313
|
|
1382
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Bulk::bulk_config
|
1383
|
-
|
1384
1314
|
type tier = { unit_amount: String, maximum_units: Float? }
|
1385
1315
|
|
1386
1316
|
class Tier < Orb::Internal::Type::BaseModel
|
@@ -1392,8 +1322,6 @@ module Orb
|
|
1392
1322
|
unit_amount: String,
|
1393
1323
|
?maximum_units: Float?
|
1394
1324
|
) -> void
|
1395
|
-
|
1396
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Bulk::BulkConfig::tier
|
1397
1325
|
end
|
1398
1326
|
end
|
1399
1327
|
|
@@ -1410,27 +1338,25 @@ module Orb
|
|
1410
1338
|
ONE_TIME: :one_time
|
1411
1339
|
CUSTOM: :custom
|
1412
1340
|
|
1413
|
-
def self?.values: -> ::Array[Orb::
|
1341
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Bulk::cadence]
|
1414
1342
|
end
|
1415
1343
|
|
1416
1344
|
type billing_cycle_configuration =
|
1417
1345
|
{
|
1418
1346
|
duration: Integer,
|
1419
|
-
duration_unit: Orb::
|
1347
|
+
duration_unit: Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration::duration_unit
|
1420
1348
|
}
|
1421
1349
|
|
1422
1350
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1423
1351
|
attr_accessor duration: Integer
|
1424
1352
|
|
1425
|
-
attr_accessor duration_unit: Orb::
|
1353
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration::duration_unit
|
1426
1354
|
|
1427
1355
|
def initialize: (
|
1428
1356
|
duration: Integer,
|
1429
|
-
duration_unit: Orb::
|
1357
|
+
duration_unit: Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration::duration_unit
|
1430
1358
|
) -> void
|
1431
1359
|
|
1432
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Bulk::billing_cycle_configuration
|
1433
|
-
|
1434
1360
|
type duration_unit = :day | :month
|
1435
1361
|
|
1436
1362
|
module DurationUnit
|
@@ -1439,28 +1365,26 @@ module Orb
|
|
1439
1365
|
DAY: :day
|
1440
1366
|
MONTH: :month
|
1441
1367
|
|
1442
|
-
def self?.values: -> ::Array[Orb::
|
1368
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration::duration_unit]
|
1443
1369
|
end
|
1444
1370
|
end
|
1445
1371
|
|
1446
1372
|
type invoicing_cycle_configuration =
|
1447
1373
|
{
|
1448
1374
|
duration: Integer,
|
1449
|
-
duration_unit: Orb::
|
1375
|
+
duration_unit: Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration::duration_unit
|
1450
1376
|
}
|
1451
1377
|
|
1452
1378
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1453
1379
|
attr_accessor duration: Integer
|
1454
1380
|
|
1455
|
-
attr_accessor duration_unit: Orb::
|
1381
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration::duration_unit
|
1456
1382
|
|
1457
1383
|
def initialize: (
|
1458
1384
|
duration: Integer,
|
1459
|
-
duration_unit: Orb::
|
1385
|
+
duration_unit: Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration::duration_unit
|
1460
1386
|
) -> void
|
1461
1387
|
|
1462
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::Bulk::invoicing_cycle_configuration
|
1463
|
-
|
1464
1388
|
type duration_unit = :day | :month
|
1465
1389
|
|
1466
1390
|
module DurationUnit
|
@@ -1469,32 +1393,32 @@ module Orb
|
|
1469
1393
|
DAY: :day
|
1470
1394
|
MONTH: :month
|
1471
1395
|
|
1472
|
-
def self?.values: -> ::Array[Orb::
|
1396
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration::duration_unit]
|
1473
1397
|
end
|
1474
1398
|
end
|
1475
1399
|
end
|
1476
1400
|
|
1477
1401
|
type threshold_total_amount =
|
1478
1402
|
{
|
1479
|
-
cadence: Orb::
|
1403
|
+
cadence: Orb::PlanCreateParams::Price::ThresholdTotalAmount::cadence,
|
1480
1404
|
item_id: String,
|
1481
1405
|
model_type: :threshold_total_amount,
|
1482
1406
|
name: String,
|
1483
1407
|
threshold_total_amount_config: ::Hash[Symbol, top],
|
1484
1408
|
billable_metric_id: String?,
|
1485
1409
|
billed_in_advance: bool?,
|
1486
|
-
billing_cycle_configuration: Orb::
|
1410
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration?,
|
1487
1411
|
conversion_rate: Float?,
|
1488
1412
|
currency: String?,
|
1489
1413
|
external_price_id: String?,
|
1490
1414
|
fixed_price_quantity: Float?,
|
1491
1415
|
invoice_grouping_key: String?,
|
1492
|
-
invoicing_cycle_configuration: Orb::
|
1416
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration?,
|
1493
1417
|
metadata: ::Hash[Symbol, String?]?
|
1494
1418
|
}
|
1495
1419
|
|
1496
1420
|
class ThresholdTotalAmount < Orb::Internal::Type::BaseModel
|
1497
|
-
attr_accessor cadence: Orb::
|
1421
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::ThresholdTotalAmount::cadence
|
1498
1422
|
|
1499
1423
|
attr_accessor item_id: String
|
1500
1424
|
|
@@ -1508,7 +1432,7 @@ module Orb
|
|
1508
1432
|
|
1509
1433
|
attr_accessor billed_in_advance: bool?
|
1510
1434
|
|
1511
|
-
attr_accessor billing_cycle_configuration: Orb::
|
1435
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration?
|
1512
1436
|
|
1513
1437
|
attr_accessor conversion_rate: Float?
|
1514
1438
|
|
@@ -1520,30 +1444,28 @@ module Orb
|
|
1520
1444
|
|
1521
1445
|
attr_accessor invoice_grouping_key: String?
|
1522
1446
|
|
1523
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
1447
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration?
|
1524
1448
|
|
1525
1449
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
1526
1450
|
|
1527
1451
|
def initialize: (
|
1528
|
-
cadence: Orb::
|
1452
|
+
cadence: Orb::PlanCreateParams::Price::ThresholdTotalAmount::cadence,
|
1529
1453
|
item_id: String,
|
1530
1454
|
name: String,
|
1531
1455
|
threshold_total_amount_config: ::Hash[Symbol, top],
|
1532
1456
|
?billable_metric_id: String?,
|
1533
1457
|
?billed_in_advance: bool?,
|
1534
|
-
?billing_cycle_configuration: Orb::
|
1458
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration?,
|
1535
1459
|
?conversion_rate: Float?,
|
1536
1460
|
?currency: String?,
|
1537
1461
|
?external_price_id: String?,
|
1538
1462
|
?fixed_price_quantity: Float?,
|
1539
1463
|
?invoice_grouping_key: String?,
|
1540
|
-
?invoicing_cycle_configuration: Orb::
|
1464
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration?,
|
1541
1465
|
?metadata: ::Hash[Symbol, String?]?,
|
1542
1466
|
?model_type: :threshold_total_amount
|
1543
1467
|
) -> void
|
1544
1468
|
|
1545
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::threshold_total_amount
|
1546
|
-
|
1547
1469
|
type cadence =
|
1548
1470
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
1549
1471
|
|
@@ -1557,27 +1479,25 @@ module Orb
|
|
1557
1479
|
ONE_TIME: :one_time
|
1558
1480
|
CUSTOM: :custom
|
1559
1481
|
|
1560
|
-
def self?.values: -> ::Array[Orb::
|
1482
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ThresholdTotalAmount::cadence]
|
1561
1483
|
end
|
1562
1484
|
|
1563
1485
|
type billing_cycle_configuration =
|
1564
1486
|
{
|
1565
1487
|
duration: Integer,
|
1566
|
-
duration_unit: Orb::
|
1488
|
+
duration_unit: Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration::duration_unit
|
1567
1489
|
}
|
1568
1490
|
|
1569
1491
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1570
1492
|
attr_accessor duration: Integer
|
1571
1493
|
|
1572
|
-
attr_accessor duration_unit: Orb::
|
1494
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration::duration_unit
|
1573
1495
|
|
1574
1496
|
def initialize: (
|
1575
1497
|
duration: Integer,
|
1576
|
-
duration_unit: Orb::
|
1498
|
+
duration_unit: Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration::duration_unit
|
1577
1499
|
) -> void
|
1578
1500
|
|
1579
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::ThresholdTotalAmount::billing_cycle_configuration
|
1580
|
-
|
1581
1501
|
type duration_unit = :day | :month
|
1582
1502
|
|
1583
1503
|
module DurationUnit
|
@@ -1586,28 +1506,26 @@ module Orb
|
|
1586
1506
|
DAY: :day
|
1587
1507
|
MONTH: :month
|
1588
1508
|
|
1589
|
-
def self?.values: -> ::Array[Orb::
|
1509
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration::duration_unit]
|
1590
1510
|
end
|
1591
1511
|
end
|
1592
1512
|
|
1593
1513
|
type invoicing_cycle_configuration =
|
1594
1514
|
{
|
1595
1515
|
duration: Integer,
|
1596
|
-
duration_unit: Orb::
|
1516
|
+
duration_unit: Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration::duration_unit
|
1597
1517
|
}
|
1598
1518
|
|
1599
1519
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1600
1520
|
attr_accessor duration: Integer
|
1601
1521
|
|
1602
|
-
attr_accessor duration_unit: Orb::
|
1522
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration::duration_unit
|
1603
1523
|
|
1604
1524
|
def initialize: (
|
1605
1525
|
duration: Integer,
|
1606
|
-
duration_unit: Orb::
|
1526
|
+
duration_unit: Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration::duration_unit
|
1607
1527
|
) -> void
|
1608
1528
|
|
1609
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::ThresholdTotalAmount::invoicing_cycle_configuration
|
1610
|
-
|
1611
1529
|
type duration_unit = :day | :month
|
1612
1530
|
|
1613
1531
|
module DurationUnit
|
@@ -1616,32 +1534,32 @@ module Orb
|
|
1616
1534
|
DAY: :day
|
1617
1535
|
MONTH: :month
|
1618
1536
|
|
1619
|
-
def self?.values: -> ::Array[Orb::
|
1537
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration::duration_unit]
|
1620
1538
|
end
|
1621
1539
|
end
|
1622
1540
|
end
|
1623
1541
|
|
1624
1542
|
type tiered_package =
|
1625
1543
|
{
|
1626
|
-
cadence: Orb::
|
1544
|
+
cadence: Orb::PlanCreateParams::Price::TieredPackage::cadence,
|
1627
1545
|
item_id: String,
|
1628
1546
|
model_type: :tiered_package,
|
1629
1547
|
name: String,
|
1630
1548
|
tiered_package_config: ::Hash[Symbol, top],
|
1631
1549
|
billable_metric_id: String?,
|
1632
1550
|
billed_in_advance: bool?,
|
1633
|
-
billing_cycle_configuration: Orb::
|
1551
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration?,
|
1634
1552
|
conversion_rate: Float?,
|
1635
1553
|
currency: String?,
|
1636
1554
|
external_price_id: String?,
|
1637
1555
|
fixed_price_quantity: Float?,
|
1638
1556
|
invoice_grouping_key: String?,
|
1639
|
-
invoicing_cycle_configuration: Orb::
|
1557
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration?,
|
1640
1558
|
metadata: ::Hash[Symbol, String?]?
|
1641
1559
|
}
|
1642
1560
|
|
1643
1561
|
class TieredPackage < Orb::Internal::Type::BaseModel
|
1644
|
-
attr_accessor cadence: Orb::
|
1562
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::TieredPackage::cadence
|
1645
1563
|
|
1646
1564
|
attr_accessor item_id: String
|
1647
1565
|
|
@@ -1655,7 +1573,7 @@ module Orb
|
|
1655
1573
|
|
1656
1574
|
attr_accessor billed_in_advance: bool?
|
1657
1575
|
|
1658
|
-
attr_accessor billing_cycle_configuration: Orb::
|
1576
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration?
|
1659
1577
|
|
1660
1578
|
attr_accessor conversion_rate: Float?
|
1661
1579
|
|
@@ -1667,30 +1585,28 @@ module Orb
|
|
1667
1585
|
|
1668
1586
|
attr_accessor invoice_grouping_key: String?
|
1669
1587
|
|
1670
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
1588
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration?
|
1671
1589
|
|
1672
1590
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
1673
1591
|
|
1674
1592
|
def initialize: (
|
1675
|
-
cadence: Orb::
|
1593
|
+
cadence: Orb::PlanCreateParams::Price::TieredPackage::cadence,
|
1676
1594
|
item_id: String,
|
1677
1595
|
name: String,
|
1678
1596
|
tiered_package_config: ::Hash[Symbol, top],
|
1679
1597
|
?billable_metric_id: String?,
|
1680
1598
|
?billed_in_advance: bool?,
|
1681
|
-
?billing_cycle_configuration: Orb::
|
1599
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration?,
|
1682
1600
|
?conversion_rate: Float?,
|
1683
1601
|
?currency: String?,
|
1684
1602
|
?external_price_id: String?,
|
1685
1603
|
?fixed_price_quantity: Float?,
|
1686
1604
|
?invoice_grouping_key: String?,
|
1687
|
-
?invoicing_cycle_configuration: Orb::
|
1605
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration?,
|
1688
1606
|
?metadata: ::Hash[Symbol, String?]?,
|
1689
1607
|
?model_type: :tiered_package
|
1690
1608
|
) -> void
|
1691
1609
|
|
1692
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::tiered_package
|
1693
|
-
|
1694
1610
|
type cadence =
|
1695
1611
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
1696
1612
|
|
@@ -1704,27 +1620,25 @@ module Orb
|
|
1704
1620
|
ONE_TIME: :one_time
|
1705
1621
|
CUSTOM: :custom
|
1706
1622
|
|
1707
|
-
def self?.values: -> ::Array[Orb::
|
1623
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredPackage::cadence]
|
1708
1624
|
end
|
1709
1625
|
|
1710
1626
|
type billing_cycle_configuration =
|
1711
1627
|
{
|
1712
1628
|
duration: Integer,
|
1713
|
-
duration_unit: Orb::
|
1629
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration::duration_unit
|
1714
1630
|
}
|
1715
1631
|
|
1716
1632
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1717
1633
|
attr_accessor duration: Integer
|
1718
1634
|
|
1719
|
-
attr_accessor duration_unit: Orb::
|
1635
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration::duration_unit
|
1720
1636
|
|
1721
1637
|
def initialize: (
|
1722
1638
|
duration: Integer,
|
1723
|
-
duration_unit: Orb::
|
1639
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration::duration_unit
|
1724
1640
|
) -> void
|
1725
1641
|
|
1726
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredPackage::billing_cycle_configuration
|
1727
|
-
|
1728
1642
|
type duration_unit = :day | :month
|
1729
1643
|
|
1730
1644
|
module DurationUnit
|
@@ -1733,28 +1647,26 @@ module Orb
|
|
1733
1647
|
DAY: :day
|
1734
1648
|
MONTH: :month
|
1735
1649
|
|
1736
|
-
def self?.values: -> ::Array[Orb::
|
1650
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration::duration_unit]
|
1737
1651
|
end
|
1738
1652
|
end
|
1739
1653
|
|
1740
1654
|
type invoicing_cycle_configuration =
|
1741
1655
|
{
|
1742
1656
|
duration: Integer,
|
1743
|
-
duration_unit: Orb::
|
1657
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration::duration_unit
|
1744
1658
|
}
|
1745
1659
|
|
1746
1660
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1747
1661
|
attr_accessor duration: Integer
|
1748
1662
|
|
1749
|
-
attr_accessor duration_unit: Orb::
|
1663
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration::duration_unit
|
1750
1664
|
|
1751
1665
|
def initialize: (
|
1752
1666
|
duration: Integer,
|
1753
|
-
duration_unit: Orb::
|
1667
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration::duration_unit
|
1754
1668
|
) -> void
|
1755
1669
|
|
1756
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredPackage::invoicing_cycle_configuration
|
1757
|
-
|
1758
1670
|
type duration_unit = :day | :month
|
1759
1671
|
|
1760
1672
|
module DurationUnit
|
@@ -1763,32 +1675,32 @@ module Orb
|
|
1763
1675
|
DAY: :day
|
1764
1676
|
MONTH: :month
|
1765
1677
|
|
1766
|
-
def self?.values: -> ::Array[Orb::
|
1678
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration::duration_unit]
|
1767
1679
|
end
|
1768
1680
|
end
|
1769
1681
|
end
|
1770
1682
|
|
1771
1683
|
type tiered_with_minimum =
|
1772
1684
|
{
|
1773
|
-
cadence: Orb::
|
1685
|
+
cadence: Orb::PlanCreateParams::Price::TieredWithMinimum::cadence,
|
1774
1686
|
item_id: String,
|
1775
1687
|
model_type: :tiered_with_minimum,
|
1776
1688
|
name: String,
|
1777
1689
|
tiered_with_minimum_config: ::Hash[Symbol, top],
|
1778
1690
|
billable_metric_id: String?,
|
1779
1691
|
billed_in_advance: bool?,
|
1780
|
-
billing_cycle_configuration: Orb::
|
1692
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration?,
|
1781
1693
|
conversion_rate: Float?,
|
1782
1694
|
currency: String?,
|
1783
1695
|
external_price_id: String?,
|
1784
1696
|
fixed_price_quantity: Float?,
|
1785
1697
|
invoice_grouping_key: String?,
|
1786
|
-
invoicing_cycle_configuration: Orb::
|
1698
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration?,
|
1787
1699
|
metadata: ::Hash[Symbol, String?]?
|
1788
1700
|
}
|
1789
1701
|
|
1790
1702
|
class TieredWithMinimum < Orb::Internal::Type::BaseModel
|
1791
|
-
attr_accessor cadence: Orb::
|
1703
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::TieredWithMinimum::cadence
|
1792
1704
|
|
1793
1705
|
attr_accessor item_id: String
|
1794
1706
|
|
@@ -1802,7 +1714,7 @@ module Orb
|
|
1802
1714
|
|
1803
1715
|
attr_accessor billed_in_advance: bool?
|
1804
1716
|
|
1805
|
-
attr_accessor billing_cycle_configuration: Orb::
|
1717
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration?
|
1806
1718
|
|
1807
1719
|
attr_accessor conversion_rate: Float?
|
1808
1720
|
|
@@ -1814,30 +1726,28 @@ module Orb
|
|
1814
1726
|
|
1815
1727
|
attr_accessor invoice_grouping_key: String?
|
1816
1728
|
|
1817
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
1729
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration?
|
1818
1730
|
|
1819
1731
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
1820
1732
|
|
1821
1733
|
def initialize: (
|
1822
|
-
cadence: Orb::
|
1734
|
+
cadence: Orb::PlanCreateParams::Price::TieredWithMinimum::cadence,
|
1823
1735
|
item_id: String,
|
1824
1736
|
name: String,
|
1825
1737
|
tiered_with_minimum_config: ::Hash[Symbol, top],
|
1826
1738
|
?billable_metric_id: String?,
|
1827
1739
|
?billed_in_advance: bool?,
|
1828
|
-
?billing_cycle_configuration: Orb::
|
1740
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration?,
|
1829
1741
|
?conversion_rate: Float?,
|
1830
1742
|
?currency: String?,
|
1831
1743
|
?external_price_id: String?,
|
1832
1744
|
?fixed_price_quantity: Float?,
|
1833
1745
|
?invoice_grouping_key: String?,
|
1834
|
-
?invoicing_cycle_configuration: Orb::
|
1746
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration?,
|
1835
1747
|
?metadata: ::Hash[Symbol, String?]?,
|
1836
1748
|
?model_type: :tiered_with_minimum
|
1837
1749
|
) -> void
|
1838
1750
|
|
1839
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::tiered_with_minimum
|
1840
|
-
|
1841
1751
|
type cadence =
|
1842
1752
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
1843
1753
|
|
@@ -1851,27 +1761,25 @@ module Orb
|
|
1851
1761
|
ONE_TIME: :one_time
|
1852
1762
|
CUSTOM: :custom
|
1853
1763
|
|
1854
|
-
def self?.values: -> ::Array[Orb::
|
1764
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredWithMinimum::cadence]
|
1855
1765
|
end
|
1856
1766
|
|
1857
1767
|
type billing_cycle_configuration =
|
1858
1768
|
{
|
1859
1769
|
duration: Integer,
|
1860
|
-
duration_unit: Orb::
|
1770
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration::duration_unit
|
1861
1771
|
}
|
1862
1772
|
|
1863
1773
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1864
1774
|
attr_accessor duration: Integer
|
1865
1775
|
|
1866
|
-
attr_accessor duration_unit: Orb::
|
1776
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration::duration_unit
|
1867
1777
|
|
1868
1778
|
def initialize: (
|
1869
1779
|
duration: Integer,
|
1870
|
-
duration_unit: Orb::
|
1780
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration::duration_unit
|
1871
1781
|
) -> void
|
1872
1782
|
|
1873
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredWithMinimum::billing_cycle_configuration
|
1874
|
-
|
1875
1783
|
type duration_unit = :day | :month
|
1876
1784
|
|
1877
1785
|
module DurationUnit
|
@@ -1880,28 +1788,26 @@ module Orb
|
|
1880
1788
|
DAY: :day
|
1881
1789
|
MONTH: :month
|
1882
1790
|
|
1883
|
-
def self?.values: -> ::Array[Orb::
|
1791
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration::duration_unit]
|
1884
1792
|
end
|
1885
1793
|
end
|
1886
1794
|
|
1887
1795
|
type invoicing_cycle_configuration =
|
1888
1796
|
{
|
1889
1797
|
duration: Integer,
|
1890
|
-
duration_unit: Orb::
|
1798
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration::duration_unit
|
1891
1799
|
}
|
1892
1800
|
|
1893
1801
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1894
1802
|
attr_accessor duration: Integer
|
1895
1803
|
|
1896
|
-
attr_accessor duration_unit: Orb::
|
1804
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration::duration_unit
|
1897
1805
|
|
1898
1806
|
def initialize: (
|
1899
1807
|
duration: Integer,
|
1900
|
-
duration_unit: Orb::
|
1808
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration::duration_unit
|
1901
1809
|
) -> void
|
1902
1810
|
|
1903
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredWithMinimum::invoicing_cycle_configuration
|
1904
|
-
|
1905
1811
|
type duration_unit = :day | :month
|
1906
1812
|
|
1907
1813
|
module DurationUnit
|
@@ -1910,32 +1816,32 @@ module Orb
|
|
1910
1816
|
DAY: :day
|
1911
1817
|
MONTH: :month
|
1912
1818
|
|
1913
|
-
def self?.values: -> ::Array[Orb::
|
1819
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration::duration_unit]
|
1914
1820
|
end
|
1915
1821
|
end
|
1916
1822
|
end
|
1917
1823
|
|
1918
1824
|
type unit_with_percent =
|
1919
1825
|
{
|
1920
|
-
cadence: Orb::
|
1826
|
+
cadence: Orb::PlanCreateParams::Price::UnitWithPercent::cadence,
|
1921
1827
|
item_id: String,
|
1922
1828
|
model_type: :unit_with_percent,
|
1923
1829
|
name: String,
|
1924
1830
|
unit_with_percent_config: ::Hash[Symbol, top],
|
1925
1831
|
billable_metric_id: String?,
|
1926
1832
|
billed_in_advance: bool?,
|
1927
|
-
billing_cycle_configuration: Orb::
|
1833
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration?,
|
1928
1834
|
conversion_rate: Float?,
|
1929
1835
|
currency: String?,
|
1930
1836
|
external_price_id: String?,
|
1931
1837
|
fixed_price_quantity: Float?,
|
1932
1838
|
invoice_grouping_key: String?,
|
1933
|
-
invoicing_cycle_configuration: Orb::
|
1839
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration?,
|
1934
1840
|
metadata: ::Hash[Symbol, String?]?
|
1935
1841
|
}
|
1936
1842
|
|
1937
1843
|
class UnitWithPercent < Orb::Internal::Type::BaseModel
|
1938
|
-
attr_accessor cadence: Orb::
|
1844
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::UnitWithPercent::cadence
|
1939
1845
|
|
1940
1846
|
attr_accessor item_id: String
|
1941
1847
|
|
@@ -1949,7 +1855,7 @@ module Orb
|
|
1949
1855
|
|
1950
1856
|
attr_accessor billed_in_advance: bool?
|
1951
1857
|
|
1952
|
-
attr_accessor billing_cycle_configuration: Orb::
|
1858
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration?
|
1953
1859
|
|
1954
1860
|
attr_accessor conversion_rate: Float?
|
1955
1861
|
|
@@ -1961,30 +1867,28 @@ module Orb
|
|
1961
1867
|
|
1962
1868
|
attr_accessor invoice_grouping_key: String?
|
1963
1869
|
|
1964
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
1870
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration?
|
1965
1871
|
|
1966
1872
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
1967
1873
|
|
1968
1874
|
def initialize: (
|
1969
|
-
cadence: Orb::
|
1875
|
+
cadence: Orb::PlanCreateParams::Price::UnitWithPercent::cadence,
|
1970
1876
|
item_id: String,
|
1971
1877
|
name: String,
|
1972
1878
|
unit_with_percent_config: ::Hash[Symbol, top],
|
1973
1879
|
?billable_metric_id: String?,
|
1974
1880
|
?billed_in_advance: bool?,
|
1975
|
-
?billing_cycle_configuration: Orb::
|
1881
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration?,
|
1976
1882
|
?conversion_rate: Float?,
|
1977
1883
|
?currency: String?,
|
1978
1884
|
?external_price_id: String?,
|
1979
1885
|
?fixed_price_quantity: Float?,
|
1980
1886
|
?invoice_grouping_key: String?,
|
1981
|
-
?invoicing_cycle_configuration: Orb::
|
1887
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration?,
|
1982
1888
|
?metadata: ::Hash[Symbol, String?]?,
|
1983
1889
|
?model_type: :unit_with_percent
|
1984
1890
|
) -> void
|
1985
1891
|
|
1986
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::unit_with_percent
|
1987
|
-
|
1988
1892
|
type cadence =
|
1989
1893
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
1990
1894
|
|
@@ -1998,27 +1902,25 @@ module Orb
|
|
1998
1902
|
ONE_TIME: :one_time
|
1999
1903
|
CUSTOM: :custom
|
2000
1904
|
|
2001
|
-
def self?.values: -> ::Array[Orb::
|
1905
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::UnitWithPercent::cadence]
|
2002
1906
|
end
|
2003
1907
|
|
2004
1908
|
type billing_cycle_configuration =
|
2005
1909
|
{
|
2006
1910
|
duration: Integer,
|
2007
|
-
duration_unit: Orb::
|
1911
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration::duration_unit
|
2008
1912
|
}
|
2009
1913
|
|
2010
1914
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2011
1915
|
attr_accessor duration: Integer
|
2012
1916
|
|
2013
|
-
attr_accessor duration_unit: Orb::
|
1917
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration::duration_unit
|
2014
1918
|
|
2015
1919
|
def initialize: (
|
2016
1920
|
duration: Integer,
|
2017
|
-
duration_unit: Orb::
|
1921
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration::duration_unit
|
2018
1922
|
) -> void
|
2019
1923
|
|
2020
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::UnitWithPercent::billing_cycle_configuration
|
2021
|
-
|
2022
1924
|
type duration_unit = :day | :month
|
2023
1925
|
|
2024
1926
|
module DurationUnit
|
@@ -2027,28 +1929,26 @@ module Orb
|
|
2027
1929
|
DAY: :day
|
2028
1930
|
MONTH: :month
|
2029
1931
|
|
2030
|
-
def self?.values: -> ::Array[Orb::
|
1932
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration::duration_unit]
|
2031
1933
|
end
|
2032
1934
|
end
|
2033
1935
|
|
2034
1936
|
type invoicing_cycle_configuration =
|
2035
1937
|
{
|
2036
1938
|
duration: Integer,
|
2037
|
-
duration_unit: Orb::
|
1939
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration::duration_unit
|
2038
1940
|
}
|
2039
1941
|
|
2040
1942
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2041
1943
|
attr_accessor duration: Integer
|
2042
1944
|
|
2043
|
-
attr_accessor duration_unit: Orb::
|
1945
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration::duration_unit
|
2044
1946
|
|
2045
1947
|
def initialize: (
|
2046
1948
|
duration: Integer,
|
2047
|
-
duration_unit: Orb::
|
1949
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration::duration_unit
|
2048
1950
|
) -> void
|
2049
1951
|
|
2050
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::UnitWithPercent::invoicing_cycle_configuration
|
2051
|
-
|
2052
1952
|
type duration_unit = :day | :month
|
2053
1953
|
|
2054
1954
|
module DurationUnit
|
@@ -2057,32 +1957,32 @@ module Orb
|
|
2057
1957
|
DAY: :day
|
2058
1958
|
MONTH: :month
|
2059
1959
|
|
2060
|
-
def self?.values: -> ::Array[Orb::
|
1960
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration::duration_unit]
|
2061
1961
|
end
|
2062
1962
|
end
|
2063
1963
|
end
|
2064
1964
|
|
2065
1965
|
type package_with_allocation =
|
2066
1966
|
{
|
2067
|
-
cadence: Orb::
|
1967
|
+
cadence: Orb::PlanCreateParams::Price::PackageWithAllocation::cadence,
|
2068
1968
|
item_id: String,
|
2069
1969
|
model_type: :package_with_allocation,
|
2070
1970
|
name: String,
|
2071
1971
|
package_with_allocation_config: ::Hash[Symbol, top],
|
2072
1972
|
billable_metric_id: String?,
|
2073
1973
|
billed_in_advance: bool?,
|
2074
|
-
billing_cycle_configuration: Orb::
|
1974
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration?,
|
2075
1975
|
conversion_rate: Float?,
|
2076
1976
|
currency: String?,
|
2077
1977
|
external_price_id: String?,
|
2078
1978
|
fixed_price_quantity: Float?,
|
2079
1979
|
invoice_grouping_key: String?,
|
2080
|
-
invoicing_cycle_configuration: Orb::
|
1980
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration?,
|
2081
1981
|
metadata: ::Hash[Symbol, String?]?
|
2082
1982
|
}
|
2083
1983
|
|
2084
1984
|
class PackageWithAllocation < Orb::Internal::Type::BaseModel
|
2085
|
-
attr_accessor cadence: Orb::
|
1985
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::PackageWithAllocation::cadence
|
2086
1986
|
|
2087
1987
|
attr_accessor item_id: String
|
2088
1988
|
|
@@ -2096,7 +1996,7 @@ module Orb
|
|
2096
1996
|
|
2097
1997
|
attr_accessor billed_in_advance: bool?
|
2098
1998
|
|
2099
|
-
attr_accessor billing_cycle_configuration: Orb::
|
1999
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration?
|
2100
2000
|
|
2101
2001
|
attr_accessor conversion_rate: Float?
|
2102
2002
|
|
@@ -2108,30 +2008,28 @@ module Orb
|
|
2108
2008
|
|
2109
2009
|
attr_accessor invoice_grouping_key: String?
|
2110
2010
|
|
2111
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2011
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration?
|
2112
2012
|
|
2113
2013
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
2114
2014
|
|
2115
2015
|
def initialize: (
|
2116
|
-
cadence: Orb::
|
2016
|
+
cadence: Orb::PlanCreateParams::Price::PackageWithAllocation::cadence,
|
2117
2017
|
item_id: String,
|
2118
2018
|
name: String,
|
2119
2019
|
package_with_allocation_config: ::Hash[Symbol, top],
|
2120
2020
|
?billable_metric_id: String?,
|
2121
2021
|
?billed_in_advance: bool?,
|
2122
|
-
?billing_cycle_configuration: Orb::
|
2022
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration?,
|
2123
2023
|
?conversion_rate: Float?,
|
2124
2024
|
?currency: String?,
|
2125
2025
|
?external_price_id: String?,
|
2126
2026
|
?fixed_price_quantity: Float?,
|
2127
2027
|
?invoice_grouping_key: String?,
|
2128
|
-
?invoicing_cycle_configuration: Orb::
|
2028
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration?,
|
2129
2029
|
?metadata: ::Hash[Symbol, String?]?,
|
2130
2030
|
?model_type: :package_with_allocation
|
2131
2031
|
) -> void
|
2132
2032
|
|
2133
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::package_with_allocation
|
2134
|
-
|
2135
2033
|
type cadence =
|
2136
2034
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
2137
2035
|
|
@@ -2145,27 +2043,25 @@ module Orb
|
|
2145
2043
|
ONE_TIME: :one_time
|
2146
2044
|
CUSTOM: :custom
|
2147
2045
|
|
2148
|
-
def self?.values: -> ::Array[Orb::
|
2046
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::PackageWithAllocation::cadence]
|
2149
2047
|
end
|
2150
2048
|
|
2151
2049
|
type billing_cycle_configuration =
|
2152
2050
|
{
|
2153
2051
|
duration: Integer,
|
2154
|
-
duration_unit: Orb::
|
2052
|
+
duration_unit: Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration::duration_unit
|
2155
2053
|
}
|
2156
2054
|
|
2157
2055
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2158
2056
|
attr_accessor duration: Integer
|
2159
2057
|
|
2160
|
-
attr_accessor duration_unit: Orb::
|
2058
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration::duration_unit
|
2161
2059
|
|
2162
2060
|
def initialize: (
|
2163
2061
|
duration: Integer,
|
2164
|
-
duration_unit: Orb::
|
2062
|
+
duration_unit: Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration::duration_unit
|
2165
2063
|
) -> void
|
2166
2064
|
|
2167
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::PackageWithAllocation::billing_cycle_configuration
|
2168
|
-
|
2169
2065
|
type duration_unit = :day | :month
|
2170
2066
|
|
2171
2067
|
module DurationUnit
|
@@ -2174,28 +2070,26 @@ module Orb
|
|
2174
2070
|
DAY: :day
|
2175
2071
|
MONTH: :month
|
2176
2072
|
|
2177
|
-
def self?.values: -> ::Array[Orb::
|
2073
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration::duration_unit]
|
2178
2074
|
end
|
2179
2075
|
end
|
2180
2076
|
|
2181
2077
|
type invoicing_cycle_configuration =
|
2182
2078
|
{
|
2183
2079
|
duration: Integer,
|
2184
|
-
duration_unit: Orb::
|
2080
|
+
duration_unit: Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration::duration_unit
|
2185
2081
|
}
|
2186
2082
|
|
2187
2083
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2188
2084
|
attr_accessor duration: Integer
|
2189
2085
|
|
2190
|
-
attr_accessor duration_unit: Orb::
|
2086
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration::duration_unit
|
2191
2087
|
|
2192
2088
|
def initialize: (
|
2193
2089
|
duration: Integer,
|
2194
|
-
duration_unit: Orb::
|
2090
|
+
duration_unit: Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration::duration_unit
|
2195
2091
|
) -> void
|
2196
2092
|
|
2197
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::PackageWithAllocation::invoicing_cycle_configuration
|
2198
|
-
|
2199
2093
|
type duration_unit = :day | :month
|
2200
2094
|
|
2201
2095
|
module DurationUnit
|
@@ -2204,32 +2098,32 @@ module Orb
|
|
2204
2098
|
DAY: :day
|
2205
2099
|
MONTH: :month
|
2206
2100
|
|
2207
|
-
def self?.values: -> ::Array[Orb::
|
2101
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration::duration_unit]
|
2208
2102
|
end
|
2209
2103
|
end
|
2210
2104
|
end
|
2211
2105
|
|
2212
2106
|
type tiered_with_proration =
|
2213
2107
|
{
|
2214
|
-
cadence: Orb::
|
2108
|
+
cadence: Orb::PlanCreateParams::Price::TieredWithProration::cadence,
|
2215
2109
|
item_id: String,
|
2216
2110
|
model_type: :tiered_with_proration,
|
2217
2111
|
name: String,
|
2218
2112
|
tiered_with_proration_config: ::Hash[Symbol, top],
|
2219
2113
|
billable_metric_id: String?,
|
2220
2114
|
billed_in_advance: bool?,
|
2221
|
-
billing_cycle_configuration: Orb::
|
2115
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration?,
|
2222
2116
|
conversion_rate: Float?,
|
2223
2117
|
currency: String?,
|
2224
2118
|
external_price_id: String?,
|
2225
2119
|
fixed_price_quantity: Float?,
|
2226
2120
|
invoice_grouping_key: String?,
|
2227
|
-
invoicing_cycle_configuration: Orb::
|
2121
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration?,
|
2228
2122
|
metadata: ::Hash[Symbol, String?]?
|
2229
2123
|
}
|
2230
2124
|
|
2231
2125
|
class TieredWithProration < Orb::Internal::Type::BaseModel
|
2232
|
-
attr_accessor cadence: Orb::
|
2126
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::TieredWithProration::cadence
|
2233
2127
|
|
2234
2128
|
attr_accessor item_id: String
|
2235
2129
|
|
@@ -2243,7 +2137,7 @@ module Orb
|
|
2243
2137
|
|
2244
2138
|
attr_accessor billed_in_advance: bool?
|
2245
2139
|
|
2246
|
-
attr_accessor billing_cycle_configuration: Orb::
|
2140
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration?
|
2247
2141
|
|
2248
2142
|
attr_accessor conversion_rate: Float?
|
2249
2143
|
|
@@ -2255,30 +2149,28 @@ module Orb
|
|
2255
2149
|
|
2256
2150
|
attr_accessor invoice_grouping_key: String?
|
2257
2151
|
|
2258
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2152
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration?
|
2259
2153
|
|
2260
2154
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
2261
2155
|
|
2262
2156
|
def initialize: (
|
2263
|
-
cadence: Orb::
|
2157
|
+
cadence: Orb::PlanCreateParams::Price::TieredWithProration::cadence,
|
2264
2158
|
item_id: String,
|
2265
2159
|
name: String,
|
2266
2160
|
tiered_with_proration_config: ::Hash[Symbol, top],
|
2267
2161
|
?billable_metric_id: String?,
|
2268
2162
|
?billed_in_advance: bool?,
|
2269
|
-
?billing_cycle_configuration: Orb::
|
2163
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration?,
|
2270
2164
|
?conversion_rate: Float?,
|
2271
2165
|
?currency: String?,
|
2272
2166
|
?external_price_id: String?,
|
2273
2167
|
?fixed_price_quantity: Float?,
|
2274
2168
|
?invoice_grouping_key: String?,
|
2275
|
-
?invoicing_cycle_configuration: Orb::
|
2169
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration?,
|
2276
2170
|
?metadata: ::Hash[Symbol, String?]?,
|
2277
2171
|
?model_type: :tiered_with_proration
|
2278
2172
|
) -> void
|
2279
2173
|
|
2280
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::tiered_with_proration
|
2281
|
-
|
2282
2174
|
type cadence =
|
2283
2175
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
2284
2176
|
|
@@ -2292,27 +2184,25 @@ module Orb
|
|
2292
2184
|
ONE_TIME: :one_time
|
2293
2185
|
CUSTOM: :custom
|
2294
2186
|
|
2295
|
-
def self?.values: -> ::Array[Orb::
|
2187
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredWithProration::cadence]
|
2296
2188
|
end
|
2297
2189
|
|
2298
2190
|
type billing_cycle_configuration =
|
2299
2191
|
{
|
2300
2192
|
duration: Integer,
|
2301
|
-
duration_unit: Orb::
|
2193
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration::duration_unit
|
2302
2194
|
}
|
2303
2195
|
|
2304
2196
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2305
2197
|
attr_accessor duration: Integer
|
2306
2198
|
|
2307
|
-
attr_accessor duration_unit: Orb::
|
2199
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration::duration_unit
|
2308
2200
|
|
2309
2201
|
def initialize: (
|
2310
2202
|
duration: Integer,
|
2311
|
-
duration_unit: Orb::
|
2203
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration::duration_unit
|
2312
2204
|
) -> void
|
2313
2205
|
|
2314
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredWithProration::billing_cycle_configuration
|
2315
|
-
|
2316
2206
|
type duration_unit = :day | :month
|
2317
2207
|
|
2318
2208
|
module DurationUnit
|
@@ -2321,28 +2211,26 @@ module Orb
|
|
2321
2211
|
DAY: :day
|
2322
2212
|
MONTH: :month
|
2323
2213
|
|
2324
|
-
def self?.values: -> ::Array[Orb::
|
2214
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration::duration_unit]
|
2325
2215
|
end
|
2326
2216
|
end
|
2327
2217
|
|
2328
2218
|
type invoicing_cycle_configuration =
|
2329
2219
|
{
|
2330
2220
|
duration: Integer,
|
2331
|
-
duration_unit: Orb::
|
2221
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration::duration_unit
|
2332
2222
|
}
|
2333
2223
|
|
2334
2224
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2335
2225
|
attr_accessor duration: Integer
|
2336
2226
|
|
2337
|
-
attr_accessor duration_unit: Orb::
|
2227
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration::duration_unit
|
2338
2228
|
|
2339
2229
|
def initialize: (
|
2340
2230
|
duration: Integer,
|
2341
|
-
duration_unit: Orb::
|
2231
|
+
duration_unit: Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration::duration_unit
|
2342
2232
|
) -> void
|
2343
2233
|
|
2344
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::TieredWithProration::invoicing_cycle_configuration
|
2345
|
-
|
2346
2234
|
type duration_unit = :day | :month
|
2347
2235
|
|
2348
2236
|
module DurationUnit
|
@@ -2351,32 +2239,32 @@ module Orb
|
|
2351
2239
|
DAY: :day
|
2352
2240
|
MONTH: :month
|
2353
2241
|
|
2354
|
-
def self?.values: -> ::Array[Orb::
|
2242
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration::duration_unit]
|
2355
2243
|
end
|
2356
2244
|
end
|
2357
2245
|
end
|
2358
2246
|
|
2359
2247
|
type unit_with_proration =
|
2360
2248
|
{
|
2361
|
-
cadence: Orb::
|
2249
|
+
cadence: Orb::PlanCreateParams::Price::UnitWithProration::cadence,
|
2362
2250
|
item_id: String,
|
2363
2251
|
model_type: :unit_with_proration,
|
2364
2252
|
name: String,
|
2365
2253
|
unit_with_proration_config: ::Hash[Symbol, top],
|
2366
2254
|
billable_metric_id: String?,
|
2367
2255
|
billed_in_advance: bool?,
|
2368
|
-
billing_cycle_configuration: Orb::
|
2256
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration?,
|
2369
2257
|
conversion_rate: Float?,
|
2370
2258
|
currency: String?,
|
2371
2259
|
external_price_id: String?,
|
2372
2260
|
fixed_price_quantity: Float?,
|
2373
2261
|
invoice_grouping_key: String?,
|
2374
|
-
invoicing_cycle_configuration: Orb::
|
2262
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration?,
|
2375
2263
|
metadata: ::Hash[Symbol, String?]?
|
2376
2264
|
}
|
2377
2265
|
|
2378
2266
|
class UnitWithProration < Orb::Internal::Type::BaseModel
|
2379
|
-
attr_accessor cadence: Orb::
|
2267
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::UnitWithProration::cadence
|
2380
2268
|
|
2381
2269
|
attr_accessor item_id: String
|
2382
2270
|
|
@@ -2390,7 +2278,7 @@ module Orb
|
|
2390
2278
|
|
2391
2279
|
attr_accessor billed_in_advance: bool?
|
2392
2280
|
|
2393
|
-
attr_accessor billing_cycle_configuration: Orb::
|
2281
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration?
|
2394
2282
|
|
2395
2283
|
attr_accessor conversion_rate: Float?
|
2396
2284
|
|
@@ -2402,30 +2290,28 @@ module Orb
|
|
2402
2290
|
|
2403
2291
|
attr_accessor invoice_grouping_key: String?
|
2404
2292
|
|
2405
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2293
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration?
|
2406
2294
|
|
2407
2295
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
2408
2296
|
|
2409
2297
|
def initialize: (
|
2410
|
-
cadence: Orb::
|
2298
|
+
cadence: Orb::PlanCreateParams::Price::UnitWithProration::cadence,
|
2411
2299
|
item_id: String,
|
2412
2300
|
name: String,
|
2413
2301
|
unit_with_proration_config: ::Hash[Symbol, top],
|
2414
2302
|
?billable_metric_id: String?,
|
2415
2303
|
?billed_in_advance: bool?,
|
2416
|
-
?billing_cycle_configuration: Orb::
|
2304
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration?,
|
2417
2305
|
?conversion_rate: Float?,
|
2418
2306
|
?currency: String?,
|
2419
2307
|
?external_price_id: String?,
|
2420
2308
|
?fixed_price_quantity: Float?,
|
2421
2309
|
?invoice_grouping_key: String?,
|
2422
|
-
?invoicing_cycle_configuration: Orb::
|
2310
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration?,
|
2423
2311
|
?metadata: ::Hash[Symbol, String?]?,
|
2424
2312
|
?model_type: :unit_with_proration
|
2425
2313
|
) -> void
|
2426
2314
|
|
2427
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::unit_with_proration
|
2428
|
-
|
2429
2315
|
type cadence =
|
2430
2316
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
2431
2317
|
|
@@ -2439,27 +2325,25 @@ module Orb
|
|
2439
2325
|
ONE_TIME: :one_time
|
2440
2326
|
CUSTOM: :custom
|
2441
2327
|
|
2442
|
-
def self?.values: -> ::Array[Orb::
|
2328
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::UnitWithProration::cadence]
|
2443
2329
|
end
|
2444
2330
|
|
2445
2331
|
type billing_cycle_configuration =
|
2446
2332
|
{
|
2447
2333
|
duration: Integer,
|
2448
|
-
duration_unit: Orb::
|
2334
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration::duration_unit
|
2449
2335
|
}
|
2450
2336
|
|
2451
2337
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2452
2338
|
attr_accessor duration: Integer
|
2453
2339
|
|
2454
|
-
attr_accessor duration_unit: Orb::
|
2340
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration::duration_unit
|
2455
2341
|
|
2456
2342
|
def initialize: (
|
2457
2343
|
duration: Integer,
|
2458
|
-
duration_unit: Orb::
|
2344
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration::duration_unit
|
2459
2345
|
) -> void
|
2460
2346
|
|
2461
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::UnitWithProration::billing_cycle_configuration
|
2462
|
-
|
2463
2347
|
type duration_unit = :day | :month
|
2464
2348
|
|
2465
2349
|
module DurationUnit
|
@@ -2468,28 +2352,26 @@ module Orb
|
|
2468
2352
|
DAY: :day
|
2469
2353
|
MONTH: :month
|
2470
2354
|
|
2471
|
-
def self?.values: -> ::Array[Orb::
|
2355
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration::duration_unit]
|
2472
2356
|
end
|
2473
2357
|
end
|
2474
2358
|
|
2475
2359
|
type invoicing_cycle_configuration =
|
2476
2360
|
{
|
2477
2361
|
duration: Integer,
|
2478
|
-
duration_unit: Orb::
|
2362
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration::duration_unit
|
2479
2363
|
}
|
2480
2364
|
|
2481
2365
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2482
2366
|
attr_accessor duration: Integer
|
2483
2367
|
|
2484
|
-
attr_accessor duration_unit: Orb::
|
2368
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration::duration_unit
|
2485
2369
|
|
2486
2370
|
def initialize: (
|
2487
2371
|
duration: Integer,
|
2488
|
-
duration_unit: Orb::
|
2372
|
+
duration_unit: Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration::duration_unit
|
2489
2373
|
) -> void
|
2490
2374
|
|
2491
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::UnitWithProration::invoicing_cycle_configuration
|
2492
|
-
|
2493
2375
|
type duration_unit = :day | :month
|
2494
2376
|
|
2495
2377
|
module DurationUnit
|
@@ -2498,32 +2380,32 @@ module Orb
|
|
2498
2380
|
DAY: :day
|
2499
2381
|
MONTH: :month
|
2500
2382
|
|
2501
|
-
def self?.values: -> ::Array[Orb::
|
2383
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration::duration_unit]
|
2502
2384
|
end
|
2503
2385
|
end
|
2504
2386
|
end
|
2505
2387
|
|
2506
2388
|
type grouped_allocation =
|
2507
2389
|
{
|
2508
|
-
cadence: Orb::
|
2390
|
+
cadence: Orb::PlanCreateParams::Price::GroupedAllocation::cadence,
|
2509
2391
|
grouped_allocation_config: ::Hash[Symbol, top],
|
2510
2392
|
item_id: String,
|
2511
2393
|
model_type: :grouped_allocation,
|
2512
2394
|
name: String,
|
2513
2395
|
billable_metric_id: String?,
|
2514
2396
|
billed_in_advance: bool?,
|
2515
|
-
billing_cycle_configuration: Orb::
|
2397
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration?,
|
2516
2398
|
conversion_rate: Float?,
|
2517
2399
|
currency: String?,
|
2518
2400
|
external_price_id: String?,
|
2519
2401
|
fixed_price_quantity: Float?,
|
2520
2402
|
invoice_grouping_key: String?,
|
2521
|
-
invoicing_cycle_configuration: Orb::
|
2403
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration?,
|
2522
2404
|
metadata: ::Hash[Symbol, String?]?
|
2523
2405
|
}
|
2524
2406
|
|
2525
2407
|
class GroupedAllocation < Orb::Internal::Type::BaseModel
|
2526
|
-
attr_accessor cadence: Orb::
|
2408
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::GroupedAllocation::cadence
|
2527
2409
|
|
2528
2410
|
attr_accessor grouped_allocation_config: ::Hash[Symbol, top]
|
2529
2411
|
|
@@ -2537,7 +2419,7 @@ module Orb
|
|
2537
2419
|
|
2538
2420
|
attr_accessor billed_in_advance: bool?
|
2539
2421
|
|
2540
|
-
attr_accessor billing_cycle_configuration: Orb::
|
2422
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration?
|
2541
2423
|
|
2542
2424
|
attr_accessor conversion_rate: Float?
|
2543
2425
|
|
@@ -2549,30 +2431,28 @@ module Orb
|
|
2549
2431
|
|
2550
2432
|
attr_accessor invoice_grouping_key: String?
|
2551
2433
|
|
2552
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2434
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration?
|
2553
2435
|
|
2554
2436
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
2555
2437
|
|
2556
2438
|
def initialize: (
|
2557
|
-
cadence: Orb::
|
2439
|
+
cadence: Orb::PlanCreateParams::Price::GroupedAllocation::cadence,
|
2558
2440
|
grouped_allocation_config: ::Hash[Symbol, top],
|
2559
2441
|
item_id: String,
|
2560
2442
|
name: String,
|
2561
2443
|
?billable_metric_id: String?,
|
2562
2444
|
?billed_in_advance: bool?,
|
2563
|
-
?billing_cycle_configuration: Orb::
|
2445
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration?,
|
2564
2446
|
?conversion_rate: Float?,
|
2565
2447
|
?currency: String?,
|
2566
2448
|
?external_price_id: String?,
|
2567
2449
|
?fixed_price_quantity: Float?,
|
2568
2450
|
?invoice_grouping_key: String?,
|
2569
|
-
?invoicing_cycle_configuration: Orb::
|
2451
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration?,
|
2570
2452
|
?metadata: ::Hash[Symbol, String?]?,
|
2571
2453
|
?model_type: :grouped_allocation
|
2572
2454
|
) -> void
|
2573
2455
|
|
2574
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::grouped_allocation
|
2575
|
-
|
2576
2456
|
type cadence =
|
2577
2457
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
2578
2458
|
|
@@ -2586,27 +2466,25 @@ module Orb
|
|
2586
2466
|
ONE_TIME: :one_time
|
2587
2467
|
CUSTOM: :custom
|
2588
2468
|
|
2589
|
-
def self?.values: -> ::Array[Orb::
|
2469
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedAllocation::cadence]
|
2590
2470
|
end
|
2591
2471
|
|
2592
2472
|
type billing_cycle_configuration =
|
2593
2473
|
{
|
2594
2474
|
duration: Integer,
|
2595
|
-
duration_unit: Orb::
|
2475
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration::duration_unit
|
2596
2476
|
}
|
2597
2477
|
|
2598
2478
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2599
2479
|
attr_accessor duration: Integer
|
2600
2480
|
|
2601
|
-
attr_accessor duration_unit: Orb::
|
2481
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration::duration_unit
|
2602
2482
|
|
2603
2483
|
def initialize: (
|
2604
2484
|
duration: Integer,
|
2605
|
-
duration_unit: Orb::
|
2485
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration::duration_unit
|
2606
2486
|
) -> void
|
2607
2487
|
|
2608
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedAllocation::billing_cycle_configuration
|
2609
|
-
|
2610
2488
|
type duration_unit = :day | :month
|
2611
2489
|
|
2612
2490
|
module DurationUnit
|
@@ -2615,28 +2493,26 @@ module Orb
|
|
2615
2493
|
DAY: :day
|
2616
2494
|
MONTH: :month
|
2617
2495
|
|
2618
|
-
def self?.values: -> ::Array[Orb::
|
2496
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration::duration_unit]
|
2619
2497
|
end
|
2620
2498
|
end
|
2621
2499
|
|
2622
2500
|
type invoicing_cycle_configuration =
|
2623
2501
|
{
|
2624
2502
|
duration: Integer,
|
2625
|
-
duration_unit: Orb::
|
2503
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration::duration_unit
|
2626
2504
|
}
|
2627
2505
|
|
2628
2506
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2629
2507
|
attr_accessor duration: Integer
|
2630
2508
|
|
2631
|
-
attr_accessor duration_unit: Orb::
|
2509
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration::duration_unit
|
2632
2510
|
|
2633
2511
|
def initialize: (
|
2634
2512
|
duration: Integer,
|
2635
|
-
duration_unit: Orb::
|
2513
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration::duration_unit
|
2636
2514
|
) -> void
|
2637
2515
|
|
2638
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedAllocation::invoicing_cycle_configuration
|
2639
|
-
|
2640
2516
|
type duration_unit = :day | :month
|
2641
2517
|
|
2642
2518
|
module DurationUnit
|
@@ -2645,32 +2521,32 @@ module Orb
|
|
2645
2521
|
DAY: :day
|
2646
2522
|
MONTH: :month
|
2647
2523
|
|
2648
|
-
def self?.values: -> ::Array[Orb::
|
2524
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration::duration_unit]
|
2649
2525
|
end
|
2650
2526
|
end
|
2651
2527
|
end
|
2652
2528
|
|
2653
2529
|
type grouped_with_prorated_minimum =
|
2654
2530
|
{
|
2655
|
-
cadence: Orb::
|
2531
|
+
cadence: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::cadence,
|
2656
2532
|
grouped_with_prorated_minimum_config: ::Hash[Symbol, top],
|
2657
2533
|
item_id: String,
|
2658
2534
|
model_type: :grouped_with_prorated_minimum,
|
2659
2535
|
name: String,
|
2660
2536
|
billable_metric_id: String?,
|
2661
2537
|
billed_in_advance: bool?,
|
2662
|
-
billing_cycle_configuration: Orb::
|
2538
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration?,
|
2663
2539
|
conversion_rate: Float?,
|
2664
2540
|
currency: String?,
|
2665
2541
|
external_price_id: String?,
|
2666
2542
|
fixed_price_quantity: Float?,
|
2667
2543
|
invoice_grouping_key: String?,
|
2668
|
-
invoicing_cycle_configuration: Orb::
|
2544
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration?,
|
2669
2545
|
metadata: ::Hash[Symbol, String?]?
|
2670
2546
|
}
|
2671
2547
|
|
2672
2548
|
class GroupedWithProratedMinimum < Orb::Internal::Type::BaseModel
|
2673
|
-
attr_accessor cadence: Orb::
|
2549
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::cadence
|
2674
2550
|
|
2675
2551
|
attr_accessor grouped_with_prorated_minimum_config: ::Hash[Symbol, top]
|
2676
2552
|
|
@@ -2684,7 +2560,7 @@ module Orb
|
|
2684
2560
|
|
2685
2561
|
attr_accessor billed_in_advance: bool?
|
2686
2562
|
|
2687
|
-
attr_accessor billing_cycle_configuration: Orb::
|
2563
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration?
|
2688
2564
|
|
2689
2565
|
attr_accessor conversion_rate: Float?
|
2690
2566
|
|
@@ -2696,30 +2572,28 @@ module Orb
|
|
2696
2572
|
|
2697
2573
|
attr_accessor invoice_grouping_key: String?
|
2698
2574
|
|
2699
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2575
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration?
|
2700
2576
|
|
2701
2577
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
2702
2578
|
|
2703
2579
|
def initialize: (
|
2704
|
-
cadence: Orb::
|
2580
|
+
cadence: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::cadence,
|
2705
2581
|
grouped_with_prorated_minimum_config: ::Hash[Symbol, top],
|
2706
2582
|
item_id: String,
|
2707
2583
|
name: String,
|
2708
2584
|
?billable_metric_id: String?,
|
2709
2585
|
?billed_in_advance: bool?,
|
2710
|
-
?billing_cycle_configuration: Orb::
|
2586
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration?,
|
2711
2587
|
?conversion_rate: Float?,
|
2712
2588
|
?currency: String?,
|
2713
2589
|
?external_price_id: String?,
|
2714
2590
|
?fixed_price_quantity: Float?,
|
2715
2591
|
?invoice_grouping_key: String?,
|
2716
|
-
?invoicing_cycle_configuration: Orb::
|
2592
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration?,
|
2717
2593
|
?metadata: ::Hash[Symbol, String?]?,
|
2718
2594
|
?model_type: :grouped_with_prorated_minimum
|
2719
2595
|
) -> void
|
2720
2596
|
|
2721
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::grouped_with_prorated_minimum
|
2722
|
-
|
2723
2597
|
type cadence =
|
2724
2598
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
2725
2599
|
|
@@ -2733,27 +2607,25 @@ module Orb
|
|
2733
2607
|
ONE_TIME: :one_time
|
2734
2608
|
CUSTOM: :custom
|
2735
2609
|
|
2736
|
-
def self?.values: -> ::Array[Orb::
|
2610
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::cadence]
|
2737
2611
|
end
|
2738
2612
|
|
2739
2613
|
type billing_cycle_configuration =
|
2740
2614
|
{
|
2741
2615
|
duration: Integer,
|
2742
|
-
duration_unit: Orb::
|
2616
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration::duration_unit
|
2743
2617
|
}
|
2744
2618
|
|
2745
2619
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2746
2620
|
attr_accessor duration: Integer
|
2747
2621
|
|
2748
|
-
attr_accessor duration_unit: Orb::
|
2622
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration::duration_unit
|
2749
2623
|
|
2750
2624
|
def initialize: (
|
2751
2625
|
duration: Integer,
|
2752
|
-
duration_unit: Orb::
|
2626
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration::duration_unit
|
2753
2627
|
) -> void
|
2754
2628
|
|
2755
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedWithProratedMinimum::billing_cycle_configuration
|
2756
|
-
|
2757
2629
|
type duration_unit = :day | :month
|
2758
2630
|
|
2759
2631
|
module DurationUnit
|
@@ -2762,28 +2634,26 @@ module Orb
|
|
2762
2634
|
DAY: :day
|
2763
2635
|
MONTH: :month
|
2764
2636
|
|
2765
|
-
def self?.values: -> ::Array[Orb::
|
2637
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration::duration_unit]
|
2766
2638
|
end
|
2767
2639
|
end
|
2768
2640
|
|
2769
2641
|
type invoicing_cycle_configuration =
|
2770
2642
|
{
|
2771
2643
|
duration: Integer,
|
2772
|
-
duration_unit: Orb::
|
2644
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration::duration_unit
|
2773
2645
|
}
|
2774
2646
|
|
2775
2647
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2776
2648
|
attr_accessor duration: Integer
|
2777
2649
|
|
2778
|
-
attr_accessor duration_unit: Orb::
|
2650
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration::duration_unit
|
2779
2651
|
|
2780
2652
|
def initialize: (
|
2781
2653
|
duration: Integer,
|
2782
|
-
duration_unit: Orb::
|
2654
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration::duration_unit
|
2783
2655
|
) -> void
|
2784
2656
|
|
2785
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedWithProratedMinimum::invoicing_cycle_configuration
|
2786
|
-
|
2787
2657
|
type duration_unit = :day | :month
|
2788
2658
|
|
2789
2659
|
module DurationUnit
|
@@ -2792,32 +2662,32 @@ module Orb
|
|
2792
2662
|
DAY: :day
|
2793
2663
|
MONTH: :month
|
2794
2664
|
|
2795
|
-
def self?.values: -> ::Array[Orb::
|
2665
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration::duration_unit]
|
2796
2666
|
end
|
2797
2667
|
end
|
2798
2668
|
end
|
2799
2669
|
|
2800
2670
|
type grouped_with_metered_minimum =
|
2801
2671
|
{
|
2802
|
-
cadence: Orb::
|
2672
|
+
cadence: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::cadence,
|
2803
2673
|
grouped_with_metered_minimum_config: ::Hash[Symbol, top],
|
2804
2674
|
item_id: String,
|
2805
2675
|
model_type: :grouped_with_metered_minimum,
|
2806
2676
|
name: String,
|
2807
2677
|
billable_metric_id: String?,
|
2808
2678
|
billed_in_advance: bool?,
|
2809
|
-
billing_cycle_configuration: Orb::
|
2679
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration?,
|
2810
2680
|
conversion_rate: Float?,
|
2811
2681
|
currency: String?,
|
2812
2682
|
external_price_id: String?,
|
2813
2683
|
fixed_price_quantity: Float?,
|
2814
2684
|
invoice_grouping_key: String?,
|
2815
|
-
invoicing_cycle_configuration: Orb::
|
2685
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration?,
|
2816
2686
|
metadata: ::Hash[Symbol, String?]?
|
2817
2687
|
}
|
2818
2688
|
|
2819
2689
|
class GroupedWithMeteredMinimum < Orb::Internal::Type::BaseModel
|
2820
|
-
attr_accessor cadence: Orb::
|
2690
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::cadence
|
2821
2691
|
|
2822
2692
|
attr_accessor grouped_with_metered_minimum_config: ::Hash[Symbol, top]
|
2823
2693
|
|
@@ -2831,7 +2701,7 @@ module Orb
|
|
2831
2701
|
|
2832
2702
|
attr_accessor billed_in_advance: bool?
|
2833
2703
|
|
2834
|
-
attr_accessor billing_cycle_configuration: Orb::
|
2704
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration?
|
2835
2705
|
|
2836
2706
|
attr_accessor conversion_rate: Float?
|
2837
2707
|
|
@@ -2843,30 +2713,28 @@ module Orb
|
|
2843
2713
|
|
2844
2714
|
attr_accessor invoice_grouping_key: String?
|
2845
2715
|
|
2846
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2716
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration?
|
2847
2717
|
|
2848
2718
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
2849
2719
|
|
2850
2720
|
def initialize: (
|
2851
|
-
cadence: Orb::
|
2721
|
+
cadence: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::cadence,
|
2852
2722
|
grouped_with_metered_minimum_config: ::Hash[Symbol, top],
|
2853
2723
|
item_id: String,
|
2854
2724
|
name: String,
|
2855
2725
|
?billable_metric_id: String?,
|
2856
2726
|
?billed_in_advance: bool?,
|
2857
|
-
?billing_cycle_configuration: Orb::
|
2727
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration?,
|
2858
2728
|
?conversion_rate: Float?,
|
2859
2729
|
?currency: String?,
|
2860
2730
|
?external_price_id: String?,
|
2861
2731
|
?fixed_price_quantity: Float?,
|
2862
2732
|
?invoice_grouping_key: String?,
|
2863
|
-
?invoicing_cycle_configuration: Orb::
|
2733
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration?,
|
2864
2734
|
?metadata: ::Hash[Symbol, String?]?,
|
2865
2735
|
?model_type: :grouped_with_metered_minimum
|
2866
2736
|
) -> void
|
2867
2737
|
|
2868
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::grouped_with_metered_minimum
|
2869
|
-
|
2870
2738
|
type cadence =
|
2871
2739
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
2872
2740
|
|
@@ -2880,27 +2748,25 @@ module Orb
|
|
2880
2748
|
ONE_TIME: :one_time
|
2881
2749
|
CUSTOM: :custom
|
2882
2750
|
|
2883
|
-
def self?.values: -> ::Array[Orb::
|
2751
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::cadence]
|
2884
2752
|
end
|
2885
2753
|
|
2886
2754
|
type billing_cycle_configuration =
|
2887
2755
|
{
|
2888
2756
|
duration: Integer,
|
2889
|
-
duration_unit: Orb::
|
2757
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration::duration_unit
|
2890
2758
|
}
|
2891
2759
|
|
2892
2760
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2893
2761
|
attr_accessor duration: Integer
|
2894
2762
|
|
2895
|
-
attr_accessor duration_unit: Orb::
|
2763
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration::duration_unit
|
2896
2764
|
|
2897
2765
|
def initialize: (
|
2898
2766
|
duration: Integer,
|
2899
|
-
duration_unit: Orb::
|
2767
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration::duration_unit
|
2900
2768
|
) -> void
|
2901
2769
|
|
2902
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedWithMeteredMinimum::billing_cycle_configuration
|
2903
|
-
|
2904
2770
|
type duration_unit = :day | :month
|
2905
2771
|
|
2906
2772
|
module DurationUnit
|
@@ -2909,28 +2775,26 @@ module Orb
|
|
2909
2775
|
DAY: :day
|
2910
2776
|
MONTH: :month
|
2911
2777
|
|
2912
|
-
def self?.values: -> ::Array[Orb::
|
2778
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration::duration_unit]
|
2913
2779
|
end
|
2914
2780
|
end
|
2915
2781
|
|
2916
2782
|
type invoicing_cycle_configuration =
|
2917
2783
|
{
|
2918
2784
|
duration: Integer,
|
2919
|
-
duration_unit: Orb::
|
2785
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration::duration_unit
|
2920
2786
|
}
|
2921
2787
|
|
2922
2788
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2923
2789
|
attr_accessor duration: Integer
|
2924
2790
|
|
2925
|
-
attr_accessor duration_unit: Orb::
|
2791
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration::duration_unit
|
2926
2792
|
|
2927
2793
|
def initialize: (
|
2928
2794
|
duration: Integer,
|
2929
|
-
duration_unit: Orb::
|
2795
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration::duration_unit
|
2930
2796
|
) -> void
|
2931
2797
|
|
2932
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedWithMeteredMinimum::invoicing_cycle_configuration
|
2933
|
-
|
2934
2798
|
type duration_unit = :day | :month
|
2935
2799
|
|
2936
2800
|
module DurationUnit
|
@@ -2939,32 +2803,32 @@ module Orb
|
|
2939
2803
|
DAY: :day
|
2940
2804
|
MONTH: :month
|
2941
2805
|
|
2942
|
-
def self?.values: -> ::Array[Orb::
|
2806
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration::duration_unit]
|
2943
2807
|
end
|
2944
2808
|
end
|
2945
2809
|
end
|
2946
2810
|
|
2947
2811
|
type matrix_with_display_name =
|
2948
2812
|
{
|
2949
|
-
cadence: Orb::
|
2813
|
+
cadence: Orb::PlanCreateParams::Price::MatrixWithDisplayName::cadence,
|
2950
2814
|
item_id: String,
|
2951
2815
|
matrix_with_display_name_config: ::Hash[Symbol, top],
|
2952
2816
|
model_type: :matrix_with_display_name,
|
2953
2817
|
name: String,
|
2954
2818
|
billable_metric_id: String?,
|
2955
2819
|
billed_in_advance: bool?,
|
2956
|
-
billing_cycle_configuration: Orb::
|
2820
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration?,
|
2957
2821
|
conversion_rate: Float?,
|
2958
2822
|
currency: String?,
|
2959
2823
|
external_price_id: String?,
|
2960
2824
|
fixed_price_quantity: Float?,
|
2961
2825
|
invoice_grouping_key: String?,
|
2962
|
-
invoicing_cycle_configuration: Orb::
|
2826
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration?,
|
2963
2827
|
metadata: ::Hash[Symbol, String?]?
|
2964
2828
|
}
|
2965
2829
|
|
2966
2830
|
class MatrixWithDisplayName < Orb::Internal::Type::BaseModel
|
2967
|
-
attr_accessor cadence: Orb::
|
2831
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::MatrixWithDisplayName::cadence
|
2968
2832
|
|
2969
2833
|
attr_accessor item_id: String
|
2970
2834
|
|
@@ -2978,7 +2842,7 @@ module Orb
|
|
2978
2842
|
|
2979
2843
|
attr_accessor billed_in_advance: bool?
|
2980
2844
|
|
2981
|
-
attr_accessor billing_cycle_configuration: Orb::
|
2845
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration?
|
2982
2846
|
|
2983
2847
|
attr_accessor conversion_rate: Float?
|
2984
2848
|
|
@@ -2990,30 +2854,28 @@ module Orb
|
|
2990
2854
|
|
2991
2855
|
attr_accessor invoice_grouping_key: String?
|
2992
2856
|
|
2993
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2857
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration?
|
2994
2858
|
|
2995
2859
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
2996
2860
|
|
2997
2861
|
def initialize: (
|
2998
|
-
cadence: Orb::
|
2862
|
+
cadence: Orb::PlanCreateParams::Price::MatrixWithDisplayName::cadence,
|
2999
2863
|
item_id: String,
|
3000
2864
|
matrix_with_display_name_config: ::Hash[Symbol, top],
|
3001
2865
|
name: String,
|
3002
2866
|
?billable_metric_id: String?,
|
3003
2867
|
?billed_in_advance: bool?,
|
3004
|
-
?billing_cycle_configuration: Orb::
|
2868
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration?,
|
3005
2869
|
?conversion_rate: Float?,
|
3006
2870
|
?currency: String?,
|
3007
2871
|
?external_price_id: String?,
|
3008
2872
|
?fixed_price_quantity: Float?,
|
3009
2873
|
?invoice_grouping_key: String?,
|
3010
|
-
?invoicing_cycle_configuration: Orb::
|
2874
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration?,
|
3011
2875
|
?metadata: ::Hash[Symbol, String?]?,
|
3012
2876
|
?model_type: :matrix_with_display_name
|
3013
2877
|
) -> void
|
3014
2878
|
|
3015
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::matrix_with_display_name
|
3016
|
-
|
3017
2879
|
type cadence =
|
3018
2880
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
3019
2881
|
|
@@ -3027,27 +2889,25 @@ module Orb
|
|
3027
2889
|
ONE_TIME: :one_time
|
3028
2890
|
CUSTOM: :custom
|
3029
2891
|
|
3030
|
-
def self?.values: -> ::Array[Orb::
|
2892
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::MatrixWithDisplayName::cadence]
|
3031
2893
|
end
|
3032
2894
|
|
3033
2895
|
type billing_cycle_configuration =
|
3034
2896
|
{
|
3035
2897
|
duration: Integer,
|
3036
|
-
duration_unit: Orb::
|
2898
|
+
duration_unit: Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration::duration_unit
|
3037
2899
|
}
|
3038
2900
|
|
3039
2901
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3040
2902
|
attr_accessor duration: Integer
|
3041
2903
|
|
3042
|
-
attr_accessor duration_unit: Orb::
|
2904
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration::duration_unit
|
3043
2905
|
|
3044
2906
|
def initialize: (
|
3045
2907
|
duration: Integer,
|
3046
|
-
duration_unit: Orb::
|
2908
|
+
duration_unit: Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration::duration_unit
|
3047
2909
|
) -> void
|
3048
2910
|
|
3049
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::MatrixWithDisplayName::billing_cycle_configuration
|
3050
|
-
|
3051
2911
|
type duration_unit = :day | :month
|
3052
2912
|
|
3053
2913
|
module DurationUnit
|
@@ -3056,28 +2916,26 @@ module Orb
|
|
3056
2916
|
DAY: :day
|
3057
2917
|
MONTH: :month
|
3058
2918
|
|
3059
|
-
def self?.values: -> ::Array[Orb::
|
2919
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration::duration_unit]
|
3060
2920
|
end
|
3061
2921
|
end
|
3062
2922
|
|
3063
2923
|
type invoicing_cycle_configuration =
|
3064
2924
|
{
|
3065
2925
|
duration: Integer,
|
3066
|
-
duration_unit: Orb::
|
2926
|
+
duration_unit: Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration::duration_unit
|
3067
2927
|
}
|
3068
2928
|
|
3069
2929
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3070
2930
|
attr_accessor duration: Integer
|
3071
2931
|
|
3072
|
-
attr_accessor duration_unit: Orb::
|
2932
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration::duration_unit
|
3073
2933
|
|
3074
2934
|
def initialize: (
|
3075
2935
|
duration: Integer,
|
3076
|
-
duration_unit: Orb::
|
2936
|
+
duration_unit: Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration::duration_unit
|
3077
2937
|
) -> void
|
3078
2938
|
|
3079
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::MatrixWithDisplayName::invoicing_cycle_configuration
|
3080
|
-
|
3081
2939
|
type duration_unit = :day | :month
|
3082
2940
|
|
3083
2941
|
module DurationUnit
|
@@ -3086,7 +2944,7 @@ module Orb
|
|
3086
2944
|
DAY: :day
|
3087
2945
|
MONTH: :month
|
3088
2946
|
|
3089
|
-
def self?.values: -> ::Array[Orb::
|
2947
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration::duration_unit]
|
3090
2948
|
end
|
3091
2949
|
end
|
3092
2950
|
end
|
@@ -3094,26 +2952,26 @@ module Orb
|
|
3094
2952
|
type bulk_with_proration =
|
3095
2953
|
{
|
3096
2954
|
bulk_with_proration_config: ::Hash[Symbol, top],
|
3097
|
-
cadence: Orb::
|
2955
|
+
cadence: Orb::PlanCreateParams::Price::BulkWithProration::cadence,
|
3098
2956
|
item_id: String,
|
3099
2957
|
model_type: :bulk_with_proration,
|
3100
2958
|
name: String,
|
3101
2959
|
billable_metric_id: String?,
|
3102
2960
|
billed_in_advance: bool?,
|
3103
|
-
billing_cycle_configuration: Orb::
|
2961
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration?,
|
3104
2962
|
conversion_rate: Float?,
|
3105
2963
|
currency: String?,
|
3106
2964
|
external_price_id: String?,
|
3107
2965
|
fixed_price_quantity: Float?,
|
3108
2966
|
invoice_grouping_key: String?,
|
3109
|
-
invoicing_cycle_configuration: Orb::
|
2967
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration?,
|
3110
2968
|
metadata: ::Hash[Symbol, String?]?
|
3111
2969
|
}
|
3112
2970
|
|
3113
2971
|
class BulkWithProration < Orb::Internal::Type::BaseModel
|
3114
2972
|
attr_accessor bulk_with_proration_config: ::Hash[Symbol, top]
|
3115
2973
|
|
3116
|
-
attr_accessor cadence: Orb::
|
2974
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::BulkWithProration::cadence
|
3117
2975
|
|
3118
2976
|
attr_accessor item_id: String
|
3119
2977
|
|
@@ -3125,7 +2983,7 @@ module Orb
|
|
3125
2983
|
|
3126
2984
|
attr_accessor billed_in_advance: bool?
|
3127
2985
|
|
3128
|
-
attr_accessor billing_cycle_configuration: Orb::
|
2986
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration?
|
3129
2987
|
|
3130
2988
|
attr_accessor conversion_rate: Float?
|
3131
2989
|
|
@@ -3137,30 +2995,28 @@ module Orb
|
|
3137
2995
|
|
3138
2996
|
attr_accessor invoice_grouping_key: String?
|
3139
2997
|
|
3140
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
2998
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration?
|
3141
2999
|
|
3142
3000
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
3143
3001
|
|
3144
3002
|
def initialize: (
|
3145
3003
|
bulk_with_proration_config: ::Hash[Symbol, top],
|
3146
|
-
cadence: Orb::
|
3004
|
+
cadence: Orb::PlanCreateParams::Price::BulkWithProration::cadence,
|
3147
3005
|
item_id: String,
|
3148
3006
|
name: String,
|
3149
3007
|
?billable_metric_id: String?,
|
3150
3008
|
?billed_in_advance: bool?,
|
3151
|
-
?billing_cycle_configuration: Orb::
|
3009
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration?,
|
3152
3010
|
?conversion_rate: Float?,
|
3153
3011
|
?currency: String?,
|
3154
3012
|
?external_price_id: String?,
|
3155
3013
|
?fixed_price_quantity: Float?,
|
3156
3014
|
?invoice_grouping_key: String?,
|
3157
|
-
?invoicing_cycle_configuration: Orb::
|
3015
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration?,
|
3158
3016
|
?metadata: ::Hash[Symbol, String?]?,
|
3159
3017
|
?model_type: :bulk_with_proration
|
3160
3018
|
) -> void
|
3161
3019
|
|
3162
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::bulk_with_proration
|
3163
|
-
|
3164
3020
|
type cadence =
|
3165
3021
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
3166
3022
|
|
@@ -3174,27 +3030,25 @@ module Orb
|
|
3174
3030
|
ONE_TIME: :one_time
|
3175
3031
|
CUSTOM: :custom
|
3176
3032
|
|
3177
|
-
def self?.values: -> ::Array[Orb::
|
3033
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::BulkWithProration::cadence]
|
3178
3034
|
end
|
3179
3035
|
|
3180
3036
|
type billing_cycle_configuration =
|
3181
3037
|
{
|
3182
3038
|
duration: Integer,
|
3183
|
-
duration_unit: Orb::
|
3039
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration::duration_unit
|
3184
3040
|
}
|
3185
3041
|
|
3186
3042
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3187
3043
|
attr_accessor duration: Integer
|
3188
3044
|
|
3189
|
-
attr_accessor duration_unit: Orb::
|
3045
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration::duration_unit
|
3190
3046
|
|
3191
3047
|
def initialize: (
|
3192
3048
|
duration: Integer,
|
3193
|
-
duration_unit: Orb::
|
3049
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration::duration_unit
|
3194
3050
|
) -> void
|
3195
3051
|
|
3196
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::BulkWithProration::billing_cycle_configuration
|
3197
|
-
|
3198
3052
|
type duration_unit = :day | :month
|
3199
3053
|
|
3200
3054
|
module DurationUnit
|
@@ -3203,28 +3057,26 @@ module Orb
|
|
3203
3057
|
DAY: :day
|
3204
3058
|
MONTH: :month
|
3205
3059
|
|
3206
|
-
def self?.values: -> ::Array[Orb::
|
3060
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration::duration_unit]
|
3207
3061
|
end
|
3208
3062
|
end
|
3209
3063
|
|
3210
3064
|
type invoicing_cycle_configuration =
|
3211
3065
|
{
|
3212
3066
|
duration: Integer,
|
3213
|
-
duration_unit: Orb::
|
3067
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration::duration_unit
|
3214
3068
|
}
|
3215
3069
|
|
3216
3070
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3217
3071
|
attr_accessor duration: Integer
|
3218
3072
|
|
3219
|
-
attr_accessor duration_unit: Orb::
|
3073
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration::duration_unit
|
3220
3074
|
|
3221
3075
|
def initialize: (
|
3222
3076
|
duration: Integer,
|
3223
|
-
duration_unit: Orb::
|
3077
|
+
duration_unit: Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration::duration_unit
|
3224
3078
|
) -> void
|
3225
3079
|
|
3226
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::BulkWithProration::invoicing_cycle_configuration
|
3227
|
-
|
3228
3080
|
type duration_unit = :day | :month
|
3229
3081
|
|
3230
3082
|
module DurationUnit
|
@@ -3233,32 +3085,32 @@ module Orb
|
|
3233
3085
|
DAY: :day
|
3234
3086
|
MONTH: :month
|
3235
3087
|
|
3236
|
-
def self?.values: -> ::Array[Orb::
|
3088
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration::duration_unit]
|
3237
3089
|
end
|
3238
3090
|
end
|
3239
3091
|
end
|
3240
3092
|
|
3241
3093
|
type grouped_tiered_package =
|
3242
3094
|
{
|
3243
|
-
cadence: Orb::
|
3095
|
+
cadence: Orb::PlanCreateParams::Price::GroupedTieredPackage::cadence,
|
3244
3096
|
grouped_tiered_package_config: ::Hash[Symbol, top],
|
3245
3097
|
item_id: String,
|
3246
3098
|
model_type: :grouped_tiered_package,
|
3247
3099
|
name: String,
|
3248
3100
|
billable_metric_id: String?,
|
3249
3101
|
billed_in_advance: bool?,
|
3250
|
-
billing_cycle_configuration: Orb::
|
3102
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration?,
|
3251
3103
|
conversion_rate: Float?,
|
3252
3104
|
currency: String?,
|
3253
3105
|
external_price_id: String?,
|
3254
3106
|
fixed_price_quantity: Float?,
|
3255
3107
|
invoice_grouping_key: String?,
|
3256
|
-
invoicing_cycle_configuration: Orb::
|
3108
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration?,
|
3257
3109
|
metadata: ::Hash[Symbol, String?]?
|
3258
3110
|
}
|
3259
3111
|
|
3260
3112
|
class GroupedTieredPackage < Orb::Internal::Type::BaseModel
|
3261
|
-
attr_accessor cadence: Orb::
|
3113
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::GroupedTieredPackage::cadence
|
3262
3114
|
|
3263
3115
|
attr_accessor grouped_tiered_package_config: ::Hash[Symbol, top]
|
3264
3116
|
|
@@ -3272,7 +3124,7 @@ module Orb
|
|
3272
3124
|
|
3273
3125
|
attr_accessor billed_in_advance: bool?
|
3274
3126
|
|
3275
|
-
attr_accessor billing_cycle_configuration: Orb::
|
3127
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration?
|
3276
3128
|
|
3277
3129
|
attr_accessor conversion_rate: Float?
|
3278
3130
|
|
@@ -3284,30 +3136,28 @@ module Orb
|
|
3284
3136
|
|
3285
3137
|
attr_accessor invoice_grouping_key: String?
|
3286
3138
|
|
3287
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
3139
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration?
|
3288
3140
|
|
3289
3141
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
3290
3142
|
|
3291
3143
|
def initialize: (
|
3292
|
-
cadence: Orb::
|
3144
|
+
cadence: Orb::PlanCreateParams::Price::GroupedTieredPackage::cadence,
|
3293
3145
|
grouped_tiered_package_config: ::Hash[Symbol, top],
|
3294
3146
|
item_id: String,
|
3295
3147
|
name: String,
|
3296
3148
|
?billable_metric_id: String?,
|
3297
3149
|
?billed_in_advance: bool?,
|
3298
|
-
?billing_cycle_configuration: Orb::
|
3150
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration?,
|
3299
3151
|
?conversion_rate: Float?,
|
3300
3152
|
?currency: String?,
|
3301
3153
|
?external_price_id: String?,
|
3302
3154
|
?fixed_price_quantity: Float?,
|
3303
3155
|
?invoice_grouping_key: String?,
|
3304
|
-
?invoicing_cycle_configuration: Orb::
|
3156
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration?,
|
3305
3157
|
?metadata: ::Hash[Symbol, String?]?,
|
3306
3158
|
?model_type: :grouped_tiered_package
|
3307
3159
|
) -> void
|
3308
3160
|
|
3309
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::grouped_tiered_package
|
3310
|
-
|
3311
3161
|
type cadence =
|
3312
3162
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
3313
3163
|
|
@@ -3321,27 +3171,25 @@ module Orb
|
|
3321
3171
|
ONE_TIME: :one_time
|
3322
3172
|
CUSTOM: :custom
|
3323
3173
|
|
3324
|
-
def self?.values: -> ::Array[Orb::
|
3174
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedTieredPackage::cadence]
|
3325
3175
|
end
|
3326
3176
|
|
3327
3177
|
type billing_cycle_configuration =
|
3328
3178
|
{
|
3329
3179
|
duration: Integer,
|
3330
|
-
duration_unit: Orb::
|
3180
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration::duration_unit
|
3331
3181
|
}
|
3332
3182
|
|
3333
3183
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3334
3184
|
attr_accessor duration: Integer
|
3335
3185
|
|
3336
|
-
attr_accessor duration_unit: Orb::
|
3186
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration::duration_unit
|
3337
3187
|
|
3338
3188
|
def initialize: (
|
3339
3189
|
duration: Integer,
|
3340
|
-
duration_unit: Orb::
|
3190
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration::duration_unit
|
3341
3191
|
) -> void
|
3342
3192
|
|
3343
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedTieredPackage::billing_cycle_configuration
|
3344
|
-
|
3345
3193
|
type duration_unit = :day | :month
|
3346
3194
|
|
3347
3195
|
module DurationUnit
|
@@ -3350,28 +3198,26 @@ module Orb
|
|
3350
3198
|
DAY: :day
|
3351
3199
|
MONTH: :month
|
3352
3200
|
|
3353
|
-
def self?.values: -> ::Array[Orb::
|
3201
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration::duration_unit]
|
3354
3202
|
end
|
3355
3203
|
end
|
3356
3204
|
|
3357
3205
|
type invoicing_cycle_configuration =
|
3358
3206
|
{
|
3359
3207
|
duration: Integer,
|
3360
|
-
duration_unit: Orb::
|
3208
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration::duration_unit
|
3361
3209
|
}
|
3362
3210
|
|
3363
3211
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3364
3212
|
attr_accessor duration: Integer
|
3365
3213
|
|
3366
|
-
attr_accessor duration_unit: Orb::
|
3214
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration::duration_unit
|
3367
3215
|
|
3368
3216
|
def initialize: (
|
3369
3217
|
duration: Integer,
|
3370
|
-
duration_unit: Orb::
|
3218
|
+
duration_unit: Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration::duration_unit
|
3371
3219
|
) -> void
|
3372
3220
|
|
3373
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::GroupedTieredPackage::invoicing_cycle_configuration
|
3374
|
-
|
3375
3221
|
type duration_unit = :day | :month
|
3376
3222
|
|
3377
3223
|
module DurationUnit
|
@@ -3380,32 +3226,32 @@ module Orb
|
|
3380
3226
|
DAY: :day
|
3381
3227
|
MONTH: :month
|
3382
3228
|
|
3383
|
-
def self?.values: -> ::Array[Orb::
|
3229
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration::duration_unit]
|
3384
3230
|
end
|
3385
3231
|
end
|
3386
3232
|
end
|
3387
3233
|
|
3388
3234
|
type max_group_tiered_package =
|
3389
3235
|
{
|
3390
|
-
cadence: Orb::
|
3236
|
+
cadence: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::cadence,
|
3391
3237
|
item_id: String,
|
3392
3238
|
max_group_tiered_package_config: ::Hash[Symbol, top],
|
3393
3239
|
model_type: :max_group_tiered_package,
|
3394
3240
|
name: String,
|
3395
3241
|
billable_metric_id: String?,
|
3396
3242
|
billed_in_advance: bool?,
|
3397
|
-
billing_cycle_configuration: Orb::
|
3243
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration?,
|
3398
3244
|
conversion_rate: Float?,
|
3399
3245
|
currency: String?,
|
3400
3246
|
external_price_id: String?,
|
3401
3247
|
fixed_price_quantity: Float?,
|
3402
3248
|
invoice_grouping_key: String?,
|
3403
|
-
invoicing_cycle_configuration: Orb::
|
3249
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration?,
|
3404
3250
|
metadata: ::Hash[Symbol, String?]?
|
3405
3251
|
}
|
3406
3252
|
|
3407
3253
|
class MaxGroupTieredPackage < Orb::Internal::Type::BaseModel
|
3408
|
-
attr_accessor cadence: Orb::
|
3254
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::cadence
|
3409
3255
|
|
3410
3256
|
attr_accessor item_id: String
|
3411
3257
|
|
@@ -3419,7 +3265,7 @@ module Orb
|
|
3419
3265
|
|
3420
3266
|
attr_accessor billed_in_advance: bool?
|
3421
3267
|
|
3422
|
-
attr_accessor billing_cycle_configuration: Orb::
|
3268
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration?
|
3423
3269
|
|
3424
3270
|
attr_accessor conversion_rate: Float?
|
3425
3271
|
|
@@ -3431,30 +3277,28 @@ module Orb
|
|
3431
3277
|
|
3432
3278
|
attr_accessor invoice_grouping_key: String?
|
3433
3279
|
|
3434
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
3280
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration?
|
3435
3281
|
|
3436
3282
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
3437
3283
|
|
3438
3284
|
def initialize: (
|
3439
|
-
cadence: Orb::
|
3285
|
+
cadence: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::cadence,
|
3440
3286
|
item_id: String,
|
3441
3287
|
max_group_tiered_package_config: ::Hash[Symbol, top],
|
3442
3288
|
name: String,
|
3443
3289
|
?billable_metric_id: String?,
|
3444
3290
|
?billed_in_advance: bool?,
|
3445
|
-
?billing_cycle_configuration: Orb::
|
3291
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration?,
|
3446
3292
|
?conversion_rate: Float?,
|
3447
3293
|
?currency: String?,
|
3448
3294
|
?external_price_id: String?,
|
3449
3295
|
?fixed_price_quantity: Float?,
|
3450
3296
|
?invoice_grouping_key: String?,
|
3451
|
-
?invoicing_cycle_configuration: Orb::
|
3297
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration?,
|
3452
3298
|
?metadata: ::Hash[Symbol, String?]?,
|
3453
3299
|
?model_type: :max_group_tiered_package
|
3454
3300
|
) -> void
|
3455
3301
|
|
3456
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::max_group_tiered_package
|
3457
|
-
|
3458
3302
|
type cadence =
|
3459
3303
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
3460
3304
|
|
@@ -3468,27 +3312,25 @@ module Orb
|
|
3468
3312
|
ONE_TIME: :one_time
|
3469
3313
|
CUSTOM: :custom
|
3470
3314
|
|
3471
|
-
def self?.values: -> ::Array[Orb::
|
3315
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::MaxGroupTieredPackage::cadence]
|
3472
3316
|
end
|
3473
3317
|
|
3474
3318
|
type billing_cycle_configuration =
|
3475
3319
|
{
|
3476
3320
|
duration: Integer,
|
3477
|
-
duration_unit: Orb::
|
3321
|
+
duration_unit: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration::duration_unit
|
3478
3322
|
}
|
3479
3323
|
|
3480
3324
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3481
3325
|
attr_accessor duration: Integer
|
3482
3326
|
|
3483
|
-
attr_accessor duration_unit: Orb::
|
3327
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration::duration_unit
|
3484
3328
|
|
3485
3329
|
def initialize: (
|
3486
3330
|
duration: Integer,
|
3487
|
-
duration_unit: Orb::
|
3331
|
+
duration_unit: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration::duration_unit
|
3488
3332
|
) -> void
|
3489
3333
|
|
3490
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::MaxGroupTieredPackage::billing_cycle_configuration
|
3491
|
-
|
3492
3334
|
type duration_unit = :day | :month
|
3493
3335
|
|
3494
3336
|
module DurationUnit
|
@@ -3497,28 +3339,26 @@ module Orb
|
|
3497
3339
|
DAY: :day
|
3498
3340
|
MONTH: :month
|
3499
3341
|
|
3500
|
-
def self?.values: -> ::Array[Orb::
|
3342
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration::duration_unit]
|
3501
3343
|
end
|
3502
3344
|
end
|
3503
3345
|
|
3504
3346
|
type invoicing_cycle_configuration =
|
3505
3347
|
{
|
3506
3348
|
duration: Integer,
|
3507
|
-
duration_unit: Orb::
|
3349
|
+
duration_unit: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration::duration_unit
|
3508
3350
|
}
|
3509
3351
|
|
3510
3352
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3511
3353
|
attr_accessor duration: Integer
|
3512
3354
|
|
3513
|
-
attr_accessor duration_unit: Orb::
|
3355
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration::duration_unit
|
3514
3356
|
|
3515
3357
|
def initialize: (
|
3516
3358
|
duration: Integer,
|
3517
|
-
duration_unit: Orb::
|
3359
|
+
duration_unit: Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration::duration_unit
|
3518
3360
|
) -> void
|
3519
3361
|
|
3520
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::MaxGroupTieredPackage::invoicing_cycle_configuration
|
3521
|
-
|
3522
3362
|
type duration_unit = :day | :month
|
3523
3363
|
|
3524
3364
|
module DurationUnit
|
@@ -3527,32 +3367,32 @@ module Orb
|
|
3527
3367
|
DAY: :day
|
3528
3368
|
MONTH: :month
|
3529
3369
|
|
3530
|
-
def self?.values: -> ::Array[Orb::
|
3370
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration::duration_unit]
|
3531
3371
|
end
|
3532
3372
|
end
|
3533
3373
|
end
|
3534
3374
|
|
3535
3375
|
type scalable_matrix_with_unit_pricing =
|
3536
3376
|
{
|
3537
|
-
cadence: Orb::
|
3377
|
+
cadence: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::cadence,
|
3538
3378
|
item_id: String,
|
3539
3379
|
model_type: :scalable_matrix_with_unit_pricing,
|
3540
3380
|
name: String,
|
3541
3381
|
scalable_matrix_with_unit_pricing_config: ::Hash[Symbol, top],
|
3542
3382
|
billable_metric_id: String?,
|
3543
3383
|
billed_in_advance: bool?,
|
3544
|
-
billing_cycle_configuration: Orb::
|
3384
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration?,
|
3545
3385
|
conversion_rate: Float?,
|
3546
3386
|
currency: String?,
|
3547
3387
|
external_price_id: String?,
|
3548
3388
|
fixed_price_quantity: Float?,
|
3549
3389
|
invoice_grouping_key: String?,
|
3550
|
-
invoicing_cycle_configuration: Orb::
|
3390
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration?,
|
3551
3391
|
metadata: ::Hash[Symbol, String?]?
|
3552
3392
|
}
|
3553
3393
|
|
3554
3394
|
class ScalableMatrixWithUnitPricing < Orb::Internal::Type::BaseModel
|
3555
|
-
attr_accessor cadence: Orb::
|
3395
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::cadence
|
3556
3396
|
|
3557
3397
|
attr_accessor item_id: String
|
3558
3398
|
|
@@ -3566,7 +3406,7 @@ module Orb
|
|
3566
3406
|
|
3567
3407
|
attr_accessor billed_in_advance: bool?
|
3568
3408
|
|
3569
|
-
attr_accessor billing_cycle_configuration: Orb::
|
3409
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration?
|
3570
3410
|
|
3571
3411
|
attr_accessor conversion_rate: Float?
|
3572
3412
|
|
@@ -3578,30 +3418,28 @@ module Orb
|
|
3578
3418
|
|
3579
3419
|
attr_accessor invoice_grouping_key: String?
|
3580
3420
|
|
3581
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
3421
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration?
|
3582
3422
|
|
3583
3423
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
3584
3424
|
|
3585
3425
|
def initialize: (
|
3586
|
-
cadence: Orb::
|
3426
|
+
cadence: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::cadence,
|
3587
3427
|
item_id: String,
|
3588
3428
|
name: String,
|
3589
3429
|
scalable_matrix_with_unit_pricing_config: ::Hash[Symbol, top],
|
3590
3430
|
?billable_metric_id: String?,
|
3591
3431
|
?billed_in_advance: bool?,
|
3592
|
-
?billing_cycle_configuration: Orb::
|
3432
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration?,
|
3593
3433
|
?conversion_rate: Float?,
|
3594
3434
|
?currency: String?,
|
3595
3435
|
?external_price_id: String?,
|
3596
3436
|
?fixed_price_quantity: Float?,
|
3597
3437
|
?invoice_grouping_key: String?,
|
3598
|
-
?invoicing_cycle_configuration: Orb::
|
3438
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration?,
|
3599
3439
|
?metadata: ::Hash[Symbol, String?]?,
|
3600
3440
|
?model_type: :scalable_matrix_with_unit_pricing
|
3601
3441
|
) -> void
|
3602
3442
|
|
3603
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::scalable_matrix_with_unit_pricing
|
3604
|
-
|
3605
3443
|
type cadence =
|
3606
3444
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
3607
3445
|
|
@@ -3615,27 +3453,25 @@ module Orb
|
|
3615
3453
|
ONE_TIME: :one_time
|
3616
3454
|
CUSTOM: :custom
|
3617
3455
|
|
3618
|
-
def self?.values: -> ::Array[Orb::
|
3456
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::cadence]
|
3619
3457
|
end
|
3620
3458
|
|
3621
3459
|
type billing_cycle_configuration =
|
3622
3460
|
{
|
3623
3461
|
duration: Integer,
|
3624
|
-
duration_unit: Orb::
|
3462
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration::duration_unit
|
3625
3463
|
}
|
3626
3464
|
|
3627
3465
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3628
3466
|
attr_accessor duration: Integer
|
3629
3467
|
|
3630
|
-
attr_accessor duration_unit: Orb::
|
3468
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration::duration_unit
|
3631
3469
|
|
3632
3470
|
def initialize: (
|
3633
3471
|
duration: Integer,
|
3634
|
-
duration_unit: Orb::
|
3472
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration::duration_unit
|
3635
3473
|
) -> void
|
3636
3474
|
|
3637
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::billing_cycle_configuration
|
3638
|
-
|
3639
3475
|
type duration_unit = :day | :month
|
3640
3476
|
|
3641
3477
|
module DurationUnit
|
@@ -3644,28 +3480,26 @@ module Orb
|
|
3644
3480
|
DAY: :day
|
3645
3481
|
MONTH: :month
|
3646
3482
|
|
3647
|
-
def self?.values: -> ::Array[Orb::
|
3483
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration::duration_unit]
|
3648
3484
|
end
|
3649
3485
|
end
|
3650
3486
|
|
3651
3487
|
type invoicing_cycle_configuration =
|
3652
3488
|
{
|
3653
3489
|
duration: Integer,
|
3654
|
-
duration_unit: Orb::
|
3490
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration::duration_unit
|
3655
3491
|
}
|
3656
3492
|
|
3657
3493
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3658
3494
|
attr_accessor duration: Integer
|
3659
3495
|
|
3660
|
-
attr_accessor duration_unit: Orb::
|
3496
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration::duration_unit
|
3661
3497
|
|
3662
3498
|
def initialize: (
|
3663
3499
|
duration: Integer,
|
3664
|
-
duration_unit: Orb::
|
3500
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration::duration_unit
|
3665
3501
|
) -> void
|
3666
3502
|
|
3667
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::invoicing_cycle_configuration
|
3668
|
-
|
3669
3503
|
type duration_unit = :day | :month
|
3670
3504
|
|
3671
3505
|
module DurationUnit
|
@@ -3674,32 +3508,32 @@ module Orb
|
|
3674
3508
|
DAY: :day
|
3675
3509
|
MONTH: :month
|
3676
3510
|
|
3677
|
-
def self?.values: -> ::Array[Orb::
|
3511
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration::duration_unit]
|
3678
3512
|
end
|
3679
3513
|
end
|
3680
3514
|
end
|
3681
3515
|
|
3682
3516
|
type scalable_matrix_with_tiered_pricing =
|
3683
3517
|
{
|
3684
|
-
cadence: Orb::
|
3518
|
+
cadence: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::cadence,
|
3685
3519
|
item_id: String,
|
3686
3520
|
model_type: :scalable_matrix_with_tiered_pricing,
|
3687
3521
|
name: String,
|
3688
3522
|
scalable_matrix_with_tiered_pricing_config: ::Hash[Symbol, top],
|
3689
3523
|
billable_metric_id: String?,
|
3690
3524
|
billed_in_advance: bool?,
|
3691
|
-
billing_cycle_configuration: Orb::
|
3525
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration?,
|
3692
3526
|
conversion_rate: Float?,
|
3693
3527
|
currency: String?,
|
3694
3528
|
external_price_id: String?,
|
3695
3529
|
fixed_price_quantity: Float?,
|
3696
3530
|
invoice_grouping_key: String?,
|
3697
|
-
invoicing_cycle_configuration: Orb::
|
3531
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration?,
|
3698
3532
|
metadata: ::Hash[Symbol, String?]?
|
3699
3533
|
}
|
3700
3534
|
|
3701
3535
|
class ScalableMatrixWithTieredPricing < Orb::Internal::Type::BaseModel
|
3702
|
-
attr_accessor cadence: Orb::
|
3536
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::cadence
|
3703
3537
|
|
3704
3538
|
attr_accessor item_id: String
|
3705
3539
|
|
@@ -3713,7 +3547,7 @@ module Orb
|
|
3713
3547
|
|
3714
3548
|
attr_accessor billed_in_advance: bool?
|
3715
3549
|
|
3716
|
-
attr_accessor billing_cycle_configuration: Orb::
|
3550
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration?
|
3717
3551
|
|
3718
3552
|
attr_accessor conversion_rate: Float?
|
3719
3553
|
|
@@ -3725,30 +3559,28 @@ module Orb
|
|
3725
3559
|
|
3726
3560
|
attr_accessor invoice_grouping_key: String?
|
3727
3561
|
|
3728
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
3562
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration?
|
3729
3563
|
|
3730
3564
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
3731
3565
|
|
3732
3566
|
def initialize: (
|
3733
|
-
cadence: Orb::
|
3567
|
+
cadence: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::cadence,
|
3734
3568
|
item_id: String,
|
3735
3569
|
name: String,
|
3736
3570
|
scalable_matrix_with_tiered_pricing_config: ::Hash[Symbol, top],
|
3737
3571
|
?billable_metric_id: String?,
|
3738
3572
|
?billed_in_advance: bool?,
|
3739
|
-
?billing_cycle_configuration: Orb::
|
3573
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration?,
|
3740
3574
|
?conversion_rate: Float?,
|
3741
3575
|
?currency: String?,
|
3742
3576
|
?external_price_id: String?,
|
3743
3577
|
?fixed_price_quantity: Float?,
|
3744
3578
|
?invoice_grouping_key: String?,
|
3745
|
-
?invoicing_cycle_configuration: Orb::
|
3579
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration?,
|
3746
3580
|
?metadata: ::Hash[Symbol, String?]?,
|
3747
3581
|
?model_type: :scalable_matrix_with_tiered_pricing
|
3748
3582
|
) -> void
|
3749
3583
|
|
3750
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::scalable_matrix_with_tiered_pricing
|
3751
|
-
|
3752
3584
|
type cadence =
|
3753
3585
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
3754
3586
|
|
@@ -3762,27 +3594,25 @@ module Orb
|
|
3762
3594
|
ONE_TIME: :one_time
|
3763
3595
|
CUSTOM: :custom
|
3764
3596
|
|
3765
|
-
def self?.values: -> ::Array[Orb::
|
3597
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::cadence]
|
3766
3598
|
end
|
3767
3599
|
|
3768
3600
|
type billing_cycle_configuration =
|
3769
3601
|
{
|
3770
3602
|
duration: Integer,
|
3771
|
-
duration_unit: Orb::
|
3603
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration::duration_unit
|
3772
3604
|
}
|
3773
3605
|
|
3774
3606
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3775
3607
|
attr_accessor duration: Integer
|
3776
3608
|
|
3777
|
-
attr_accessor duration_unit: Orb::
|
3609
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration::duration_unit
|
3778
3610
|
|
3779
3611
|
def initialize: (
|
3780
3612
|
duration: Integer,
|
3781
|
-
duration_unit: Orb::
|
3613
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration::duration_unit
|
3782
3614
|
) -> void
|
3783
3615
|
|
3784
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::billing_cycle_configuration
|
3785
|
-
|
3786
3616
|
type duration_unit = :day | :month
|
3787
3617
|
|
3788
3618
|
module DurationUnit
|
@@ -3791,28 +3621,26 @@ module Orb
|
|
3791
3621
|
DAY: :day
|
3792
3622
|
MONTH: :month
|
3793
3623
|
|
3794
|
-
def self?.values: -> ::Array[Orb::
|
3624
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration::duration_unit]
|
3795
3625
|
end
|
3796
3626
|
end
|
3797
3627
|
|
3798
3628
|
type invoicing_cycle_configuration =
|
3799
3629
|
{
|
3800
3630
|
duration: Integer,
|
3801
|
-
duration_unit: Orb::
|
3631
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration::duration_unit
|
3802
3632
|
}
|
3803
3633
|
|
3804
3634
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3805
3635
|
attr_accessor duration: Integer
|
3806
3636
|
|
3807
|
-
attr_accessor duration_unit: Orb::
|
3637
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration::duration_unit
|
3808
3638
|
|
3809
3639
|
def initialize: (
|
3810
3640
|
duration: Integer,
|
3811
|
-
duration_unit: Orb::
|
3641
|
+
duration_unit: Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration::duration_unit
|
3812
3642
|
) -> void
|
3813
3643
|
|
3814
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::invoicing_cycle_configuration
|
3815
|
-
|
3816
3644
|
type duration_unit = :day | :month
|
3817
3645
|
|
3818
3646
|
module DurationUnit
|
@@ -3821,32 +3649,32 @@ module Orb
|
|
3821
3649
|
DAY: :day
|
3822
3650
|
MONTH: :month
|
3823
3651
|
|
3824
|
-
def self?.values: -> ::Array[Orb::
|
3652
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration::duration_unit]
|
3825
3653
|
end
|
3826
3654
|
end
|
3827
3655
|
end
|
3828
3656
|
|
3829
3657
|
type cumulative_grouped_bulk =
|
3830
3658
|
{
|
3831
|
-
cadence: Orb::
|
3659
|
+
cadence: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::cadence,
|
3832
3660
|
cumulative_grouped_bulk_config: ::Hash[Symbol, top],
|
3833
3661
|
item_id: String,
|
3834
3662
|
model_type: :cumulative_grouped_bulk,
|
3835
3663
|
name: String,
|
3836
3664
|
billable_metric_id: String?,
|
3837
3665
|
billed_in_advance: bool?,
|
3838
|
-
billing_cycle_configuration: Orb::
|
3666
|
+
billing_cycle_configuration: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration?,
|
3839
3667
|
conversion_rate: Float?,
|
3840
3668
|
currency: String?,
|
3841
3669
|
external_price_id: String?,
|
3842
3670
|
fixed_price_quantity: Float?,
|
3843
3671
|
invoice_grouping_key: String?,
|
3844
|
-
invoicing_cycle_configuration: Orb::
|
3672
|
+
invoicing_cycle_configuration: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration?,
|
3845
3673
|
metadata: ::Hash[Symbol, String?]?
|
3846
3674
|
}
|
3847
3675
|
|
3848
3676
|
class CumulativeGroupedBulk < Orb::Internal::Type::BaseModel
|
3849
|
-
attr_accessor cadence: Orb::
|
3677
|
+
attr_accessor cadence: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::cadence
|
3850
3678
|
|
3851
3679
|
attr_accessor cumulative_grouped_bulk_config: ::Hash[Symbol, top]
|
3852
3680
|
|
@@ -3860,7 +3688,7 @@ module Orb
|
|
3860
3688
|
|
3861
3689
|
attr_accessor billed_in_advance: bool?
|
3862
3690
|
|
3863
|
-
attr_accessor billing_cycle_configuration: Orb::
|
3691
|
+
attr_accessor billing_cycle_configuration: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration?
|
3864
3692
|
|
3865
3693
|
attr_accessor conversion_rate: Float?
|
3866
3694
|
|
@@ -3872,30 +3700,28 @@ module Orb
|
|
3872
3700
|
|
3873
3701
|
attr_accessor invoice_grouping_key: String?
|
3874
3702
|
|
3875
|
-
attr_accessor invoicing_cycle_configuration: Orb::
|
3703
|
+
attr_accessor invoicing_cycle_configuration: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration?
|
3876
3704
|
|
3877
3705
|
attr_accessor metadata: ::Hash[Symbol, String?]?
|
3878
3706
|
|
3879
3707
|
def initialize: (
|
3880
|
-
cadence: Orb::
|
3708
|
+
cadence: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::cadence,
|
3881
3709
|
cumulative_grouped_bulk_config: ::Hash[Symbol, top],
|
3882
3710
|
item_id: String,
|
3883
3711
|
name: String,
|
3884
3712
|
?billable_metric_id: String?,
|
3885
3713
|
?billed_in_advance: bool?,
|
3886
|
-
?billing_cycle_configuration: Orb::
|
3714
|
+
?billing_cycle_configuration: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration?,
|
3887
3715
|
?conversion_rate: Float?,
|
3888
3716
|
?currency: String?,
|
3889
3717
|
?external_price_id: String?,
|
3890
3718
|
?fixed_price_quantity: Float?,
|
3891
3719
|
?invoice_grouping_key: String?,
|
3892
|
-
?invoicing_cycle_configuration: Orb::
|
3720
|
+
?invoicing_cycle_configuration: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration?,
|
3893
3721
|
?metadata: ::Hash[Symbol, String?]?,
|
3894
3722
|
?model_type: :cumulative_grouped_bulk
|
3895
3723
|
) -> void
|
3896
3724
|
|
3897
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::cumulative_grouped_bulk
|
3898
|
-
|
3899
3725
|
type cadence =
|
3900
3726
|
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
3901
3727
|
|
@@ -3909,27 +3735,25 @@ module Orb
|
|
3909
3735
|
ONE_TIME: :one_time
|
3910
3736
|
CUSTOM: :custom
|
3911
3737
|
|
3912
|
-
def self?.values: -> ::Array[Orb::
|
3738
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::CumulativeGroupedBulk::cadence]
|
3913
3739
|
end
|
3914
3740
|
|
3915
3741
|
type billing_cycle_configuration =
|
3916
3742
|
{
|
3917
3743
|
duration: Integer,
|
3918
|
-
duration_unit: Orb::
|
3744
|
+
duration_unit: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration::duration_unit
|
3919
3745
|
}
|
3920
3746
|
|
3921
3747
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3922
3748
|
attr_accessor duration: Integer
|
3923
3749
|
|
3924
|
-
attr_accessor duration_unit: Orb::
|
3750
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration::duration_unit
|
3925
3751
|
|
3926
3752
|
def initialize: (
|
3927
3753
|
duration: Integer,
|
3928
|
-
duration_unit: Orb::
|
3754
|
+
duration_unit: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration::duration_unit
|
3929
3755
|
) -> void
|
3930
3756
|
|
3931
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::CumulativeGroupedBulk::billing_cycle_configuration
|
3932
|
-
|
3933
3757
|
type duration_unit = :day | :month
|
3934
3758
|
|
3935
3759
|
module DurationUnit
|
@@ -3938,28 +3762,26 @@ module Orb
|
|
3938
3762
|
DAY: :day
|
3939
3763
|
MONTH: :month
|
3940
3764
|
|
3941
|
-
def self?.values: -> ::Array[Orb::
|
3765
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration::duration_unit]
|
3942
3766
|
end
|
3943
3767
|
end
|
3944
3768
|
|
3945
3769
|
type invoicing_cycle_configuration =
|
3946
3770
|
{
|
3947
3771
|
duration: Integer,
|
3948
|
-
duration_unit: Orb::
|
3772
|
+
duration_unit: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration::duration_unit
|
3949
3773
|
}
|
3950
3774
|
|
3951
3775
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3952
3776
|
attr_accessor duration: Integer
|
3953
3777
|
|
3954
|
-
attr_accessor duration_unit: Orb::
|
3778
|
+
attr_accessor duration_unit: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration::duration_unit
|
3955
3779
|
|
3956
3780
|
def initialize: (
|
3957
3781
|
duration: Integer,
|
3958
|
-
duration_unit: Orb::
|
3782
|
+
duration_unit: Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration::duration_unit
|
3959
3783
|
) -> void
|
3960
3784
|
|
3961
|
-
def to_hash: -> Orb::Models::PlanCreateParams::Price::CumulativeGroupedBulk::invoicing_cycle_configuration
|
3962
|
-
|
3963
3785
|
type duration_unit = :day | :month
|
3964
3786
|
|
3965
3787
|
module DurationUnit
|
@@ -3968,12 +3790,12 @@ module Orb
|
|
3968
3790
|
DAY: :day
|
3969
3791
|
MONTH: :month
|
3970
3792
|
|
3971
|
-
def self?.values: -> ::Array[Orb::
|
3793
|
+
def self?.values: -> ::Array[Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration::duration_unit]
|
3972
3794
|
end
|
3973
3795
|
end
|
3974
3796
|
end
|
3975
3797
|
|
3976
|
-
def self?.variants: -> [Orb::
|
3798
|
+
def self?.variants: -> ::Array[Orb::PlanCreateParams::price]
|
3977
3799
|
end
|
3978
3800
|
|
3979
3801
|
type status = :active | :draft
|