DetailedTransferStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.DetailedTransferStatus

Implements

public final class DetailedTransferStatus
implements JsonSerializable<DetailedTransferStatus>

Detailed transfer status.

Constructor Summary

Constructor Description
DetailedTransferStatus()

Creates an instance of DetailedTransferStatus class.

Method Summary

Modifier and Type Method and Description
TransferError errorDetails()

Get the errorDetails property: Error details for transfer execution.

static DetailedTransferStatus fromJson(JsonReader jsonReader)

Reads an instance of DetailedTransferStatus from the JsonReader.

String productId()

Get the productId property: The ID of the product that is transferred.

String productName()

Get the productName property: The name of the product that is transferred.

ProductType productType()

Get the productType property: Type of product that is transferred.

String skuDescription()

Get the skuDescription property: The SKU of the product that is transferred.

JsonWriter toJson(JsonWriter jsonWriter)
ProductTransferStatus transferStatus()

Get the transferStatus property: Transfer status.

void validate()

Validates the instance.

DetailedTransferStatus withErrorDetails(TransferError errorDetails)

Set the errorDetails property: Error details for transfer execution.

Methods inherited from java.lang.Object

Constructor Details

DetailedTransferStatus

public DetailedTransferStatus()

Creates an instance of DetailedTransferStatus class.

Method Details

errorDetails

public TransferError errorDetails()

Get the errorDetails property: Error details for transfer execution.

Returns:

the errorDetails value.

fromJson

public static DetailedTransferStatus fromJson(JsonReader jsonReader)

Reads an instance of DetailedTransferStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DetailedTransferStatus 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 DetailedTransferStatus.

productId

public String productId()

Get the productId property: The ID of the product that is transferred.

Returns:

the productId value.

productName

public String productName()

Get the productName property: The name of the product that is transferred.

Returns:

the productName value.

productType

public ProductType productType()

Get the productType property: Type of product that is transferred.

Returns:

the productType value.

skuDescription

public String skuDescription()

Get the skuDescription property: The SKU of the product that is transferred.

Returns:

the skuDescription value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transferStatus

public ProductTransferStatus transferStatus()

Get the transferStatus property: Transfer status.

Returns:

the transferStatus value.

validate

public void validate()

Validates the instance.

withErrorDetails

public DetailedTransferStatus withErrorDetails(TransferError errorDetails)

Set the errorDetails property: Error details for transfer execution.

Parameters:

errorDetails - the errorDetails value to set.

Returns:

the DetailedTransferStatus object itself.

Applies to