from orb.types import (
Address,
AdjustmentInterval,
AggregatedCost,
Allocation,
AmountDiscount,
AmountDiscountInterval,
BillableMetricTiny,
BillingCycleAnchorConfiguration,
BillingCycleConfiguration,
BillingCycleRelativeDate,
BulkConfig,
BulkTier,
ChangedSubscriptionResources,
ConversionRateTier,
ConversionRateTieredConfig,
ConversionRateUnitConfig,
CouponRedemption,
CreditNote,
CreditNoteTiny,
CustomExpiration,
CustomerMinified,
CustomerTaxID,
DimensionalPriceConfiguration,
Discount,
FixedFeeQuantityScheduleEntry,
FixedFeeQuantityTransition,
Invoice,
InvoiceLevelDiscount,
InvoiceTiny,
ItemSlim,
MatrixConfig,
MatrixSubLineItem,
MatrixValue,
MatrixWithAllocationConfig,
Maximum,
MaximumInterval,
Minimum,
MinimumInterval,
MonetaryAmountDiscountAdjustment,
MonetaryMaximumAdjustment,
MonetaryMinimumAdjustment,
MonetaryPercentageDiscountAdjustment,
MonetaryUsageDiscountAdjustment,
NewAllocationPrice,
NewAmountDiscount,
NewBillingCycleConfiguration,
NewDimensionalPriceConfiguration,
NewFloatingBulkPrice,
NewFloatingBulkWithProrationPrice,
NewFloatingCumulativeGroupedBulkPrice,
NewFloatingGroupedAllocationPrice,
NewFloatingGroupedTieredPackagePrice,
NewFloatingGroupedTieredPrice,
NewFloatingGroupedWithMeteredMinimumPrice,
NewFloatingGroupedWithProratedMinimumPrice,
NewFloatingMatrixPrice,
NewFloatingMatrixWithAllocationPrice,
NewFloatingMatrixWithDisplayNamePrice,
NewFloatingMaxGroupTieredPackagePrice,
NewFloatingMinimumCompositePrice,
NewFloatingPackagePrice,
NewFloatingPackageWithAllocationPrice,
NewFloatingScalableMatrixWithTieredPricingPrice,
NewFloatingScalableMatrixWithUnitPricingPrice,
NewFloatingThresholdTotalAmountPrice,
NewFloatingTieredPackagePrice,
NewFloatingTieredPackageWithMinimumPrice,
NewFloatingTieredPrice,
NewFloatingTieredWithMinimumPrice,
NewFloatingTieredWithProrationPrice,
NewFloatingUnitPrice,
NewFloatingUnitWithPercentPrice,
NewFloatingUnitWithProrationPrice,
NewMaximum,
NewMinimum,
NewPercentageDiscount,
NewPlanBulkPrice,
NewPlanBulkWithProrationPrice,
NewPlanCumulativeGroupedBulkPrice,
NewPlanGroupedAllocationPrice,
NewPlanGroupedTieredPackagePrice,
NewPlanGroupedTieredPrice,
NewPlanGroupedWithMeteredMinimumPrice,
NewPlanGroupedWithProratedMinimumPrice,
NewPlanMatrixPrice,
NewPlanMatrixWithAllocationPrice,
NewPlanMatrixWithDisplayNamePrice,
NewPlanMaxGroupTieredPackagePrice,
NewPlanMinimumCompositePrice,
NewPlanPackagePrice,
NewPlanPackageWithAllocationPrice,
NewPlanScalableMatrixWithTieredPricingPrice,
NewPlanScalableMatrixWithUnitPricingPrice,
NewPlanThresholdTotalAmountPrice,
NewPlanTieredPackagePrice,
NewPlanTieredPackageWithMinimumPrice,
NewPlanTieredPrice,
NewPlanTieredWithMinimumPrice,
NewPlanUnitPrice,
NewPlanUnitWithPercentPrice,
NewPlanUnitWithProrationPrice,
NewUsageDiscount,
OtherSubLineItem,
PackageConfig,
PaginationMetadata,
PerPriceCost,
PercentageDiscount,
PercentageDiscountInterval,
PlanPhaseAmountDiscountAdjustment,
PlanPhaseMaximumAdjustment,
PlanPhaseMinimumAdjustment,
PlanPhasePercentageDiscountAdjustment,
PlanPhaseUsageDiscountAdjustment,
Price,
PriceInterval,
SubLineItemGrouping,
SubLineItemMatrixConfig,
SubscriptionChangeMinified,
SubscriptionMinified,
SubscriptionTrialInfo,
TaxAmount,
Tier,
TierSubLineItem,
TieredConfig,
TieredConversionRateConfig,
TrialDiscount,
UnitConfig,
UnitConversionRateConfig,
UsageDiscount,
UsageDiscountInterval,
)Types:
from orb.types import TopLevelPingResponseMethods:
client.top_level.ping() -> TopLevelPingResponse
Types:
from orb.types import PlanVersion, PlanVersionPhaseMethods:
client.beta.create_plan_version(plan_id, **params) -> PlanVersionclient.beta.fetch_plan_version(version, *, plan_id) -> PlanVersionclient.beta.set_default_plan_version(plan_id, **params) -> Plan
Methods:
client.beta.external_plan_id.create_plan_version(external_plan_id, **params) -> PlanVersionclient.beta.external_plan_id.fetch_plan_version(version, *, external_plan_id) -> PlanVersionclient.beta.external_plan_id.set_default_plan_version(external_plan_id, **params) -> Plan
Types:
from orb.types import CouponMethods:
client.coupons.create(**params) -> Couponclient.coupons.list(**params) -> SyncPage[Coupon]client.coupons.archive(coupon_id) -> Couponclient.coupons.fetch(coupon_id) -> Coupon
Methods:
client.coupons.subscriptions.list(coupon_id, **params) -> SyncPage[Subscription]
Methods:
client.credit_notes.create(**params) -> CreditNoteclient.credit_notes.list(**params) -> SyncPage[CreditNote]client.credit_notes.fetch(credit_note_id) -> CreditNote
Types:
from orb.types import (
AccountingProviderConfig,
AddressInput,
Customer,
CustomerHierarchyConfig,
NewAccountingSyncConfiguration,
NewAvalaraTaxConfiguration,
NewReportingConfiguration,
NewSphereConfiguration,
NewTaxJarConfiguration,
)Methods:
client.customers.create(**params) -> Customerclient.customers.update(customer_id, **params) -> Customerclient.customers.list(**params) -> SyncPage[Customer]client.customers.delete(customer_id) -> Noneclient.customers.fetch(customer_id) -> Customerclient.customers.fetch_by_external_id(external_customer_id) -> Customerclient.customers.sync_payment_methods_from_gateway(customer_id) -> Noneclient.customers.sync_payment_methods_from_gateway_by_external_customer_id(external_customer_id) -> Noneclient.customers.update_by_external_id(id, **params) -> Customer
Types:
from orb.types.customers import CostListResponse, CostListByExternalIDResponseMethods:
client.customers.costs.list(customer_id, **params) -> CostListResponseclient.customers.costs.list_by_external_id(external_customer_id, **params) -> CostListByExternalIDResponse
Types:
from orb.types.customers import CreditListResponse, CreditListByExternalIDResponseMethods:
client.customers.credits.list(customer_id, **params) -> SyncPage[CreditListResponse]client.customers.credits.list_by_external_id(external_customer_id, **params) -> SyncPage[CreditListByExternalIDResponse]
Types:
from orb.types.customers.credits import (
AffectedBlock,
AmendmentLedgerEntry,
CreditBlockExpiryLedgerEntry,
DecrementLedgerEntry,
ExpirationChangeLedgerEntry,
IncrementLedgerEntry,
VoidInitiatedLedgerEntry,
VoidLedgerEntry,
LedgerListResponse,
LedgerCreateEntryResponse,
LedgerCreateEntryByExternalIDResponse,
LedgerListByExternalIDResponse,
)Methods:
client.customers.credits.ledger.list(customer_id, **params) -> SyncPage[LedgerListResponse]client.customers.credits.ledger.create_entry(customer_id, **params) -> LedgerCreateEntryResponseclient.customers.credits.ledger.create_entry_by_external_id(external_customer_id, **params) -> LedgerCreateEntryByExternalIDResponseclient.customers.credits.ledger.list_by_external_id(external_customer_id, **params) -> SyncPage[LedgerListByExternalIDResponse]
Types:
from orb.types.customers.credits import (
TopUpInvoiceSettings,
TopUpCreateResponse,
TopUpListResponse,
TopUpCreateByExternalIDResponse,
TopUpListByExternalIDResponse,
)Methods:
client.customers.credits.top_ups.create(customer_id, **params) -> TopUpCreateResponseclient.customers.credits.top_ups.list(customer_id, **params) -> SyncPage[TopUpListResponse]client.customers.credits.top_ups.delete(top_up_id, *, customer_id) -> Noneclient.customers.credits.top_ups.create_by_external_id(external_customer_id, **params) -> TopUpCreateByExternalIDResponseclient.customers.credits.top_ups.delete_by_external_id(top_up_id, *, external_customer_id) -> Noneclient.customers.credits.top_ups.list_by_external_id(external_customer_id, **params) -> SyncPage[TopUpListByExternalIDResponse]
Types:
from orb.types.customers import BalanceTransactionCreateResponse, BalanceTransactionListResponseMethods:
client.customers.balance_transactions.create(customer_id, **params) -> BalanceTransactionCreateResponseclient.customers.balance_transactions.list(customer_id, **params) -> SyncPage[BalanceTransactionListResponse]
Types:
from orb.types import (
EventUpdateResponse,
EventDeprecateResponse,
EventIngestResponse,
EventSearchResponse,
)Methods:
client.events.update(event_id, **params) -> EventUpdateResponseclient.events.deprecate(event_id) -> EventDeprecateResponseclient.events.ingest(**params) -> EventIngestResponseclient.events.search(**params) -> EventSearchResponse
Types:
from orb.types.events import (
BackfillCreateResponse,
BackfillListResponse,
BackfillCloseResponse,
BackfillFetchResponse,
BackfillRevertResponse,
)Methods:
client.events.backfills.create(**params) -> BackfillCreateResponseclient.events.backfills.list(**params) -> SyncPage[BackfillListResponse]client.events.backfills.close(backfill_id) -> BackfillCloseResponseclient.events.backfills.fetch(backfill_id) -> BackfillFetchResponseclient.events.backfills.revert(backfill_id) -> BackfillRevertResponse
Types:
from orb.types.events import EventVolumesMethods:
client.events.volume.list(**params) -> EventVolumes
Types:
from orb.types import InvoiceLineItemCreateResponseMethods:
client.invoice_line_items.create(**params) -> InvoiceLineItemCreateResponse
Types:
from orb.types import (
InvoiceFetchUpcomingResponse,
InvoiceIssueSummaryResponse,
InvoiceListSummaryResponse,
)Methods:
client.invoices.create(**params) -> Invoiceclient.invoices.update(invoice_id, **params) -> Invoiceclient.invoices.list(**params) -> SyncPage[Invoice]client.invoices.delete_line_item(line_item_id, *, invoice_id) -> Noneclient.invoices.fetch(invoice_id) -> Invoiceclient.invoices.fetch_upcoming(**params) -> InvoiceFetchUpcomingResponseclient.invoices.issue(invoice_id, **params) -> Invoiceclient.invoices.issue_summary(invoice_id, **params) -> InvoiceIssueSummaryResponseclient.invoices.list_summary(**params) -> SyncPage[InvoiceListSummaryResponse]client.invoices.mark_paid(invoice_id, **params) -> Invoiceclient.invoices.pay(invoice_id) -> Invoiceclient.invoices.void(invoice_id) -> Invoice
Types:
from orb.types import ItemMethods:
client.items.create(**params) -> Itemclient.items.update(item_id, **params) -> Itemclient.items.list(**params) -> SyncPage[Item]client.items.archive(item_id) -> Itemclient.items.fetch(item_id) -> Item
Types:
from orb.types import BillableMetricMethods:
client.metrics.create(**params) -> BillableMetricclient.metrics.update(metric_id, **params) -> BillableMetricclient.metrics.list(**params) -> SyncPage[BillableMetric]client.metrics.fetch(metric_id) -> BillableMetric
Types:
from orb.types import PlanMethods:
client.plans.create(**params) -> Planclient.plans.update(plan_id, **params) -> Planclient.plans.list(**params) -> SyncPage[Plan]client.plans.fetch(plan_id) -> Plan
Methods:
client.plans.external_plan_id.update(other_external_plan_id, **params) -> Planclient.plans.external_plan_id.fetch(external_plan_id) -> Plan
Types:
from orb.types.plans import (
MigrationRetrieveResponse,
MigrationListResponse,
MigrationCancelResponse,
)Methods:
client.plans.migrations.retrieve(migration_id, *, plan_id) -> MigrationRetrieveResponseclient.plans.migrations.list(plan_id, **params) -> SyncPage[MigrationListResponse]client.plans.migrations.cancel(migration_id, *, plan_id) -> MigrationCancelResponse
Types:
from orb.types import (
EvaluatePriceGroup,
PriceEvaluateResponse,
PriceEvaluateMultipleResponse,
PriceEvaluatePreviewEventsResponse,
)Methods:
client.prices.create(**params) -> Priceclient.prices.update(price_id, **params) -> Priceclient.prices.list(**params) -> SyncPage[Price]client.prices.evaluate(price_id, **params) -> PriceEvaluateResponseclient.prices.evaluate_multiple(**params) -> PriceEvaluateMultipleResponseclient.prices.evaluate_preview_events(**params) -> PriceEvaluatePreviewEventsResponseclient.prices.fetch(price_id) -> Price
Methods:
client.prices.external_price_id.update(external_price_id, **params) -> Priceclient.prices.external_price_id.fetch(external_price_id) -> Price
Types:
from orb.types import (
DiscountOverride,
NewSubscriptionBulkPrice,
NewSubscriptionBulkWithProrationPrice,
NewSubscriptionCumulativeGroupedBulkPrice,
NewSubscriptionGroupedAllocationPrice,
NewSubscriptionGroupedTieredPackagePrice,
NewSubscriptionGroupedTieredPrice,
NewSubscriptionGroupedWithMeteredMinimumPrice,
NewSubscriptionGroupedWithProratedMinimumPrice,
NewSubscriptionMatrixPrice,
NewSubscriptionMatrixWithAllocationPrice,
NewSubscriptionMatrixWithDisplayNamePrice,
NewSubscriptionMaxGroupTieredPackagePrice,
NewSubscriptionMinimumCompositePrice,
NewSubscriptionPackagePrice,
NewSubscriptionPackageWithAllocationPrice,
NewSubscriptionScalableMatrixWithTieredPricingPrice,
NewSubscriptionScalableMatrixWithUnitPricingPrice,
NewSubscriptionThresholdTotalAmountPrice,
NewSubscriptionTieredPackagePrice,
NewSubscriptionTieredPackageWithMinimumPrice,
NewSubscriptionTieredPrice,
NewSubscriptionTieredWithMinimumPrice,
NewSubscriptionUnitPrice,
NewSubscriptionUnitWithPercentPrice,
NewSubscriptionUnitWithProrationPrice,
Subscription,
SubscriptionUsage,
Subscriptions,
SubscriptionFetchCostsResponse,
SubscriptionFetchScheduleResponse,
)Methods:
client.subscriptions.create(**params) -> MutatedSubscriptionclient.subscriptions.update(subscription_id, **params) -> Subscriptionclient.subscriptions.list(**params) -> SyncPage[Subscription]client.subscriptions.cancel(subscription_id, **params) -> MutatedSubscriptionclient.subscriptions.fetch(subscription_id) -> Subscriptionclient.subscriptions.fetch_costs(subscription_id, **params) -> SubscriptionFetchCostsResponseclient.subscriptions.fetch_schedule(subscription_id, **params) -> SyncPage[SubscriptionFetchScheduleResponse]client.subscriptions.fetch_usage(subscription_id, **params) -> SubscriptionUsageclient.subscriptions.price_intervals(subscription_id, **params) -> MutatedSubscriptionclient.subscriptions.redeem_coupon(subscription_id, **params) -> MutatedSubscriptionclient.subscriptions.schedule_plan_change(subscription_id, **params) -> MutatedSubscriptionclient.subscriptions.trigger_phase(subscription_id, **params) -> MutatedSubscriptionclient.subscriptions.unschedule_cancellation(subscription_id) -> MutatedSubscriptionclient.subscriptions.unschedule_fixed_fee_quantity_updates(subscription_id, **params) -> MutatedSubscriptionclient.subscriptions.unschedule_pending_plan_changes(subscription_id) -> MutatedSubscriptionclient.subscriptions.update_fixed_fee_quantity(subscription_id, **params) -> MutatedSubscriptionclient.subscriptions.update_trial(subscription_id, **params) -> MutatedSubscription
Methods:
client.webhooks.unwrap(*args) -> objectclient.webhooks.verify_signature(*args) -> None
Types:
from orb.types import Alert, ThresholdMethods:
client.alerts.retrieve(alert_id) -> Alertclient.alerts.update(alert_configuration_id, **params) -> Alertclient.alerts.list(**params) -> SyncPage[Alert]client.alerts.create_for_customer(customer_id, **params) -> Alertclient.alerts.create_for_external_customer(external_customer_id, **params) -> Alertclient.alerts.create_for_subscription(subscription_id, **params) -> Alertclient.alerts.disable(alert_configuration_id, **params) -> Alertclient.alerts.enable(alert_configuration_id, **params) -> Alert
Types:
from orb.types import DimensionalPriceGroup, DimensionalPriceGroupsMethods:
client.dimensional_price_groups.create(**params) -> DimensionalPriceGroupclient.dimensional_price_groups.retrieve(dimensional_price_group_id) -> DimensionalPriceGroupclient.dimensional_price_groups.update(dimensional_price_group_id, **params) -> DimensionalPriceGroupclient.dimensional_price_groups.list(**params) -> SyncPage[DimensionalPriceGroup]
Methods:
client.dimensional_price_groups.external_dimensional_price_group_id.retrieve(external_dimensional_price_group_id) -> DimensionalPriceGroupclient.dimensional_price_groups.external_dimensional_price_group_id.update(path_external_dimensional_price_group_id, **params) -> DimensionalPriceGroup
Types:
from orb.types import (
MutatedSubscription,
SubscriptionChangeRetrieveResponse,
SubscriptionChangeListResponse,
SubscriptionChangeApplyResponse,
SubscriptionChangeCancelResponse,
)Methods:
client.subscription_changes.retrieve(subscription_change_id) -> SubscriptionChangeRetrieveResponseclient.subscription_changes.list(**params) -> SyncPage[SubscriptionChangeListResponse]client.subscription_changes.apply(subscription_change_id, **params) -> SubscriptionChangeApplyResponseclient.subscription_changes.cancel(subscription_change_id) -> SubscriptionChangeCancelResponse
Types:
from orb.types import CreditBlockRetrieveResponse, CreditBlockListInvoicesResponseMethods:
client.credit_blocks.retrieve(block_id) -> CreditBlockRetrieveResponseclient.credit_blocks.delete(block_id) -> Noneclient.credit_blocks.list_invoices(block_id) -> CreditBlockListInvoicesResponse
Types:
from orb.types import (
LicenseTypeCreateResponse,
LicenseTypeRetrieveResponse,
LicenseTypeListResponse,
)Methods:
client.license_types.create(**params) -> LicenseTypeCreateResponseclient.license_types.retrieve(license_type_id) -> LicenseTypeRetrieveResponseclient.license_types.list(**params) -> SyncPage[LicenseTypeListResponse]
Types:
from orb.types import (
LicenseCreateResponse,
LicenseRetrieveResponse,
LicenseListResponse,
LicenseDeactivateResponse,
LicenseRetrieveByExternalIDResponse,
)Methods:
client.licenses.create(**params) -> LicenseCreateResponseclient.licenses.retrieve(license_id) -> LicenseRetrieveResponseclient.licenses.list(**params) -> SyncPage[LicenseListResponse]client.licenses.deactivate(license_id, **params) -> LicenseDeactivateResponseclient.licenses.retrieve_by_external_id(external_license_id, **params) -> LicenseRetrieveByExternalIDResponse
Types:
from orb.types.licenses import ExternalLicenseGetUsageResponseMethods:
client.licenses.external_licenses.get_usage(external_license_id, **params) -> ExternalLicenseGetUsageResponse
Types:
from orb.types.licenses import UsageGetAllUsageResponse, UsageGetUsageResponseMethods:
client.licenses.usage.get_all_usage(**params) -> UsageGetAllUsageResponseclient.licenses.usage.get_usage(license_id, **params) -> UsageGetUsageResponse