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