Module: MetronomeSDK

Defined in:
lib/metronome_sdk/client.rb,
lib/metronome_sdk/errors.rb,
lib/metronome_sdk/models.rb,
lib/metronome_sdk/version.rb,
lib/metronome_sdk/internal.rb,
lib/metronome_sdk/file_part.rb,
lib/metronome_sdk/models/id.rb,
lib/metronome_sdk/models/rate.rb,
lib/metronome_sdk/models/tier.rb,
lib/metronome_sdk/resources/v1.rb,
lib/metronome_sdk/resources/v2.rb,
lib/metronome_sdk/internal/util.rb,
lib/metronome_sdk/models/commit.rb,
lib/metronome_sdk/models/credit.rb,
lib/metronome_sdk/models/contract.rb,
lib/metronome_sdk/models/discount.rb,
lib/metronome_sdk/models/override.rb,
lib/metronome_sdk/request_options.rb,
lib/metronome_sdk/models/v1/payment.rb,
lib/metronome_sdk/internal/type/enum.rb,
lib/metronome_sdk/models/commit_rate.rb,
lib/metronome_sdk/models/contract_v2.rb,
lib/metronome_sdk/models/pro_service.rb,
lib/metronome_sdk/models/v1/customer.rb,
lib/metronome_sdk/resources/v1/plans.rb,
lib/metronome_sdk/resources/v1/usage.rb,
lib/metronome_sdk/internal/type/union.rb,
lib/metronome_sdk/models/subscription.rb,
lib/metronome_sdk/resources/v1/alerts.rb,
lib/metronome_sdk/internal/cursor_page.rb,
lib/metronome_sdk/models/override_tier.rb,
lib/metronome_sdk/internal/type/boolean.rb,
lib/metronome_sdk/internal/type/hash_of.rb,
lib/metronome_sdk/internal/type/unknown.rb,
lib/metronome_sdk/models/overwrite_rate.rb,
lib/metronome_sdk/models/v1/plan_detail.rb,
lib/metronome_sdk/resources/v1/invoices.rb,
lib/metronome_sdk/resources/v1/payments.rb,
lib/metronome_sdk/resources/v1/services.rb,
lib/metronome_sdk/resources/v1/settings.rb,
lib/metronome_sdk/internal/type/array_of.rb,
lib/metronome_sdk/models/property_filter.rb,
lib/metronome_sdk/resources/v1/contracts.rb,
lib/metronome_sdk/resources/v1/customers.rb,
lib/metronome_sdk/resources/v2/contracts.rb,
lib/metronome_sdk/internal/type/base_page.rb,
lib/metronome_sdk/internal/type/converter.rb,
lib/metronome_sdk/models/commit_specifier.rb,
lib/metronome_sdk/models/credit_type_data.rb,
lib/metronome_sdk/models/scheduled_charge.rb,
lib/metronome_sdk/resources/v1/audit_logs.rb,
lib/metronome_sdk/resources/v1/dashboards.rb,
lib/metronome_sdk/internal/type/base_model.rb,
lib/metronome_sdk/internal/type/file_input.rb,
lib/metronome_sdk/models/base_usage_filter.rb,
lib/metronome_sdk/models/event_type_filter.rb,
lib/metronome_sdk/models/schedule_duration.rb,
lib/metronome_sdk/models/v1/payment_status.rb,
lib/metronome_sdk/internal/body_cursor_page.rb,
lib/metronome_sdk/models/v1/customer_detail.rb,
lib/metronome_sdk/models/payment_gate_config.rb,
lib/metronome_sdk/models/v1/plan_list_params.rb,
lib/metronome_sdk/resources/v1/credit_grants.rb,
lib/metronome_sdk/resources/v1/custom_fields.rb,
lib/metronome_sdk/resources/v1/pricing_units.rb,
lib/metronome_sdk/models/v1/customers/invoice.rb,
lib/metronome_sdk/models/v1/usage_list_params.rb,
lib/metronome_sdk/models/base_threshold_commit.rb,
lib/metronome_sdk/models/v1/plan_list_response.rb,
lib/metronome_sdk/resources/v1/customers/plans.rb,
lib/metronome_sdk/models/commit_specifier_input.rb,
lib/metronome_sdk/models/payment_gate_config_v2.rb,
lib/metronome_sdk/models/schedule_point_in_time.rb,
lib/metronome_sdk/models/v1/alert_create_params.rb,
lib/metronome_sdk/models/v1/credit_ledger_entry.rb,
lib/metronome_sdk/models/v1/invoice_void_params.rb,
lib/metronome_sdk/models/v1/payment_list_params.rb,
lib/metronome_sdk/models/v1/service_list_params.rb,
lib/metronome_sdk/models/v1/usage_ingest_params.rb,
lib/metronome_sdk/models/v1/usage_list_response.rb,
lib/metronome_sdk/models/v1/usage_search_params.rb,
lib/metronome_sdk/resources/v1/billable_metrics.rb,
lib/metronome_sdk/resources/v1/customers/alerts.rb,
lib/metronome_sdk/internal/transport/base_client.rb,
lib/metronome_sdk/models/hierarchy_configuration.rb,
lib/metronome_sdk/models/v1/alert_archive_params.rb,
lib/metronome_sdk/models/v1/contract_list_params.rb,
lib/metronome_sdk/models/v1/customer_list_params.rb,
lib/metronome_sdk/models/v2/contract_edit_params.rb,
lib/metronome_sdk/models/v2/contract_list_params.rb,
lib/metronome_sdk/resources/v1/customers/commits.rb,
lib/metronome_sdk/resources/v1/customers/credits.rb,
lib/metronome_sdk/models/v1/alert_create_response.rb,
lib/metronome_sdk/models/v1/audit_log_list_params.rb,
lib/metronome_sdk/models/v1/contract_amend_params.rb,
lib/metronome_sdk/models/v1/invoice_void_response.rb,
lib/metronome_sdk/models/v1/payment_cancel_params.rb,
lib/metronome_sdk/models/v1/service_list_response.rb,
lib/metronome_sdk/models/v1/usage_search_response.rb,
lib/metronome_sdk/resources/v1/contracts/products.rb,
lib/metronome_sdk/resources/v1/customers/invoices.rb,
lib/metronome_sdk/internal/type/request_parameters.rb,
lib/metronome_sdk/models/v1/alert_archive_response.rb,
lib/metronome_sdk/models/v1/contract_create_params.rb,
lib/metronome_sdk/models/v1/contract_list_response.rb,
lib/metronome_sdk/models/v1/customer_create_params.rb,
lib/metronome_sdk/models/v1/payment_attempt_params.rb,
lib/metronome_sdk/models/v2/contract_edit_response.rb,
lib/metronome_sdk/models/v2/contract_list_response.rb,
lib/metronome_sdk/models/v1/audit_log_list_response.rb,
lib/metronome_sdk/models/v1/contract_amend_response.rb,
lib/metronome_sdk/models/v1/contract_archive_params.rb,
lib/metronome_sdk/models/v1/customer_archive_params.rb,
lib/metronome_sdk/models/v1/payment_cancel_response.rb,
lib/metronome_sdk/models/v1/plan_get_details_params.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards.rb,
lib/metronome_sdk/internal/cursor_page_without_limit.rb,
lib/metronome_sdk/models/contract_without_amendments.rb,
lib/metronome_sdk/models/v1/contract_create_response.rb,
lib/metronome_sdk/models/v1/contract_retrieve_params.rb,
lib/metronome_sdk/models/v1/credit_grant_edit_params.rb,
lib/metronome_sdk/models/v1/credit_grant_list_params.rb,
lib/metronome_sdk/models/v1/credit_grant_void_params.rb,
lib/metronome_sdk/models/v1/customer_create_response.rb,
lib/metronome_sdk/models/v1/customer_retrieve_params.rb,
lib/metronome_sdk/models/v1/customer_set_name_params.rb,
lib/metronome_sdk/models/v1/customers/customer_alert.rb,
lib/metronome_sdk/models/v1/payment_attempt_response.rb,
lib/metronome_sdk/models/v1/plan_list_charges_params.rb,
lib/metronome_sdk/models/v1/pricing_unit_list_params.rb,
lib/metronome_sdk/models/v2/contract_retrieve_params.rb,
lib/metronome_sdk/models/update_base_threshold_commit.rb,
lib/metronome_sdk/models/v1/contract_archive_response.rb,
lib/metronome_sdk/models/v1/customer_archive_response.rb,
lib/metronome_sdk/models/v1/customers/plan_add_params.rb,
lib/metronome_sdk/models/v1/customers/plan_end_params.rb,
lib/metronome_sdk/models/v1/invoice_regenerate_params.rb,
lib/metronome_sdk/models/v1/plan_get_details_response.rb,
lib/metronome_sdk/models/spend_threshold_configuration.rb,
lib/metronome_sdk/models/v1/contract_retrieve_response.rb,
lib/metronome_sdk/models/v1/credit_grant_create_params.rb,
lib/metronome_sdk/models/v1/credit_grant_edit_response.rb,
lib/metronome_sdk/models/v1/credit_grant_list_response.rb,
lib/metronome_sdk/models/v1/credit_grant_void_response.rb,
lib/metronome_sdk/models/v1/customer_list_costs_params.rb,
lib/metronome_sdk/models/v1/customer_retrieve_response.rb,
lib/metronome_sdk/models/v1/customer_set_name_response.rb,
lib/metronome_sdk/models/v1/customers/plan_list_params.rb,
lib/metronome_sdk/models/v1/plan_list_charges_response.rb,
lib/metronome_sdk/models/v1/plan_list_customers_params.rb,
lib/metronome_sdk/models/v1/pricing_unit_list_response.rb,
lib/metronome_sdk/models/v1/rollover_amount_max_amount.rb,
lib/metronome_sdk/models/v2/contract_retrieve_response.rb,
lib/metronome_sdk/models/commit_hierarchy_configuration.rb,
lib/metronome_sdk/models/v1/billable_metric_list_params.rb,
lib/metronome_sdk/models/v1/contracts/quantity_rounding.rb,
lib/metronome_sdk/models/v1/custom_field_add_key_params.rb,
lib/metronome_sdk/models/v1/customers/alert_list_params.rb,
lib/metronome_sdk/models/v1/customers/plan_add_response.rb,
lib/metronome_sdk/models/v1/customers/plan_end_response.rb,
lib/metronome_sdk/models/v1/invoice_regenerate_response.rb,
lib/metronome_sdk/models/v2/contract_edit_commit_params.rb,
lib/metronome_sdk/models/v2/contract_edit_credit_params.rb,
lib/metronome_sdk/resources/v1/customers/billing_config.rb,
lib/metronome_sdk/models/v1/credit_grant_create_response.rb,
lib/metronome_sdk/models/v1/customer_list_costs_response.rb,
lib/metronome_sdk/models/v1/customers/alert_reset_params.rb,
lib/metronome_sdk/models/v1/customers/commit_list_params.rb,
lib/metronome_sdk/models/v1/customers/credit_list_params.rb,
lib/metronome_sdk/models/v1/customers/plan_list_response.rb,
lib/metronome_sdk/models/v1/plan_list_customers_response.rb,
lib/metronome_sdk/resources/v1/contracts/named_schedules.rb,
lib/metronome_sdk/resources/v1/customers/named_schedules.rb,
lib/metronome_sdk/internal/transport/pooled_net_requester.rb,
lib/metronome_sdk/models/spend_threshold_configuration_v2.rb,
lib/metronome_sdk/models/v1/billable_metric_create_params.rb,
lib/metronome_sdk/models/v1/billable_metric_list_response.rb,
lib/metronome_sdk/models/v1/contract_list_balances_params.rb,
lib/metronome_sdk/models/v1/contracts/product_list_params.rb,
lib/metronome_sdk/models/v1/contracts/quantity_conversion.rb,
lib/metronome_sdk/models/v1/custom_field_list_keys_params.rb,
lib/metronome_sdk/models/v1/customer_update_config_params.rb,
lib/metronome_sdk/models/v1/customers/invoice_list_params.rb,
lib/metronome_sdk/models/v1/usage_list_with_groups_params.rb,
lib/metronome_sdk/models/v2/contract_edit_commit_response.rb,
lib/metronome_sdk/models/v2/contract_edit_credit_response.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards/rates.rb,
lib/metronome_sdk/resources/v1/settings/billing_providers.rb,
lib/metronome_sdk/models/v1/billable_metric_archive_params.rb,
lib/metronome_sdk/models/v1/custom_field_remove_key_params.rb,
lib/metronome_sdk/models/v1/custom_field_set_values_params.rb,
lib/metronome_sdk/models/v1/customer_preview_events_params.rb,
lib/metronome_sdk/models/v1/customers/commit_create_params.rb,
lib/metronome_sdk/models/v1/customers/credit_create_params.rb,
lib/metronome_sdk/models/v1/rollover_amount_max_percentage.rb,
lib/metronome_sdk/models/v1/billable_metric_create_response.rb,
lib/metronome_sdk/models/v1/billable_metric_retrieve_params.rb,
lib/metronome_sdk/models/v1/contract_list_balances_response.rb,
lib/metronome_sdk/models/v1/contract_update_end_date_params.rb,
lib/metronome_sdk/models/v1/contracts/product_create_params.rb,
lib/metronome_sdk/models/v1/contracts/product_list_response.rb,
lib/metronome_sdk/models/v1/contracts/product_update_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_list_params.rb,
lib/metronome_sdk/models/v1/custom_field_list_keys_response.rb,
lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb,
lib/metronome_sdk/models/v1/usage_list_with_groups_response.rb,
lib/metronome_sdk/models/v1/billable_metric_archive_response.rb,
lib/metronome_sdk/models/v1/contract_set_usage_filter_params.rb,
lib/metronome_sdk/models/v1/contracts/product_archive_params.rb,
lib/metronome_sdk/models/v1/credit_grant_list_entries_params.rb,
lib/metronome_sdk/models/v1/customer_preview_events_response.rb,
lib/metronome_sdk/models/v1/customers/commit_create_response.rb,
lib/metronome_sdk/models/v1/customers/credit_create_response.rb,
lib/metronome_sdk/models/v2/contract_get_edit_history_params.rb,
lib/metronome_sdk/models/recurring_commit_subscription_config.rb,
lib/metronome_sdk/models/v1/billable_metric_retrieve_response.rb,
lib/metronome_sdk/models/v1/contract_update_end_date_response.rb,
lib/metronome_sdk/models/v1/contracts/product_create_response.rb,
lib/metronome_sdk/models/v1/contracts/product_list_item_state.rb,
lib/metronome_sdk/models/v1/contracts/product_retrieve_params.rb,
lib/metronome_sdk/models/v1/contracts/product_update_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_create_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_update_params.rb,
lib/metronome_sdk/models/v1/custom_field_delete_values_params.rb,
lib/metronome_sdk/models/v1/customers/alert_retrieve_response.rb,
lib/metronome_sdk/models/v1/customers/invoice_retrieve_params.rb,
lib/metronome_sdk/models/v1/contracts/product_archive_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_archive_params.rb,
lib/metronome_sdk/models/v1/credit_grant_list_entries_response.rb,
lib/metronome_sdk/models/v1/customer_set_ingest_aliases_params.rb,
lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb,
lib/metronome_sdk/models/v1/contracts/product_retrieve_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_create_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_update_response.rb,
lib/metronome_sdk/models/v1/customers/invoice_add_charge_params.rb,
lib/metronome_sdk/models/v1/customers/invoice_retrieve_response.rb,
lib/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rb,
lib/metronome_sdk/models/prepaid_balance_threshold_configuration.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_archive_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/rate_list_params.rb,
lib/metronome_sdk/models/v1/customer_list_billable_metrics_params.rb,
lib/metronome_sdk/models/v1/customers/invoice_add_charge_response.rb,
lib/metronome_sdk/models/v1/customers/invoice_retrieve_pdf_params.rb,
lib/metronome_sdk/models/v1/dashboard_get_embeddable_url_response.rb,
lib/metronome_sdk/models/v1/settings/billing_provider_list_params.rb,
lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_params.rb,
lib/metronome_sdk/models/v1/contracts/named_schedule_update_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_response.rb,
lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb,
lib/metronome_sdk/models/v1/customers/billing_config_delete_params.rb,
lib/metronome_sdk/models/v1/customers/named_schedule_update_params.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards/product_orders.rb,
lib/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/rate_list_response.rb,
lib/metronome_sdk/models/v1/customer_list_billable_metrics_response.rb,
lib/metronome_sdk/models/v1/customers/commit_update_end_date_params.rb,
lib/metronome_sdk/models/v1/customers/credit_update_end_date_params.rb,
lib/metronome_sdk/models/v1/settings/billing_provider_create_params.rb,
lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb,
lib/metronome_sdk/resources/v1/contracts/rate_cards/named_schedules.rb,
lib/metronome_sdk/models/v1/contract_add_manual_balance_entry_params.rb,
lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb,
lib/metronome_sdk/models/v1/contracts/named_schedule_retrieve_params.rb,
lib/metronome_sdk/models/v1/customers/billing_config_retrieve_params.rb,
lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb,
lib/metronome_sdk/models/v1/customers/named_schedule_retrieve_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_params.rb,
lib/metronome_sdk/models/v1/customers/commit_update_end_date_response.rb,
lib/metronome_sdk/models/v1/customers/credit_update_end_date_response.rb,
lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_params.rb,
lib/metronome_sdk/models/v1/settings/billing_provider_create_response.rb,
lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb,
lib/metronome_sdk/models/v1/contracts/named_schedule_retrieve_response.rb,
lib/metronome_sdk/models/v1/customer_set_billing_configurations_params.rb,
lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb,
lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_response.rb,
lib/metronome_sdk/models/v1/customers/named_schedule_retrieve_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_response.rb,
lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_response.rb,
lib/metronome_sdk/models/v1/contract_create_historical_invoices_response.rb,
lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_params.rb,
lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/product_order_set_params.rb,
lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb,
lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/product_order_set_response.rb,
lib/metronome_sdk/models/v1/customer_retrieve_billing_configurations_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/product_order_update_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/named_schedule_update_params.rb,
lib/metronome_sdk/models/v1/customer_retrieve_billing_configurations_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/product_order_update_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_response.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/named_schedule_retrieve_params.rb,
lib/metronome_sdk/models/v1/contracts/rate_cards/named_schedule_retrieve_response.rb,
lib/metronome_sdk/models/v1/contract_retrieve_subscription_quantity_history_params.rb,
lib/metronome_sdk/models/v1/contract_retrieve_subscription_quantity_history_response.rb

Defined Under Namespace

Modules: Errors, Internal, Models, Resources Classes: Client, FilePart, RequestOptions

Constant Summary collapse

BaseThresholdCommit =
MetronomeSDK::Models::BaseThresholdCommit
BaseUsageFilter =
MetronomeSDK::Models::BaseUsageFilter
Commit =
MetronomeSDK::Models::Commit
CommitHierarchyConfiguration =
MetronomeSDK::Models::CommitHierarchyConfiguration
CommitRate =
MetronomeSDK::Models::CommitRate
CommitSpecifier =
MetronomeSDK::Models::CommitSpecifier
CommitSpecifierInput =
MetronomeSDK::Models::CommitSpecifierInput
Contract =
MetronomeSDK::Models::Contract
ContractV2 =
MetronomeSDK::Models::ContractV2
ContractWithoutAmendments =
MetronomeSDK::Models::ContractWithoutAmendments
Credit =
MetronomeSDK::Models::Credit
CreditTypeData =
MetronomeSDK::Models::CreditTypeData
Discount =
MetronomeSDK::Models::Discount
EventTypeFilter =
MetronomeSDK::Models::EventTypeFilter
HierarchyConfiguration =
MetronomeSDK::Models::HierarchyConfiguration
ID =
MetronomeSDK::Models::ID
Override =
MetronomeSDK::Models::Override
OverrideTier =
MetronomeSDK::Models::OverrideTier
OverwriteRate =
MetronomeSDK::Models::OverwriteRate
PaymentGateConfig =
MetronomeSDK::Models::PaymentGateConfig
PaymentGateConfigV2 =
MetronomeSDK::Models::PaymentGateConfigV2
PrepaidBalanceThresholdConfiguration =
MetronomeSDK::Models::PrepaidBalanceThresholdConfiguration
PrepaidBalanceThresholdConfigurationV2 =
MetronomeSDK::Models::PrepaidBalanceThresholdConfigurationV2
PropertyFilter =
MetronomeSDK::Models::PropertyFilter
ProService =
MetronomeSDK::Models::ProService
Rate =
MetronomeSDK::Models::Rate
RecurringCommitSubscriptionConfig =
MetronomeSDK::Models::RecurringCommitSubscriptionConfig
ScheduledCharge =
MetronomeSDK::Models::ScheduledCharge
ScheduleDuration =
MetronomeSDK::Models::ScheduleDuration
SchedulePointInTime =
MetronomeSDK::Models::SchedulePointInTime
SpendThresholdConfiguration =
MetronomeSDK::Models::SpendThresholdConfiguration
SpendThresholdConfigurationV2 =
MetronomeSDK::Models::SpendThresholdConfigurationV2
Subscription =
MetronomeSDK::Models::Subscription
Tier =
MetronomeSDK::Models::Tier
UpdateBaseThresholdCommit =
MetronomeSDK::Models::UpdateBaseThresholdCommit
V1 =
MetronomeSDK::Models::V1
V2 =
MetronomeSDK::Models::V2
VERSION =
"2.1.0"