orb-billing 0.12.0 → 1.0.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 +28 -0
- data/README.md +1 -1
- data/lib/orb/internal/type/base_model.rb +5 -5
- data/lib/orb/models/accounting_provider_config.rb +21 -0
- data/lib/orb/models/address.rb +45 -0
- data/lib/orb/models/address_input.rb +45 -0
- data/lib/orb/models/adjustment_interval.rb +66 -0
- data/lib/orb/models/aggregated_cost.rb +45 -0
- data/lib/orb/models/alert.rb +9 -60
- data/lib/orb/models/alert_create_for_customer_params.rb +3 -24
- data/lib/orb/models/alert_create_for_external_customer_params.rb +3 -24
- data/lib/orb/models/alert_create_for_subscription_params.rb +3 -23
- data/lib/orb/models/alert_update_params.rb +3 -22
- data/lib/orb/models/allocation.rb +27 -0
- data/lib/orb/models/amount_discount.rb +3 -59
- data/lib/orb/models/amount_discount_interval.rb +65 -0
- data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +193 -19201
- data/lib/orb/models/beta_create_plan_version_params.rb +183 -19025
- data/lib/orb/models/billable_metric_tiny.rb +15 -0
- data/lib/orb/models/billing_cycle_anchor_configuration.rb +41 -0
- data/lib/orb/models/billing_cycle_configuration.rb +32 -0
- data/lib/orb/models/bps_config.rb +24 -0
- data/lib/orb/models/bps_tier.rb +40 -0
- data/lib/orb/models/bulk_bps_config.rb +20 -0
- data/lib/orb/models/bulk_bps_tier.rb +32 -0
- data/lib/orb/models/bulk_config.rb +16 -0
- data/lib/orb/models/bulk_tier.rb +24 -0
- data/lib/orb/models/changed_subscription_resources.rb +40 -0
- data/lib/orb/models/conversion_rate_tier.rb +32 -0
- data/lib/orb/models/conversion_rate_tiered_config.rb +16 -0
- data/lib/orb/models/conversion_rate_unit_config.rb +16 -0
- data/lib/orb/models/coupon_redemption.rb +27 -0
- data/lib/orb/models/credit_note.rb +6 -51
- data/lib/orb/models/credit_note_tiny.rb +16 -0
- data/lib/orb/models/custom_expiration.rb +32 -0
- data/lib/orb/models/customer.rb +15 -426
- data/lib/orb/models/customer_create_params.rb +24 -527
- data/lib/orb/models/customer_hierarchy_config.rb +29 -0
- data/lib/orb/models/customer_minified.rb +21 -0
- data/lib/orb/models/customer_tax_id.rb +300 -0
- data/lib/orb/models/customer_update_by_external_id_params.rb +24 -529
- data/lib/orb/models/customer_update_params.rb +24 -527
- data/lib/orb/models/customers/balance_transaction_create_response.rb +6 -32
- data/lib/orb/models/customers/balance_transaction_list_response.rb +6 -32
- data/lib/orb/models/customers/cost_list_by_external_id_response.rb +3 -88
- data/lib/orb/models/customers/cost_list_response.rb +3 -87
- data/lib/orb/models/customers/credits/affected_block.rb +31 -0
- data/lib/orb/models/customers/credits/amendment_ledger_entry.rb +131 -0
- data/lib/orb/models/customers/credits/credit_block_expiry_ledger_entry.rb +137 -0
- data/lib/orb/models/customers/credits/decrement_ledger_entry.rb +152 -0
- data/lib/orb/models/customers/credits/expiration_change_ledger_entry.rb +141 -0
- data/lib/orb/models/customers/credits/increment_ledger_entry.rb +139 -0
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +8 -1177
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +8 -1169
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +8 -1173
- data/lib/orb/models/customers/credits/ledger_list_response.rb +8 -1161
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +3 -52
- data/lib/orb/models/customers/credits/top_up_create_response.rb +3 -51
- data/lib/orb/models/customers/credits/top_up_invoice_settings.rb +53 -0
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +3 -52
- data/lib/orb/models/customers/credits/top_up_list_response.rb +3 -51
- data/lib/orb/models/customers/credits/void_initiated_ledger_entry.rb +152 -0
- data/lib/orb/models/customers/credits/void_ledger_entry.rb +145 -0
- data/lib/orb/models/dimensional_price_configuration.rb +21 -0
- data/lib/orb/models/discount_override.rb +56 -0
- data/lib/orb/models/fixed_fee_quantity_schedule_entry.rb +33 -0
- data/lib/orb/models/fixed_fee_quantity_transition.rb +27 -0
- data/lib/orb/models/invoice.rb +56 -1777
- data/lib/orb/models/invoice_create_params.rb +3 -15
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +56 -1794
- data/lib/orb/models/invoice_line_item_create_response.rb +25 -1142
- data/lib/orb/models/invoice_tiny.rb +16 -0
- data/lib/orb/models/item_slim.rb +21 -0
- data/lib/orb/models/matrix_config.rb +32 -0
- data/lib/orb/models/matrix_sub_line_item.rb +61 -0
- data/lib/orb/models/matrix_value.rb +29 -0
- data/lib/orb/models/matrix_with_allocation_config.rb +40 -0
- data/lib/orb/models/maximum.rb +38 -0
- data/lib/orb/models/maximum_interval.rb +52 -0
- data/lib/orb/models/minimum.rb +38 -0
- data/lib/orb/models/minimum_interval.rb +52 -0
- data/lib/orb/models/monetary_amount_discount_adjustment.rb +87 -0
- data/lib/orb/models/monetary_maximum_adjustment.rb +87 -0
- data/lib/orb/models/monetary_minimum_adjustment.rb +95 -0
- data/lib/orb/models/monetary_percentage_discount_adjustment.rb +87 -0
- data/lib/orb/models/monetary_usage_discount_adjustment.rb +87 -0
- data/lib/orb/models/mutated_subscription.rb +302 -0
- data/lib/orb/models/new_accounting_sync_configuration.rb +23 -0
- data/lib/orb/models/new_allocation_price.rb +70 -0
- data/lib/orb/models/new_amount_discount.rb +120 -0
- data/lib/orb/models/new_avalara_tax_configuration.rb +37 -0
- data/lib/orb/models/new_billing_cycle_configuration.rb +37 -0
- data/lib/orb/models/new_dimensional_price_configuration.rb +36 -0
- data/lib/orb/models/new_floating_bps_price.rb +199 -0
- data/lib/orb/models/new_floating_bulk_bps_price.rb +197 -0
- data/lib/orb/models/new_floating_bulk_price.rb +197 -0
- data/lib/orb/models/new_floating_bulk_with_proration_price.rb +197 -0
- data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_allocation_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_tiered_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +198 -0
- data/lib/orb/models/new_floating_matrix_price.rb +197 -0
- data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +197 -0
- data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +197 -0
- data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +197 -0
- data/lib/orb/models/new_floating_package_price.rb +197 -0
- data/lib/orb/models/new_floating_package_with_allocation_price.rb +197 -0
- data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +198 -0
- data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +198 -0
- data/lib/orb/models/new_floating_threshold_total_amount_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_bps_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_package_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_with_proration_price.rb +197 -0
- data/lib/orb/models/new_floating_unit_price.rb +197 -0
- data/lib/orb/models/new_floating_unit_with_percent_price.rb +197 -0
- data/lib/orb/models/new_floating_unit_with_proration_price.rb +197 -0
- data/lib/orb/models/new_maximum.rb +120 -0
- data/lib/orb/models/new_minimum.rb +128 -0
- data/lib/orb/models/new_percentage_discount.rb +120 -0
- data/lib/orb/models/new_plan_bps_price.rb +196 -0
- data/lib/orb/models/new_plan_bulk_bps_price.rb +200 -0
- data/lib/orb/models/new_plan_bulk_price.rb +196 -0
- data/lib/orb/models/new_plan_bulk_with_proration_price.rb +198 -0
- data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_allocation_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_tiered_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +199 -0
- data/lib/orb/models/new_plan_matrix_price.rb +200 -0
- data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +198 -0
- data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +198 -0
- data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +198 -0
- data/lib/orb/models/new_plan_package_price.rb +200 -0
- data/lib/orb/models/new_plan_package_with_allocation_price.rb +198 -0
- data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +199 -0
- data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +199 -0
- data/lib/orb/models/new_plan_threshold_total_amount_price.rb +198 -0
- data/lib/orb/models/new_plan_tier_with_proration_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_bps_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_package_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_price.rb +200 -0
- data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +198 -0
- data/lib/orb/models/new_plan_unit_price.rb +196 -0
- data/lib/orb/models/new_plan_unit_with_percent_price.rb +198 -0
- data/lib/orb/models/new_plan_unit_with_proration_price.rb +198 -0
- data/lib/orb/models/new_reporting_configuration.rb +15 -0
- data/lib/orb/models/new_sphere_configuration.rb +31 -0
- data/lib/orb/models/new_subscription_bps_price.rb +207 -0
- data/lib/orb/models/new_subscription_bulk_bps_price.rb +207 -0
- data/lib/orb/models/new_subscription_bulk_price.rb +207 -0
- data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +207 -0
- data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_allocation_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_tiered_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +208 -0
- data/lib/orb/models/new_subscription_matrix_price.rb +207 -0
- data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +207 -0
- data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +207 -0
- data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_package_with_allocation_price.rb +207 -0
- data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +209 -0
- data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +209 -0
- data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +207 -0
- data/lib/orb/models/new_subscription_tier_with_proration_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_bps_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +207 -0
- data/lib/orb/models/new_subscription_unit_price.rb +207 -0
- data/lib/orb/models/new_subscription_unit_with_percent_price.rb +207 -0
- data/lib/orb/models/new_subscription_unit_with_proration_price.rb +207 -0
- data/lib/orb/models/new_tax_jar_configuration.rb +31 -0
- data/lib/orb/models/new_usage_discount.rb +120 -0
- data/lib/orb/models/other_sub_line_item.rb +54 -0
- data/lib/orb/models/package_config.rb +28 -0
- data/lib/orb/models/per_price_cost.rb +48 -0
- data/lib/orb/models/percentage_discount.rb +3 -59
- data/lib/orb/models/percentage_discount_interval.rb +69 -0
- data/lib/orb/models/plan.rb +22 -1040
- data/lib/orb/models/plan_create_params.rb +31 -8145
- data/lib/orb/models/plan_phase_amount_discount_adjustment.rb +87 -0
- data/lib/orb/models/plan_phase_maximum_adjustment.rb +87 -0
- data/lib/orb/models/plan_phase_minimum_adjustment.rb +95 -0
- data/lib/orb/models/plan_phase_percentage_discount_adjustment.rb +87 -0
- data/lib/orb/models/plan_phase_usage_discount_adjustment.rb +87 -0
- data/lib/orb/models/plan_version.rb +10 -672
- data/lib/orb/models/price.rb +1225 -10817
- data/lib/orb/models/price_create_params.rb +53 -472
- data/lib/orb/models/price_evaluate_multiple_params.rb +32 -8479
- data/lib/orb/models/price_evaluate_preview_events_params.rb +236 -0
- data/lib/orb/models/price_evaluate_preview_events_response.rb +51 -0
- data/lib/orb/models/price_interval.rb +113 -0
- data/lib/orb/models/sub_line_item_grouping.rb +23 -0
- data/lib/orb/models/sub_line_item_matrix_config.rb +16 -0
- data/lib/orb/models/subscription.rb +33 -1581
- data/lib/orb/models/subscription_change_apply_response.rb +3 -1904
- data/lib/orb/models/subscription_change_cancel_response.rb +3 -1905
- data/lib/orb/models/subscription_change_minified.rb +15 -0
- data/lib/orb/models/subscription_change_retrieve_response.rb +3 -1906
- data/lib/orb/models/subscription_create_params.rb +232 -19698
- data/lib/orb/models/subscription_fetch_costs_response.rb +3 -87
- data/lib/orb/models/subscription_minified.rb +15 -0
- data/lib/orb/models/subscription_price_intervals_params.rb +86 -9468
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +238 -19792
- data/lib/orb/models/subscription_trial_info.rb +15 -0
- data/lib/orb/models/tax_amount.rb +32 -0
- data/lib/orb/models/threshold.rb +24 -0
- data/lib/orb/models/tier.rb +32 -0
- data/lib/orb/models/tier_config.rb +27 -0
- data/lib/orb/models/tier_sub_line_item.rb +61 -0
- data/lib/orb/models/tiered_bps_config.rb +20 -0
- data/lib/orb/models/tiered_config.rb +16 -0
- data/lib/orb/models/tiered_conversion_rate_config.rb +31 -0
- data/lib/orb/models/transform_price_filter.rb +61 -0
- data/lib/orb/models/trial_discount.rb +3 -59
- data/lib/orb/models/unit_config.rb +16 -0
- data/lib/orb/models/unit_conversion_rate_config.rb +31 -0
- data/lib/orb/models/usage_discount.rb +3 -59
- data/lib/orb/models/usage_discount_interval.rb +69 -0
- data/lib/orb/models.rb +348 -0
- data/lib/orb/resources/alerts.rb +4 -4
- data/lib/orb/resources/customers/credits/ledger.rb +4 -4
- data/lib/orb/resources/customers.rb +21 -21
- 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 +82 -34
- data/lib/orb/resources/subscriptions.rb +24 -24
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +181 -11
- data/rbi/orb/models/accounting_provider_config.rbi +34 -0
- data/rbi/orb/models/address.rbi +55 -0
- data/rbi/orb/models/address_input.rbi +62 -0
- data/rbi/orb/models/adjustment_interval.rbi +93 -0
- data/rbi/orb/models/aggregated_cost.rbi +61 -0
- data/rbi/orb/models/alert.rbi +11 -84
- data/rbi/orb/models/alert_create_for_customer_params.rbi +3 -42
- data/rbi/orb/models/alert_create_for_external_customer_params.rbi +3 -48
- data/rbi/orb/models/alert_create_for_subscription_params.rbi +3 -38
- data/rbi/orb/models/alert_update_params.rbi +3 -31
- data/rbi/orb/models/allocation.rbi +45 -0
- data/rbi/orb/models/amount_discount.rbi +3 -112
- data/rbi/orb/models/amount_discount_interval.rbi +100 -0
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +558 -35618
- data/rbi/orb/models/beta_create_plan_version_params.rbi +558 -35610
- data/rbi/orb/models/billable_metric_tiny.rbi +21 -0
- data/rbi/orb/models/billing_cycle_anchor_configuration.rbi +61 -0
- data/rbi/orb/models/billing_cycle_configuration.rbi +70 -0
- data/rbi/orb/models/bps_config.rbi +36 -0
- data/rbi/orb/models/bps_tier.rbi +58 -0
- data/rbi/orb/models/bulk_bps_config.rbi +31 -0
- data/rbi/orb/models/bulk_bps_tier.rbi +50 -0
- data/rbi/orb/models/bulk_config.rbi +26 -0
- data/rbi/orb/models/bulk_tier.rbi +38 -0
- data/rbi/orb/models/changed_subscription_resources.rbi +61 -0
- data/rbi/orb/models/conversion_rate_tier.rbi +51 -0
- data/rbi/orb/models/conversion_rate_tiered_config.rbi +31 -0
- data/rbi/orb/models/conversion_rate_unit_config.rbi +27 -0
- data/rbi/orb/models/coupon_redemption.rbi +37 -0
- data/rbi/orb/models/credit_note.rbi +7 -87
- data/rbi/orb/models/credit_note_tiny.rbi +25 -0
- data/rbi/orb/models/custom_expiration.rbi +55 -0
- data/rbi/orb/models/customer.rbi +19 -522
- data/rbi/orb/models/customer_create_params.rbi +36 -957
- data/rbi/orb/models/customer_hierarchy_config.rbi +52 -0
- data/rbi/orb/models/customer_minified.rbi +32 -0
- data/rbi/orb/models/customer_tax_id.rbi +324 -0
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +36 -1436
- data/rbi/orb/models/customer_update_params.rbi +36 -957
- data/rbi/orb/models/customers/balance_transaction_create_response.rbi +8 -96
- data/rbi/orb/models/customers/balance_transaction_list_response.rbi +8 -96
- data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +5 -191
- data/rbi/orb/models/customers/cost_list_response.rbi +5 -182
- data/rbi/orb/models/customers/credits/affected_block.rbi +50 -0
- data/rbi/orb/models/customers/credits/amendment_ledger_entry.rbi +207 -0
- data/rbi/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbi +209 -0
- data/rbi/orb/models/customers/credits/decrement_ledger_entry.rbi +225 -0
- data/rbi/orb/models/customers/credits/expiration_change_ledger_entry.rbi +213 -0
- data/rbi/orb/models/customers/credits/increment_ledger_entry.rbi +215 -0
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/ledger_list_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/top_up_create_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/top_up_invoice_settings.rbi +83 -0
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/top_up_list_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/void_initiated_ledger_entry.rbi +225 -0
- data/rbi/orb/models/customers/credits/void_ledger_entry.rbi +219 -0
- data/rbi/orb/models/dimensional_price_configuration.rbi +38 -0
- data/rbi/orb/models/discount_override.rbi +83 -0
- data/rbi/orb/models/fixed_fee_quantity_schedule_entry.rbi +48 -0
- data/rbi/orb/models/fixed_fee_quantity_transition.rbi +39 -0
- data/rbi/orb/models/invoice.rbi +212 -3345
- data/rbi/orb/models/invoice_create_params.rbi +4 -33
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +355 -4329
- data/rbi/orb/models/invoice_line_item_create_response.rbi +30 -2260
- data/rbi/orb/models/invoice_tiny.rbi +24 -0
- data/rbi/orb/models/item_slim.rbi +23 -0
- data/rbi/orb/models/matrix_config.rbi +50 -0
- data/rbi/orb/models/matrix_sub_line_item.rbi +87 -0
- data/rbi/orb/models/matrix_value.rbi +43 -0
- data/rbi/orb/models/matrix_with_allocation_config.rbi +61 -0
- data/rbi/orb/models/maximum.rbi +52 -0
- data/rbi/orb/models/maximum_interval.rbi +69 -0
- data/rbi/orb/models/minimum.rbi +52 -0
- data/rbi/orb/models/minimum_interval.rbi +69 -0
- data/rbi/orb/models/monetary_amount_discount_adjustment.rbi +125 -0
- data/rbi/orb/models/monetary_maximum_adjustment.rbi +123 -0
- data/rbi/orb/models/monetary_minimum_adjustment.rbi +131 -0
- data/rbi/orb/models/monetary_percentage_discount_adjustment.rbi +131 -0
- data/rbi/orb/models/monetary_usage_discount_adjustment.rbi +125 -0
- data/rbi/orb/models/mutated_subscription.rbi +412 -0
- data/rbi/orb/models/new_accounting_sync_configuration.rbi +40 -0
- data/rbi/orb/models/new_allocation_price.rbi +104 -0
- data/rbi/orb/models/new_amount_discount.rbi +179 -0
- data/rbi/orb/models/new_avalara_tax_configuration.rbi +68 -0
- data/rbi/orb/models/new_billing_cycle_configuration.rbi +79 -0
- data/rbi/orb/models/new_dimensional_price_configuration.rbi +55 -0
- data/rbi/orb/models/new_floating_bps_price.rbi +294 -0
- data/rbi/orb/models/new_floating_bulk_bps_price.rbi +309 -0
- data/rbi/orb/models/new_floating_bulk_price.rbi +298 -0
- data/rbi/orb/models/new_floating_bulk_with_proration_price.rbi +331 -0
- data/rbi/orb/models/new_floating_cumulative_grouped_bulk_price.rbi +338 -0
- data/rbi/orb/models/new_floating_grouped_allocation_price.rbi +331 -0
- data/rbi/orb/models/new_floating_grouped_tiered_package_price.rbi +337 -0
- data/rbi/orb/models/new_floating_grouped_tiered_price.rbi +325 -0
- data/rbi/orb/models/new_floating_grouped_with_metered_minimum_price.rbi +348 -0
- data/rbi/orb/models/new_floating_grouped_with_prorated_minimum_price.rbi +348 -0
- data/rbi/orb/models/new_floating_matrix_price.rbi +304 -0
- data/rbi/orb/models/new_floating_matrix_with_allocation_price.rbi +345 -0
- data/rbi/orb/models/new_floating_matrix_with_display_name_price.rbi +338 -0
- data/rbi/orb/models/new_floating_max_group_tiered_package_price.rbi +338 -0
- data/rbi/orb/models/new_floating_package_price.rbi +306 -0
- data/rbi/orb/models/new_floating_package_with_allocation_price.rbi +338 -0
- data/rbi/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbi +350 -0
- data/rbi/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbi +349 -0
- data/rbi/orb/models/new_floating_threshold_total_amount_price.rbi +337 -0
- data/rbi/orb/models/new_floating_tiered_bps_price.rbi +317 -0
- data/rbi/orb/models/new_floating_tiered_package_price.rbi +325 -0
- data/rbi/orb/models/new_floating_tiered_package_with_minimum_price.rbi +348 -0
- data/rbi/orb/models/new_floating_tiered_price.rbi +304 -0
- data/rbi/orb/models/new_floating_tiered_with_minimum_price.rbi +331 -0
- data/rbi/orb/models/new_floating_tiered_with_proration_price.rbi +337 -0
- data/rbi/orb/models/new_floating_unit_price.rbi +298 -0
- data/rbi/orb/models/new_floating_unit_with_percent_price.rbi +328 -0
- data/rbi/orb/models/new_floating_unit_with_proration_price.rbi +331 -0
- data/rbi/orb/models/new_maximum.rbi +160 -0
- data/rbi/orb/models/new_minimum.rbi +168 -0
- data/rbi/orb/models/new_percentage_discount.rbi +193 -0
- data/rbi/orb/models/new_plan_bps_price.rbi +294 -0
- data/rbi/orb/models/new_plan_bulk_bps_price.rbi +297 -0
- data/rbi/orb/models/new_plan_bulk_price.rbi +295 -0
- data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +327 -0
- data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +333 -0
- data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +327 -0
- data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +333 -0
- data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +316 -0
- data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +340 -0
- data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +345 -0
- data/rbi/orb/models/new_plan_matrix_price.rbi +297 -0
- data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +341 -0
- data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +333 -0
- data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +333 -0
- data/rbi/orb/models/new_plan_package_price.rbi +297 -0
- data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +333 -0
- data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +352 -0
- data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +351 -0
- data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +333 -0
- data/rbi/orb/models/new_plan_tier_with_proration_price.rbi +327 -0
- data/rbi/orb/models/new_plan_tiered_bps_price.rbi +304 -0
- data/rbi/orb/models/new_plan_tiered_package_price.rbi +316 -0
- data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +339 -0
- data/rbi/orb/models/new_plan_tiered_price.rbi +297 -0
- data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +327 -0
- data/rbi/orb/models/new_plan_unit_price.rbi +295 -0
- data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +325 -0
- data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +327 -0
- data/rbi/orb/models/new_reporting_configuration.rbi +23 -0
- data/rbi/orb/models/new_sphere_configuration.rbi +59 -0
- data/rbi/orb/models/new_subscription_bps_price.rbi +317 -0
- data/rbi/orb/models/new_subscription_bulk_bps_price.rbi +338 -0
- data/rbi/orb/models/new_subscription_bulk_price.rbi +321 -0
- data/rbi/orb/models/new_subscription_bulk_with_proration_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_cumulative_grouped_bulk_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_grouped_allocation_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_grouped_tiered_package_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_grouped_tiered_price.rbi +343 -0
- data/rbi/orb/models/new_subscription_grouped_with_metered_minimum_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_matrix_price.rbi +332 -0
- data/rbi/orb/models/new_subscription_matrix_with_allocation_price.rbi +368 -0
- data/rbi/orb/models/new_subscription_matrix_with_display_name_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_max_group_tiered_package_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_package_price.rbi +338 -0
- data/rbi/orb/models/new_subscription_package_with_allocation_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbi +362 -0
- data/rbi/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbi +361 -0
- data/rbi/orb/models/new_subscription_threshold_total_amount_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_tier_with_proration_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_tiered_bps_price.rbi +340 -0
- data/rbi/orb/models/new_subscription_tiered_package_price.rbi +343 -0
- data/rbi/orb/models/new_subscription_tiered_package_with_minimum_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_tiered_price.rbi +332 -0
- data/rbi/orb/models/new_subscription_tiered_with_minimum_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_unit_price.rbi +321 -0
- data/rbi/orb/models/new_subscription_unit_with_percent_price.rbi +349 -0
- data/rbi/orb/models/new_subscription_unit_with_proration_price.rbi +350 -0
- data/rbi/orb/models/new_tax_jar_configuration.rbi +59 -0
- data/rbi/orb/models/new_usage_discount.rbi +177 -0
- data/rbi/orb/models/other_sub_line_item.rbi +78 -0
- data/rbi/orb/models/package_config.rbi +39 -0
- data/rbi/orb/models/per_price_cost.rbi +96 -0
- data/rbi/orb/models/percentage_discount.rbi +3 -126
- data/rbi/orb/models/percentage_discount_interval.rbi +107 -0
- data/rbi/orb/models/plan.rbi +29 -1937
- data/rbi/orb/models/plan_create_params.rbi +112 -15428
- data/rbi/orb/models/plan_phase_amount_discount_adjustment.rbi +128 -0
- data/rbi/orb/models/plan_phase_maximum_adjustment.rbi +123 -0
- data/rbi/orb/models/plan_phase_minimum_adjustment.rbi +131 -0
- data/rbi/orb/models/plan_phase_percentage_discount_adjustment.rbi +131 -0
- data/rbi/orb/models/plan_phase_usage_discount_adjustment.rbi +125 -0
- data/rbi/orb/models/plan_version.rbi +13 -1252
- data/rbi/orb/models/price.rbi +3518 -26097
- data/rbi/orb/models/price_create_params.rbi +81 -937
- data/rbi/orb/models/price_evaluate_multiple_params.rbi +112 -15566
- data/rbi/orb/models/price_evaluate_preview_events_params.rbi +411 -0
- data/rbi/orb/models/price_evaluate_preview_events_response.rbi +101 -0
- data/rbi/orb/models/price_interval.rbi +174 -0
- data/rbi/orb/models/sub_line_item_grouping.rbi +31 -0
- data/rbi/orb/models/sub_line_item_matrix_config.rbi +33 -0
- data/rbi/orb/models/subscription.rbi +51 -2939
- data/rbi/orb/models/subscription_change_apply_response.rbi +4 -3580
- data/rbi/orb/models/subscription_change_cancel_response.rbi +4 -3580
- data/rbi/orb/models/subscription_change_minified.rbi +23 -0
- data/rbi/orb/models/subscription_change_retrieve_response.rbi +4 -3582
- data/rbi/orb/models/subscription_create_params.rbi +686 -36613
- data/rbi/orb/models/subscription_fetch_costs_response.rbi +5 -182
- data/rbi/orb/models/subscription_minified.rbi +23 -0
- data/rbi/orb/models/subscription_price_intervals_params.rbi +224 -17694
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +696 -36631
- data/rbi/orb/models/subscription_trial_info.rbi +23 -0
- data/rbi/orb/models/tax_amount.rbi +50 -0
- data/rbi/orb/models/threshold.rbi +30 -0
- data/rbi/orb/models/tier.rbi +50 -0
- data/rbi/orb/models/tier_config.rbi +40 -0
- data/rbi/orb/models/tier_sub_line_item.rbi +87 -0
- data/rbi/orb/models/tiered_bps_config.rbi +29 -0
- data/rbi/orb/models/tiered_config.rbi +26 -0
- data/rbi/orb/models/tiered_conversion_rate_config.rbi +73 -0
- data/rbi/orb/models/transform_price_filter.rbi +106 -0
- data/rbi/orb/models/trial_discount.rbi +3 -104
- data/rbi/orb/models/unit_config.rbi +24 -0
- data/rbi/orb/models/unit_conversion_rate_config.rbi +71 -0
- data/rbi/orb/models/usage_discount.rbi +3 -104
- data/rbi/orb/models/usage_discount_interval.rbi +99 -0
- data/rbi/orb/models.rbi +398 -0
- data/rbi/orb/resources/alerts.rbi +4 -13
- data/rbi/orb/resources/customers.rbi +27 -51
- data/rbi/orb/resources/plans.rbi +28 -28
- data/rbi/orb/resources/prices.rbi +82 -36
- data/rbi/orb/resources/subscriptions.rbi +13 -19
- data/sig/orb/models/accounting_provider_config.rbs +19 -0
- data/sig/orb/models/address.rbs +45 -0
- data/sig/orb/models/address_input.rbs +45 -0
- data/sig/orb/models/adjustment_interval.rbs +53 -0
- data/sig/orb/models/aggregated_cost.rbs +40 -0
- data/sig/orb/models/alert.rbs +12 -44
- data/sig/orb/models/alert_create_for_customer_params.rbs +4 -14
- data/sig/orb/models/alert_create_for_external_customer_params.rbs +4 -14
- data/sig/orb/models/alert_create_for_subscription_params.rbs +4 -14
- data/sig/orb/models/alert_update_params.rbs +4 -14
- data/sig/orb/models/allocation.rbs +30 -0
- data/sig/orb/models/amount_discount.rbs +4 -57
- data/sig/orb/models/amount_discount_interval.rbs +55 -0
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +149 -13933
- data/sig/orb/models/beta_create_plan_version_params.rbs +146 -13914
- data/sig/orb/models/billable_metric_tiny.rbs +13 -0
- data/sig/orb/models/billing_cycle_anchor_configuration.rbs +18 -0
- data/sig/orb/models/billing_cycle_configuration.rbs +36 -0
- data/sig/orb/models/bps_config.rbs +15 -0
- data/sig/orb/models/bps_tier.rbs +35 -0
- data/sig/orb/models/bulk_bps_config.rbs +13 -0
- data/sig/orb/models/bulk_bps_tier.rbs +26 -0
- data/sig/orb/models/bulk_config.rbs +13 -0
- data/sig/orb/models/bulk_tier.rbs +15 -0
- data/sig/orb/models/changed_subscription_resources.rbs +35 -0
- data/sig/orb/models/conversion_rate_tier.rbs +26 -0
- data/sig/orb/models/conversion_rate_tiered_config.rbs +14 -0
- data/sig/orb/models/conversion_rate_unit_config.rbs +13 -0
- data/sig/orb/models/coupon_redemption.rbs +22 -0
- data/sig/orb/models/credit_note.rbs +8 -47
- data/sig/orb/models/credit_note_tiny.rbs +13 -0
- data/sig/orb/models/custom_expiration.rbs +36 -0
- data/sig/orb/models/customer.rbs +20 -471
- data/sig/orb/models/customer_create_params.rbs +27 -577
- data/sig/orb/models/customer_hierarchy_config.rbs +24 -0
- data/sig/orb/models/customer_minified.rbs +15 -0
- data/sig/orb/models/customer_tax_id.rbs +346 -0
- data/sig/orb/models/customer_update_by_external_id_params.rbs +27 -577
- data/sig/orb/models/customer_update_params.rbs +27 -577
- data/sig/orb/models/customers/balance_transaction_create_response.rbs +8 -28
- data/sig/orb/models/customers/balance_transaction_list_response.rbs +8 -28
- data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +4 -84
- data/sig/orb/models/customers/cost_list_response.rbs +4 -83
- data/sig/orb/models/customers/credits/affected_block.rbs +30 -0
- data/sig/orb/models/customers/credits/amendment_ledger_entry.rbs +105 -0
- data/sig/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbs +107 -0
- data/sig/orb/models/customers/credits/decrement_ledger_entry.rbs +120 -0
- data/sig/orb/models/customers/credits/expiration_change_ledger_entry.rbs +110 -0
- data/sig/orb/models/customers/credits/increment_ledger_entry.rbs +110 -0
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +7 -939
- data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +7 -939
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +7 -939
- data/sig/orb/models/customers/credits/ledger_list_response.rbs +7 -939
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +4 -38
- data/sig/orb/models/customers/credits/top_up_create_response.rbs +4 -38
- data/sig/orb/models/customers/credits/top_up_invoice_settings.rbs +41 -0
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +4 -38
- data/sig/orb/models/customers/credits/top_up_list_response.rbs +4 -38
- data/sig/orb/models/customers/credits/void_initiated_ledger_entry.rbs +120 -0
- data/sig/orb/models/customers/credits/void_ledger_entry.rbs +115 -0
- data/sig/orb/models/dimensional_price_configuration.rbs +22 -0
- data/sig/orb/models/discount_override.rbs +47 -0
- data/sig/orb/models/fixed_fee_quantity_schedule_entry.rbs +30 -0
- data/sig/orb/models/fixed_fee_quantity_transition.rbs +26 -0
- data/sig/orb/models/invoice.rbs +54 -1612
- data/sig/orb/models/invoice_create_params.rbs +4 -14
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +54 -1612
- data/sig/orb/models/invoice_line_item_create_response.rbs +18 -927
- data/sig/orb/models/invoice_tiny.rbs +13 -0
- data/sig/orb/models/item_slim.rbs +15 -0
- data/sig/orb/models/matrix_config.rbs +30 -0
- data/sig/orb/models/matrix_sub_line_item.rbs +55 -0
- data/sig/orb/models/matrix_value.rbs +22 -0
- data/sig/orb/models/matrix_with_allocation_config.rbs +35 -0
- data/sig/orb/models/maximum.rbs +30 -0
- data/sig/orb/models/maximum_interval.rbs +40 -0
- data/sig/orb/models/minimum.rbs +30 -0
- data/sig/orb/models/minimum_interval.rbs +40 -0
- data/sig/orb/models/monetary_amount_discount_adjustment.rbs +65 -0
- data/sig/orb/models/monetary_maximum_adjustment.rbs +65 -0
- data/sig/orb/models/monetary_minimum_adjustment.rbs +70 -0
- data/sig/orb/models/monetary_percentage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/monetary_usage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/mutated_subscription.rbs +178 -0
- data/sig/orb/models/new_accounting_sync_configuration.rbs +25 -0
- data/sig/orb/models/new_allocation_price.rbs +56 -0
- data/sig/orb/models/new_amount_discount.rbs +97 -0
- data/sig/orb/models/new_avalara_tax_configuration.rbs +40 -0
- data/sig/orb/models/new_billing_cycle_configuration.rbs +36 -0
- data/sig/orb/models/new_dimensional_price_configuration.rbs +30 -0
- data/sig/orb/models/new_floating_bps_price.rbs +135 -0
- data/sig/orb/models/new_floating_bulk_bps_price.rbs +135 -0
- data/sig/orb/models/new_floating_bulk_price.rbs +135 -0
- data/sig/orb/models/new_floating_bulk_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_allocation_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_tiered_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_with_metered_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_with_prorated_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_matrix_price.rbs +135 -0
- data/sig/orb/models/new_floating_matrix_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_floating_matrix_with_display_name_price.rbs +135 -0
- data/sig/orb/models/new_floating_max_group_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_package_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
- data/sig/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbs +135 -0
- data/sig/orb/models/new_floating_threshold_total_amount_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_bps_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_package_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_floating_unit_price.rbs +135 -0
- data/sig/orb/models/new_floating_unit_with_percent_price.rbs +135 -0
- data/sig/orb/models/new_floating_unit_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_maximum.rbs +97 -0
- data/sig/orb/models/new_minimum.rbs +102 -0
- data/sig/orb/models/new_percentage_discount.rbs +97 -0
- data/sig/orb/models/new_plan_bps_price.rbs +135 -0
- data/sig/orb/models/new_plan_bulk_bps_price.rbs +135 -0
- data/sig/orb/models/new_plan_bulk_price.rbs +135 -0
- data/sig/orb/models/new_plan_bulk_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_plan_cumulative_grouped_bulk_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_allocation_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_tiered_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_with_metered_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_with_prorated_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_matrix_price.rbs +135 -0
- data/sig/orb/models/new_plan_matrix_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_plan_matrix_with_display_name_price.rbs +135 -0
- data/sig/orb/models/new_plan_max_group_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_package_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
- data/sig/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbs +135 -0
- data/sig/orb/models/new_plan_threshold_total_amount_price.rbs +135 -0
- data/sig/orb/models/new_plan_tier_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_bps_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_package_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_unit_price.rbs +135 -0
- data/sig/orb/models/new_plan_unit_with_percent_price.rbs +135 -0
- data/sig/orb/models/new_plan_unit_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_reporting_configuration.rbs +13 -0
- data/sig/orb/models/new_sphere_configuration.rbs +35 -0
- data/sig/orb/models/new_subscription_bps_price.rbs +140 -0
- data/sig/orb/models/new_subscription_bulk_bps_price.rbs +140 -0
- data/sig/orb/models/new_subscription_bulk_price.rbs +140 -0
- data/sig/orb/models/new_subscription_bulk_with_proration_price.rbs +140 -0
- data/sig/orb/models/new_subscription_cumulative_grouped_bulk_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_allocation_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_tiered_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_tiered_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_with_metered_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_matrix_price.rbs +140 -0
- data/sig/orb/models/new_subscription_matrix_with_allocation_price.rbs +140 -0
- data/sig/orb/models/new_subscription_matrix_with_display_name_price.rbs +140 -0
- data/sig/orb/models/new_subscription_max_group_tiered_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_package_with_allocation_price.rbs +140 -0
- data/sig/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbs +140 -0
- data/sig/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbs +140 -0
- data/sig/orb/models/new_subscription_threshold_total_amount_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tier_with_proration_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_bps_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_package_with_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_with_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_unit_price.rbs +140 -0
- data/sig/orb/models/new_subscription_unit_with_percent_price.rbs +140 -0
- data/sig/orb/models/new_subscription_unit_with_proration_price.rbs +140 -0
- data/sig/orb/models/new_tax_jar_configuration.rbs +35 -0
- data/sig/orb/models/new_usage_discount.rbs +97 -0
- data/sig/orb/models/other_sub_line_item.rbs +50 -0
- data/sig/orb/models/package_config.rbs +15 -0
- data/sig/orb/models/per_price_cost.rbs +40 -0
- data/sig/orb/models/percentage_discount.rbs +4 -57
- data/sig/orb/models/percentage_discount_interval.rbs +55 -0
- data/sig/orb/models/plan.rbs +21 -871
- data/sig/orb/models/plan_create_params.rbs +28 -5952
- data/sig/orb/models/plan_phase_amount_discount_adjustment.rbs +65 -0
- data/sig/orb/models/plan_phase_maximum_adjustment.rbs +65 -0
- data/sig/orb/models/plan_phase_minimum_adjustment.rbs +70 -0
- data/sig/orb/models/plan_phase_percentage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/plan_phase_usage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/plan_version.rbs +5 -535
- data/sig/orb/models/price.rbs +2164 -11297
- data/sig/orb/models/price_create_params.rbs +58 -418
- data/sig/orb/models/price_evaluate_multiple_params.rbs +28 -6138
- data/sig/orb/models/price_evaluate_preview_events_params.rbs +166 -0
- data/sig/orb/models/price_evaluate_preview_events_response.rbs +50 -0
- data/sig/orb/models/price_interval.rbs +65 -0
- data/sig/orb/models/sub_line_item_grouping.rbs +15 -0
- data/sig/orb/models/sub_line_item_matrix_config.rbs +13 -0
- data/sig/orb/models/subscription.rbs +39 -1274
- data/sig/orb/models/subscription_change_apply_response.rbs +4 -1467
- data/sig/orb/models/subscription_change_cancel_response.rbs +4 -1467
- data/sig/orb/models/subscription_change_minified.rbs +13 -0
- data/sig/orb/models/subscription_change_retrieve_response.rbs +4 -1467
- data/sig/orb/models/subscription_create_params.rbs +176 -14331
- data/sig/orb/models/subscription_fetch_costs_response.rbs +4 -82
- data/sig/orb/models/subscription_minified.rbs +13 -0
- data/sig/orb/models/subscription_price_intervals_params.rbs +61 -6945
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +178 -14333
- data/sig/orb/models/subscription_trial_info.rbs +13 -0
- data/sig/orb/models/tax_amount.rbs +30 -0
- data/sig/orb/models/threshold.rbs +13 -0
- data/sig/orb/models/tier.rbs +25 -0
- data/sig/orb/models/tier_config.rbs +26 -0
- data/sig/orb/models/tier_sub_line_item.rbs +55 -0
- data/sig/orb/models/tiered_bps_config.rbs +13 -0
- data/sig/orb/models/tiered_config.rbs +13 -0
- data/sig/orb/models/tiered_conversion_rate_config.rbs +35 -0
- data/sig/orb/models/transform_price_filter.rbs +56 -0
- data/sig/orb/models/trial_discount.rbs +4 -57
- data/sig/orb/models/unit_config.rbs +13 -0
- data/sig/orb/models/unit_conversion_rate_config.rbs +35 -0
- data/sig/orb/models/usage_discount.rbs +4 -57
- data/sig/orb/models/usage_discount_interval.rbs +55 -0
- data/sig/orb/models.rbs +342 -0
- data/sig/orb/resources/alerts.rbs +4 -4
- data/sig/orb/resources/customers.rbs +18 -18
- data/sig/orb/resources/prices.rbs +23 -13
- data/sig/orb/resources/subscriptions.rbs +13 -13
- metadata +545 -35
- data/lib/orb/models/subscription_cancel_response.rb +0 -1873
- data/lib/orb/models/subscription_create_response.rb +0 -1873
- data/lib/orb/models/subscription_price_intervals_response.rb +0 -1888
- data/lib/orb/models/subscription_redeem_coupon_response.rb +0 -1883
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +0 -1893
- data/lib/orb/models/subscription_trigger_phase_response.rb +0 -1883
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +0 -1897
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +0 -1912
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +0 -1908
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +0 -1897
- data/lib/orb/models/subscription_update_trial_response.rb +0 -1879
- data/rbi/orb/models/subscription_cancel_response.rbi +0 -3537
- data/rbi/orb/models/subscription_create_response.rbi +0 -3537
- data/rbi/orb/models/subscription_price_intervals_response.rbi +0 -3564
- data/rbi/orb/models/subscription_redeem_coupon_response.rbi +0 -3557
- data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +0 -3564
- data/rbi/orb/models/subscription_trigger_phase_response.rbi +0 -3557
- data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +0 -3566
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +0 -3566
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +0 -3566
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +0 -3566
- data/rbi/orb/models/subscription_update_trial_response.rbi +0 -3556
- data/sig/orb/models/subscription_cancel_response.rbs +0 -1445
- data/sig/orb/models/subscription_create_response.rbs +0 -1445
- data/sig/orb/models/subscription_price_intervals_response.rbs +0 -1445
- data/sig/orb/models/subscription_redeem_coupon_response.rbs +0 -1445
- data/sig/orb/models/subscription_schedule_plan_change_response.rbs +0 -1445
- data/sig/orb/models/subscription_trigger_phase_response.rbs +0 -1445
- data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +0 -1445
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +0 -1445
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +0 -1445
- data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +0 -1445
- data/sig/orb/models/subscription_update_trial_response.rbs +0 -1445
@@ -0,0 +1,52 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Orb
|
4
|
+
module Models
|
5
|
+
class CustomerHierarchyConfig < Orb::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Orb::CustomerHierarchyConfig, Orb::Internal::AnyHash)
|
9
|
+
end
|
10
|
+
|
11
|
+
# A list of child customer IDs to add to the hierarchy. The desired child
|
12
|
+
# customers must not already be part of another hierarchy.
|
13
|
+
sig { returns(T.nilable(T::Array[String])) }
|
14
|
+
attr_reader :child_customer_ids
|
15
|
+
|
16
|
+
sig { params(child_customer_ids: T::Array[String]).void }
|
17
|
+
attr_writer :child_customer_ids
|
18
|
+
|
19
|
+
# The ID of the parent customer in the hierarchy. The desired parent customer must
|
20
|
+
# not be a child of another customer.
|
21
|
+
sig { returns(T.nilable(String)) }
|
22
|
+
attr_accessor :parent_customer_id
|
23
|
+
|
24
|
+
sig do
|
25
|
+
params(
|
26
|
+
child_customer_ids: T::Array[String],
|
27
|
+
parent_customer_id: T.nilable(String)
|
28
|
+
).returns(T.attached_class)
|
29
|
+
end
|
30
|
+
def self.new(
|
31
|
+
# A list of child customer IDs to add to the hierarchy. The desired child
|
32
|
+
# customers must not already be part of another hierarchy.
|
33
|
+
child_customer_ids: nil,
|
34
|
+
# The ID of the parent customer in the hierarchy. The desired parent customer must
|
35
|
+
# not be a child of another customer.
|
36
|
+
parent_customer_id: nil
|
37
|
+
)
|
38
|
+
end
|
39
|
+
|
40
|
+
sig do
|
41
|
+
override.returns(
|
42
|
+
{
|
43
|
+
child_customer_ids: T::Array[String],
|
44
|
+
parent_customer_id: T.nilable(String)
|
45
|
+
}
|
46
|
+
)
|
47
|
+
end
|
48
|
+
def to_hash
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Orb
|
4
|
+
module Models
|
5
|
+
class CustomerMinified < Orb::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Orb::CustomerMinified, Orb::Internal::AnyHash) }
|
8
|
+
|
9
|
+
sig { returns(String) }
|
10
|
+
attr_accessor :id
|
11
|
+
|
12
|
+
sig { returns(T.nilable(String)) }
|
13
|
+
attr_accessor :external_customer_id
|
14
|
+
|
15
|
+
sig do
|
16
|
+
params(id: String, external_customer_id: T.nilable(String)).returns(
|
17
|
+
T.attached_class
|
18
|
+
)
|
19
|
+
end
|
20
|
+
def self.new(id:, external_customer_id:)
|
21
|
+
end
|
22
|
+
|
23
|
+
sig do
|
24
|
+
override.returns(
|
25
|
+
{ id: String, external_customer_id: T.nilable(String) }
|
26
|
+
)
|
27
|
+
end
|
28
|
+
def to_hash
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,324 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Orb
|
4
|
+
module Models
|
5
|
+
class CustomerTaxID < Orb::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Orb::CustomerTaxID, Orb::Internal::AnyHash) }
|
8
|
+
|
9
|
+
sig { returns(Orb::CustomerTaxID::Country::OrSymbol) }
|
10
|
+
attr_accessor :country
|
11
|
+
|
12
|
+
sig { returns(Orb::CustomerTaxID::Type::OrSymbol) }
|
13
|
+
attr_accessor :type
|
14
|
+
|
15
|
+
sig { returns(String) }
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# Tax IDs are commonly required to be displayed on customer invoices, which are
|
19
|
+
# added to the headers of invoices.
|
20
|
+
#
|
21
|
+
# ### Supported Tax ID Countries and Types
|
22
|
+
#
|
23
|
+
# | Country | Type | Description |
|
24
|
+
# | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
|
25
|
+
# | Andorra | `ad_nrt` | Andorran NRT Number |
|
26
|
+
# | Argentina | `ar_cuit` | Argentinian Tax ID Number |
|
27
|
+
# | Australia | `au_abn` | Australian Business Number (AU ABN) |
|
28
|
+
# | Australia | `au_arn` | Australian Taxation Office Reference Number |
|
29
|
+
# | Austria | `eu_vat` | European VAT Number |
|
30
|
+
# | Bahrain | `bh_vat` | Bahraini VAT Number |
|
31
|
+
# | Belgium | `eu_vat` | European VAT Number |
|
32
|
+
# | Bolivia | `bo_tin` | Bolivian Tax ID |
|
33
|
+
# | Brazil | `br_cnpj` | Brazilian CNPJ Number |
|
34
|
+
# | Brazil | `br_cpf` | Brazilian CPF Number |
|
35
|
+
# | Bulgaria | `bg_uic` | Bulgaria Unified Identification Code |
|
36
|
+
# | Bulgaria | `eu_vat` | European VAT Number |
|
37
|
+
# | Canada | `ca_bn` | Canadian BN |
|
38
|
+
# | Canada | `ca_gst_hst` | Canadian GST/HST Number |
|
39
|
+
# | Canada | `ca_pst_bc` | Canadian PST Number (British Columbia) |
|
40
|
+
# | Canada | `ca_pst_mb` | Canadian PST Number (Manitoba) |
|
41
|
+
# | Canada | `ca_pst_sk` | Canadian PST Number (Saskatchewan) |
|
42
|
+
# | Canada | `ca_qst` | Canadian QST Number (Québec) |
|
43
|
+
# | Chile | `cl_tin` | Chilean TIN |
|
44
|
+
# | China | `cn_tin` | Chinese Tax ID |
|
45
|
+
# | Colombia | `co_nit` | Colombian NIT Number |
|
46
|
+
# | Costa Rica | `cr_tin` | Costa Rican Tax ID |
|
47
|
+
# | Croatia | `eu_vat` | European VAT Number |
|
48
|
+
# | Cyprus | `eu_vat` | European VAT Number |
|
49
|
+
# | Czech Republic | `eu_vat` | European VAT Number |
|
50
|
+
# | Denmark | `eu_vat` | European VAT Number |
|
51
|
+
# | Dominican Republic | `do_rcn` | Dominican RCN Number |
|
52
|
+
# | Ecuador | `ec_ruc` | Ecuadorian RUC Number |
|
53
|
+
# | Egypt | `eg_tin` | Egyptian Tax Identification Number |
|
54
|
+
# | El Salvador | `sv_nit` | El Salvadorian NIT Number |
|
55
|
+
# | Estonia | `eu_vat` | European VAT Number |
|
56
|
+
# | EU | `eu_oss_vat` | European One Stop Shop VAT Number for non-Union scheme |
|
57
|
+
# | Finland | `eu_vat` | European VAT Number |
|
58
|
+
# | France | `eu_vat` | European VAT Number |
|
59
|
+
# | Georgia | `ge_vat` | Georgian VAT |
|
60
|
+
# | Germany | `eu_vat` | European VAT Number |
|
61
|
+
# | Greece | `eu_vat` | European VAT Number |
|
62
|
+
# | Hong Kong | `hk_br` | Hong Kong BR Number |
|
63
|
+
# | Hungary | `eu_vat` | European VAT Number |
|
64
|
+
# | Hungary | `hu_tin` | Hungary Tax Number (adószám) |
|
65
|
+
# | Iceland | `is_vat` | Icelandic VAT |
|
66
|
+
# | India | `in_gst` | Indian GST Number |
|
67
|
+
# | Indonesia | `id_npwp` | Indonesian NPWP Number |
|
68
|
+
# | Ireland | `eu_vat` | European VAT Number |
|
69
|
+
# | Israel | `il_vat` | Israel VAT |
|
70
|
+
# | Italy | `eu_vat` | European VAT Number |
|
71
|
+
# | Japan | `jp_cn` | Japanese Corporate Number (_Hōjin Bangō_) |
|
72
|
+
# | Japan | `jp_rn` | Japanese Registered Foreign Businesses' Registration Number (_Tōroku Kokugai Jigyōsha no Tōroku Bangō_) |
|
73
|
+
# | Japan | `jp_trn` | Japanese Tax Registration Number (_Tōroku Bangō_) |
|
74
|
+
# | Kazakhstan | `kz_bin` | Kazakhstani Business Identification Number |
|
75
|
+
# | Kenya | `ke_pin` | Kenya Revenue Authority Personal Identification Number |
|
76
|
+
# | Latvia | `eu_vat` | European VAT Number |
|
77
|
+
# | Liechtenstein | `li_uid` | Liechtensteinian UID Number |
|
78
|
+
# | Lithuania | `eu_vat` | European VAT Number |
|
79
|
+
# | Luxembourg | `eu_vat` | European VAT Number |
|
80
|
+
# | Malaysia | `my_frp` | Malaysian FRP Number |
|
81
|
+
# | Malaysia | `my_itn` | Malaysian ITN |
|
82
|
+
# | Malaysia | `my_sst` | Malaysian SST Number |
|
83
|
+
# | Malta | `eu_vat ` | European VAT Number |
|
84
|
+
# | Mexico | `mx_rfc` | Mexican RFC Number |
|
85
|
+
# | Netherlands | `eu_vat` | European VAT Number |
|
86
|
+
# | New Zealand | `nz_gst` | New Zealand GST Number |
|
87
|
+
# | Nigeria | `ng_tin` | Nigerian Tax Identification Number |
|
88
|
+
# | Norway | `no_vat` | Norwegian VAT Number |
|
89
|
+
# | Norway | `no_voec` | Norwegian VAT on e-commerce Number |
|
90
|
+
# | Oman | `om_vat` | Omani VAT Number |
|
91
|
+
# | Peru | `pe_ruc` | Peruvian RUC Number |
|
92
|
+
# | Philippines | `ph_tin ` | Philippines Tax Identification Number |
|
93
|
+
# | Poland | `eu_vat` | European VAT Number |
|
94
|
+
# | Portugal | `eu_vat` | European VAT Number |
|
95
|
+
# | Romania | `eu_vat` | European VAT Number |
|
96
|
+
# | Romania | `ro_tin` | Romanian Tax ID Number |
|
97
|
+
# | Russia | `ru_inn` | Russian INN |
|
98
|
+
# | Russia | `ru_kpp` | Russian KPP |
|
99
|
+
# | Saudi Arabia | `sa_vat` | Saudi Arabia VAT |
|
100
|
+
# | Serbia | `rs_pib` | Serbian PIB Number |
|
101
|
+
# | Singapore | `sg_gst` | Singaporean GST |
|
102
|
+
# | Singapore | `sg_uen` | Singaporean UEN |
|
103
|
+
# | Slovakia | `eu_vat` | European VAT Number |
|
104
|
+
# | Slovenia | `eu_vat` | European VAT Number |
|
105
|
+
# | Slovenia | `si_tin` | Slovenia Tax Number (davčna številka) |
|
106
|
+
# | South Africa | `za_vat` | South African VAT Number |
|
107
|
+
# | South Korea | `kr_brn` | Korean BRN |
|
108
|
+
# | Spain | `es_cif` | Spanish NIF Number (previously Spanish CIF Number) |
|
109
|
+
# | Spain | `eu_vat` | European VAT Number |
|
110
|
+
# | Sweden | `eu_vat` | European VAT Number |
|
111
|
+
# | Switzerland | `ch_vat` | Switzerland VAT Number |
|
112
|
+
# | Taiwan | `tw_vat` | Taiwanese VAT |
|
113
|
+
# | Thailand | `th_vat` | Thai VAT |
|
114
|
+
# | Turkey | `tr_tin` | Turkish Tax Identification Number |
|
115
|
+
# | Ukraine | `ua_vat` | Ukrainian VAT |
|
116
|
+
# | United Arab Emirates | `ae_trn` | United Arab Emirates TRN |
|
117
|
+
# | United Kingdom | `eu_vat` | Northern Ireland VAT Number |
|
118
|
+
# | United Kingdom | `gb_vat` | United Kingdom VAT Number |
|
119
|
+
# | United States | `us_ein` | United States EIN |
|
120
|
+
# | Uruguay | `uy_ruc` | Uruguayan RUC Number |
|
121
|
+
# | Venezuela | `ve_rif` | Venezuelan RIF Number |
|
122
|
+
# | Vietnam | `vn_tin` | Vietnamese Tax ID Number |
|
123
|
+
sig do
|
124
|
+
params(
|
125
|
+
country: Orb::CustomerTaxID::Country::OrSymbol,
|
126
|
+
type: Orb::CustomerTaxID::Type::OrSymbol,
|
127
|
+
value: String
|
128
|
+
).returns(T.attached_class)
|
129
|
+
end
|
130
|
+
def self.new(country:, type:, value:)
|
131
|
+
end
|
132
|
+
|
133
|
+
sig do
|
134
|
+
override.returns(
|
135
|
+
{
|
136
|
+
country: Orb::CustomerTaxID::Country::OrSymbol,
|
137
|
+
type: Orb::CustomerTaxID::Type::OrSymbol,
|
138
|
+
value: String
|
139
|
+
}
|
140
|
+
)
|
141
|
+
end
|
142
|
+
def to_hash
|
143
|
+
end
|
144
|
+
|
145
|
+
module Country
|
146
|
+
extend Orb::Internal::Type::Enum
|
147
|
+
|
148
|
+
TaggedSymbol =
|
149
|
+
T.type_alias { T.all(Symbol, Orb::CustomerTaxID::Country) }
|
150
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
151
|
+
|
152
|
+
AD = T.let(:AD, Orb::CustomerTaxID::Country::TaggedSymbol)
|
153
|
+
AE = T.let(:AE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
154
|
+
AR = T.let(:AR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
155
|
+
AT = T.let(:AT, Orb::CustomerTaxID::Country::TaggedSymbol)
|
156
|
+
AU = T.let(:AU, Orb::CustomerTaxID::Country::TaggedSymbol)
|
157
|
+
BE = T.let(:BE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
158
|
+
BG = T.let(:BG, Orb::CustomerTaxID::Country::TaggedSymbol)
|
159
|
+
BH = T.let(:BH, Orb::CustomerTaxID::Country::TaggedSymbol)
|
160
|
+
BO = T.let(:BO, Orb::CustomerTaxID::Country::TaggedSymbol)
|
161
|
+
BR = T.let(:BR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
162
|
+
CA = T.let(:CA, Orb::CustomerTaxID::Country::TaggedSymbol)
|
163
|
+
CH = T.let(:CH, Orb::CustomerTaxID::Country::TaggedSymbol)
|
164
|
+
CL = T.let(:CL, Orb::CustomerTaxID::Country::TaggedSymbol)
|
165
|
+
CN = T.let(:CN, Orb::CustomerTaxID::Country::TaggedSymbol)
|
166
|
+
CO = T.let(:CO, Orb::CustomerTaxID::Country::TaggedSymbol)
|
167
|
+
CR = T.let(:CR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
168
|
+
CY = T.let(:CY, Orb::CustomerTaxID::Country::TaggedSymbol)
|
169
|
+
CZ = T.let(:CZ, Orb::CustomerTaxID::Country::TaggedSymbol)
|
170
|
+
DE = T.let(:DE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
171
|
+
DK = T.let(:DK, Orb::CustomerTaxID::Country::TaggedSymbol)
|
172
|
+
EE = T.let(:EE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
173
|
+
DO = T.let(:DO, Orb::CustomerTaxID::Country::TaggedSymbol)
|
174
|
+
EC = T.let(:EC, Orb::CustomerTaxID::Country::TaggedSymbol)
|
175
|
+
EG = T.let(:EG, Orb::CustomerTaxID::Country::TaggedSymbol)
|
176
|
+
ES = T.let(:ES, Orb::CustomerTaxID::Country::TaggedSymbol)
|
177
|
+
EU = T.let(:EU, Orb::CustomerTaxID::Country::TaggedSymbol)
|
178
|
+
FI = T.let(:FI, Orb::CustomerTaxID::Country::TaggedSymbol)
|
179
|
+
FR = T.let(:FR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
180
|
+
GB = T.let(:GB, Orb::CustomerTaxID::Country::TaggedSymbol)
|
181
|
+
GE = T.let(:GE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
182
|
+
GR = T.let(:GR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
183
|
+
HK = T.let(:HK, Orb::CustomerTaxID::Country::TaggedSymbol)
|
184
|
+
HR = T.let(:HR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
185
|
+
HU = T.let(:HU, Orb::CustomerTaxID::Country::TaggedSymbol)
|
186
|
+
ID = T.let(:ID, Orb::CustomerTaxID::Country::TaggedSymbol)
|
187
|
+
IE = T.let(:IE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
188
|
+
IL = T.let(:IL, Orb::CustomerTaxID::Country::TaggedSymbol)
|
189
|
+
IN = T.let(:IN, Orb::CustomerTaxID::Country::TaggedSymbol)
|
190
|
+
IS = T.let(:IS, Orb::CustomerTaxID::Country::TaggedSymbol)
|
191
|
+
IT = T.let(:IT, Orb::CustomerTaxID::Country::TaggedSymbol)
|
192
|
+
JP = T.let(:JP, Orb::CustomerTaxID::Country::TaggedSymbol)
|
193
|
+
KE = T.let(:KE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
194
|
+
KR = T.let(:KR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
195
|
+
KZ = T.let(:KZ, Orb::CustomerTaxID::Country::TaggedSymbol)
|
196
|
+
LI = T.let(:LI, Orb::CustomerTaxID::Country::TaggedSymbol)
|
197
|
+
LT = T.let(:LT, Orb::CustomerTaxID::Country::TaggedSymbol)
|
198
|
+
LU = T.let(:LU, Orb::CustomerTaxID::Country::TaggedSymbol)
|
199
|
+
LV = T.let(:LV, Orb::CustomerTaxID::Country::TaggedSymbol)
|
200
|
+
MT = T.let(:MT, Orb::CustomerTaxID::Country::TaggedSymbol)
|
201
|
+
MX = T.let(:MX, Orb::CustomerTaxID::Country::TaggedSymbol)
|
202
|
+
MY = T.let(:MY, Orb::CustomerTaxID::Country::TaggedSymbol)
|
203
|
+
NG = T.let(:NG, Orb::CustomerTaxID::Country::TaggedSymbol)
|
204
|
+
NL = T.let(:NL, Orb::CustomerTaxID::Country::TaggedSymbol)
|
205
|
+
NO = T.let(:NO, Orb::CustomerTaxID::Country::TaggedSymbol)
|
206
|
+
NZ = T.let(:NZ, Orb::CustomerTaxID::Country::TaggedSymbol)
|
207
|
+
OM = T.let(:OM, Orb::CustomerTaxID::Country::TaggedSymbol)
|
208
|
+
PE = T.let(:PE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
209
|
+
PH = T.let(:PH, Orb::CustomerTaxID::Country::TaggedSymbol)
|
210
|
+
PL = T.let(:PL, Orb::CustomerTaxID::Country::TaggedSymbol)
|
211
|
+
PT = T.let(:PT, Orb::CustomerTaxID::Country::TaggedSymbol)
|
212
|
+
RO = T.let(:RO, Orb::CustomerTaxID::Country::TaggedSymbol)
|
213
|
+
RS = T.let(:RS, Orb::CustomerTaxID::Country::TaggedSymbol)
|
214
|
+
RU = T.let(:RU, Orb::CustomerTaxID::Country::TaggedSymbol)
|
215
|
+
SA = T.let(:SA, Orb::CustomerTaxID::Country::TaggedSymbol)
|
216
|
+
SE = T.let(:SE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
217
|
+
SG = T.let(:SG, Orb::CustomerTaxID::Country::TaggedSymbol)
|
218
|
+
SI = T.let(:SI, Orb::CustomerTaxID::Country::TaggedSymbol)
|
219
|
+
SK = T.let(:SK, Orb::CustomerTaxID::Country::TaggedSymbol)
|
220
|
+
SV = T.let(:SV, Orb::CustomerTaxID::Country::TaggedSymbol)
|
221
|
+
TH = T.let(:TH, Orb::CustomerTaxID::Country::TaggedSymbol)
|
222
|
+
TR = T.let(:TR, Orb::CustomerTaxID::Country::TaggedSymbol)
|
223
|
+
TW = T.let(:TW, Orb::CustomerTaxID::Country::TaggedSymbol)
|
224
|
+
UA = T.let(:UA, Orb::CustomerTaxID::Country::TaggedSymbol)
|
225
|
+
US = T.let(:US, Orb::CustomerTaxID::Country::TaggedSymbol)
|
226
|
+
UY = T.let(:UY, Orb::CustomerTaxID::Country::TaggedSymbol)
|
227
|
+
VE = T.let(:VE, Orb::CustomerTaxID::Country::TaggedSymbol)
|
228
|
+
VN = T.let(:VN, Orb::CustomerTaxID::Country::TaggedSymbol)
|
229
|
+
ZA = T.let(:ZA, Orb::CustomerTaxID::Country::TaggedSymbol)
|
230
|
+
|
231
|
+
sig do
|
232
|
+
override.returns(T::Array[Orb::CustomerTaxID::Country::TaggedSymbol])
|
233
|
+
end
|
234
|
+
def self.values
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
module Type
|
239
|
+
extend Orb::Internal::Type::Enum
|
240
|
+
|
241
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::CustomerTaxID::Type) }
|
242
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
243
|
+
|
244
|
+
AD_NRT = T.let(:ad_nrt, Orb::CustomerTaxID::Type::TaggedSymbol)
|
245
|
+
AE_TRN = T.let(:ae_trn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
246
|
+
AR_CUIT = T.let(:ar_cuit, Orb::CustomerTaxID::Type::TaggedSymbol)
|
247
|
+
EU_VAT = T.let(:eu_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
248
|
+
AU_ABN = T.let(:au_abn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
249
|
+
AU_ARN = T.let(:au_arn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
250
|
+
BG_UIC = T.let(:bg_uic, Orb::CustomerTaxID::Type::TaggedSymbol)
|
251
|
+
BH_VAT = T.let(:bh_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
252
|
+
BO_TIN = T.let(:bo_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
253
|
+
BR_CNPJ = T.let(:br_cnpj, Orb::CustomerTaxID::Type::TaggedSymbol)
|
254
|
+
BR_CPF = T.let(:br_cpf, Orb::CustomerTaxID::Type::TaggedSymbol)
|
255
|
+
CA_BN = T.let(:ca_bn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
256
|
+
CA_GST_HST = T.let(:ca_gst_hst, Orb::CustomerTaxID::Type::TaggedSymbol)
|
257
|
+
CA_PST_BC = T.let(:ca_pst_bc, Orb::CustomerTaxID::Type::TaggedSymbol)
|
258
|
+
CA_PST_MB = T.let(:ca_pst_mb, Orb::CustomerTaxID::Type::TaggedSymbol)
|
259
|
+
CA_PST_SK = T.let(:ca_pst_sk, Orb::CustomerTaxID::Type::TaggedSymbol)
|
260
|
+
CA_QST = T.let(:ca_qst, Orb::CustomerTaxID::Type::TaggedSymbol)
|
261
|
+
CH_VAT = T.let(:ch_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
262
|
+
CL_TIN = T.let(:cl_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
263
|
+
CN_TIN = T.let(:cn_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
264
|
+
CO_NIT = T.let(:co_nit, Orb::CustomerTaxID::Type::TaggedSymbol)
|
265
|
+
CR_TIN = T.let(:cr_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
266
|
+
DO_RCN = T.let(:do_rcn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
267
|
+
EC_RUC = T.let(:ec_ruc, Orb::CustomerTaxID::Type::TaggedSymbol)
|
268
|
+
EG_TIN = T.let(:eg_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
269
|
+
ES_CIF = T.let(:es_cif, Orb::CustomerTaxID::Type::TaggedSymbol)
|
270
|
+
EU_OSS_VAT = T.let(:eu_oss_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
271
|
+
GB_VAT = T.let(:gb_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
272
|
+
GE_VAT = T.let(:ge_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
273
|
+
HK_BR = T.let(:hk_br, Orb::CustomerTaxID::Type::TaggedSymbol)
|
274
|
+
HU_TIN = T.let(:hu_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
275
|
+
ID_NPWP = T.let(:id_npwp, Orb::CustomerTaxID::Type::TaggedSymbol)
|
276
|
+
IL_VAT = T.let(:il_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
277
|
+
IN_GST = T.let(:in_gst, Orb::CustomerTaxID::Type::TaggedSymbol)
|
278
|
+
IS_VAT = T.let(:is_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
279
|
+
JP_CN = T.let(:jp_cn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
280
|
+
JP_RN = T.let(:jp_rn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
281
|
+
JP_TRN = T.let(:jp_trn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
282
|
+
KE_PIN = T.let(:ke_pin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
283
|
+
KR_BRN = T.let(:kr_brn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
284
|
+
KZ_BIN = T.let(:kz_bin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
285
|
+
LI_UID = T.let(:li_uid, Orb::CustomerTaxID::Type::TaggedSymbol)
|
286
|
+
MX_RFC = T.let(:mx_rfc, Orb::CustomerTaxID::Type::TaggedSymbol)
|
287
|
+
MY_FRP = T.let(:my_frp, Orb::CustomerTaxID::Type::TaggedSymbol)
|
288
|
+
MY_ITN = T.let(:my_itn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
289
|
+
MY_SST = T.let(:my_sst, Orb::CustomerTaxID::Type::TaggedSymbol)
|
290
|
+
NG_TIN = T.let(:ng_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
291
|
+
NO_VAT = T.let(:no_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
292
|
+
NO_VOEC = T.let(:no_voec, Orb::CustomerTaxID::Type::TaggedSymbol)
|
293
|
+
NZ_GST = T.let(:nz_gst, Orb::CustomerTaxID::Type::TaggedSymbol)
|
294
|
+
OM_VAT = T.let(:om_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
295
|
+
PE_RUC = T.let(:pe_ruc, Orb::CustomerTaxID::Type::TaggedSymbol)
|
296
|
+
PH_TIN = T.let(:ph_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
297
|
+
RO_TIN = T.let(:ro_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
298
|
+
RS_PIB = T.let(:rs_pib, Orb::CustomerTaxID::Type::TaggedSymbol)
|
299
|
+
RU_INN = T.let(:ru_inn, Orb::CustomerTaxID::Type::TaggedSymbol)
|
300
|
+
RU_KPP = T.let(:ru_kpp, Orb::CustomerTaxID::Type::TaggedSymbol)
|
301
|
+
SA_VAT = T.let(:sa_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
302
|
+
SG_GST = T.let(:sg_gst, Orb::CustomerTaxID::Type::TaggedSymbol)
|
303
|
+
SG_UEN = T.let(:sg_uen, Orb::CustomerTaxID::Type::TaggedSymbol)
|
304
|
+
SI_TIN = T.let(:si_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
305
|
+
SV_NIT = T.let(:sv_nit, Orb::CustomerTaxID::Type::TaggedSymbol)
|
306
|
+
TH_VAT = T.let(:th_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
307
|
+
TR_TIN = T.let(:tr_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
308
|
+
TW_VAT = T.let(:tw_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
309
|
+
UA_VAT = T.let(:ua_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
310
|
+
US_EIN = T.let(:us_ein, Orb::CustomerTaxID::Type::TaggedSymbol)
|
311
|
+
UY_RUC = T.let(:uy_ruc, Orb::CustomerTaxID::Type::TaggedSymbol)
|
312
|
+
VE_RIF = T.let(:ve_rif, Orb::CustomerTaxID::Type::TaggedSymbol)
|
313
|
+
VN_TIN = T.let(:vn_tin, Orb::CustomerTaxID::Type::TaggedSymbol)
|
314
|
+
ZA_VAT = T.let(:za_vat, Orb::CustomerTaxID::Type::TaggedSymbol)
|
315
|
+
|
316
|
+
sig do
|
317
|
+
override.returns(T::Array[Orb::CustomerTaxID::Type::TaggedSymbol])
|
318
|
+
end
|
319
|
+
def self.values
|
320
|
+
end
|
321
|
+
end
|
322
|
+
end
|
323
|
+
end
|
324
|
+
end
|