Rate Cards
Get Rate Card
ModelsExpand Collapse
type AmountInput struct{…}
The currency code of the amount.
Value AmountInputValueUnionThe value of the amount in the smallest unit of the currency.
The value of the amount in the smallest unit of the currency.
type FlatPriceInput struct{…}Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
Amount AmountInput
The currency code of the amount.
Value AmountInputValueUnionThe value of the amount in the smallest unit of the currency.
The value of the amount in the smallest unit of the currency.
PriceType FlatPriceInputPriceTypeoptional
type FlatPriceOutput struct{…}Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
PriceType FlatPriceOutputPriceTypeoptional
type PackagePriceInput struct{…}Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Amount AmountInput
The currency code of the amount.
Value AmountInputValueUnionThe value of the amount in the smallest unit of the currency.
The value of the amount in the smallest unit of the currency.
RoundingBehavior PackagePriceInputRoundingBehavior
PriceType PackagePriceInputPriceTypeoptional
type PackagePriceOutput struct{…}Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
RoundingBehavior PackagePriceOutputRoundingBehavior
PriceType PackagePriceOutputPriceTypeoptional
type RateCardResource struct{…}
The ID of the rate card.
BillingInterval RateCardResourceBillingIntervalHow often the customer will be billed for this rate card.
How often the customer will be billed for this rate card.
The date and time the rate card was created.
FixedRates []RateCardResourceFixedRateThe fixed rates of the rate card.
The fixed rates of the rate card.
Price RateCardResourceFixedRatePriceUnionFlat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
type FlatPriceOutput struct{…}Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
PriceType FlatPriceOutputPriceTypeoptional
type PackagePriceOutput struct{…}Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
RoundingBehavior PackagePriceOutputRoundingBehavior
PriceType PackagePriceOutputPriceTypeoptional
Additional metadata about the rate card. You may use this to store any custom data about the rate card.
The name of the rate card.
The date and time the rate card was last updated.
UsageBasedRates []RateCardResourceUsageBasedRateUnionThe usage based rates of the rate card.
The usage based rates of the rate card.
type RateCardResourceUsageBasedRateSimple struct{…}
Price RateCardResourceUsageBasedRateSimplePriceUnionFlat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
type FlatPriceOutput struct{…}Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
PriceType FlatPriceOutputPriceTypeoptional
type PackagePriceOutput struct{…}Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
RoundingBehavior PackagePriceOutputRoundingBehavior
PriceType PackagePriceOutputPriceTypeoptional
UsageBasedRateType stringoptional
type RateCardResourceUsageBasedRateDimensional struct{…}
Dimensions []RateCardResourceUsageBasedRateDimensionalDimension
PricingMatrix RateCardResourceUsageBasedRateDimensionalPricingMatrix
Cells []RateCardResourceUsageBasedRateDimensionalPricingMatrixCell
Price RateCardResourceUsageBasedRateDimensionalPricingMatrixCellPriceUnionFlat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
type FlatPriceOutput struct{…}Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
PriceType FlatPriceOutputPriceTypeoptional
type PackagePriceOutput struct{…}Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Amount AmountOutput
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
RoundingBehavior PackagePriceOutputRoundingBehavior
PriceType PackagePriceOutputPriceTypeoptional
UsageBasedRateType stringoptional
The description of the rate card.