次の方法で共有


SkuCost Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.SkuCost

Implements

public final class SkuCost
implements JsonSerializable<SkuCost>

Describes metadata for retrieving price info.

Constructor Summary

Constructor Description
SkuCost()

Creates an instance of SkuCost class.

Method Summary

Modifier and Type Method and Description
static SkuCost fromJson(JsonReader jsonReader)

Reads an instance of SkuCost from the JsonReader.

String meterId()

Get the meterId property: Meter id of the Sku.

String meterType()

Get the meterType property: The type of the meter.

Double multiplier()

Get the multiplier property: Multiplier specifies the region specific value to be multiplied with 1$ guid.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SkuCost

public SkuCost()

Creates an instance of SkuCost class.

Method Details

fromJson

public static SkuCost fromJson(JsonReader jsonReader)

Reads an instance of SkuCost from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SkuCost if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SkuCost.

meterId

public String meterId()

Get the meterId property: Meter id of the Sku.

Returns:

the meterId value.

meterType

public String meterType()

Get the meterType property: The type of the meter.

Returns:

the meterType value.

multiplier

public Double multiplier()

Get the multiplier property: Multiplier specifies the region specific value to be multiplied with 1$ guid. Eg: Our new regions will be using 1$ shipping guid with appropriate multiplier specific to region.

Returns:

the multiplier value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to