http

package
v1.0.0-beta.211 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsDiscounts

func AsDiscounts(discounts *api.Discounts) (productcatalog.Discounts, error)

func AsEntitlementTemplate

func AsEntitlementTemplate(e api.RateCardEntitlement, billingCadence *isodate.Period) (*productcatalog.EntitlementTemplate, error)

func AsPriceTier

func AsPriceTier(t api.PriceTier) (productcatalog.PriceTier, error)

func AsRateCard

func AsRateCard(r api.RateCard) (productcatalog.RateCard, error)

func AsRateCards

func AsRateCards(rcs []api.RateCard) (productcatalog.RateCards, error)

func AsTaxConfig

func AsTaxConfig(c api.TaxConfig) productcatalog.TaxConfig

func FromDiscounts

func FromDiscounts(discounts productcatalog.Discounts) *api.Discounts

func FromRateCard

func FromRateCard(r productcatalog.RateCard) (api.RateCard, error)

func FromRateCardUsageBasedPrice

func FromRateCardUsageBasedPrice(price productcatalog.Price) (api.RateCardUsageBasedPrice, error)

func FromTaxConfig

func FromTaxConfig(c productcatalog.TaxConfig) api.TaxConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL