Package com.datadog.api.client.v2.model
Class ProductCatalogSKUPricingTier
java.lang.Object
com.datadog.api.client.v2.model.ProductCatalogSKUPricingTier
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductCatalogSKUPricingTier
extends Object
A usage range and the price that applies to usage falling inside it.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductCatalogSKUPricingTier(Long maxUsageQuantity, Long minUsageQuantity, String price, ProductCatalogSKUPricingUnitType pricingUnitType) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ProductCatalogSKUPricingTier object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The exclusive upper bound of the usage range the tier prices.The inclusive lower bound of the usage range the tier prices.getPrice()The price applied to usage in the tier, as a decimal string.Whether the tier's price applies per unit of usage or to a block of usage.inthashCode()maxUsageQuantity(Long maxUsageQuantity) minUsageQuantity(Long minUsageQuantity) pricingUnitType(ProductCatalogSKUPricingUnitType pricingUnitType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMaxUsageQuantity(Long maxUsageQuantity) voidsetMinUsageQuantity(Long minUsageQuantity) voidvoidsetPricingUnitType(ProductCatalogSKUPricingUnitType pricingUnitType) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MAX_USAGE_QUANTITY
- See Also:
-
JSON_PROPERTY_MIN_USAGE_QUANTITY
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_PRICING_UNIT_TYPE
- See Also:
-
-
Constructor Details
-
ProductCatalogSKUPricingTier
public ProductCatalogSKUPricingTier() -
ProductCatalogSKUPricingTier
public ProductCatalogSKUPricingTier(Long maxUsageQuantity, Long minUsageQuantity, String price, ProductCatalogSKUPricingUnitType pricingUnitType)
-
-
Method Details
-
maxUsageQuantity
-
getMaxUsageQuantity
The exclusive upper bound of the usage range the tier prices.nullon the final tier, which is unbounded.- Returns:
- maxUsageQuantity
-
setMaxUsageQuantity
-
minUsageQuantity
-
getMinUsageQuantity
The inclusive lower bound of the usage range the tier prices.- Returns:
- minUsageQuantity
-
setMinUsageQuantity
-
price
-
getPrice
The price applied to usage in the tier, as a decimal string. The number of decimal places is not normalized, so free tiers appear as either0or0.00.- Returns:
- price
-
setPrice
-
pricingUnitType
public ProductCatalogSKUPricingTier pricingUnitType(ProductCatalogSKUPricingUnitType pricingUnitType) -
getPricingUnitType
Whether the tier's price applies per unit of usage or to a block of usage.- Returns:
- pricingUnitType
-
setPricingUnitType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ProductCatalogSKUPricingTier
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ProductCatalogSKUPricingTier object is equal to o. -
hashCode
public int hashCode() -
toString
-