ProductTransferValidationErrorCode Class

public final class ProductTransferValidationErrorCode
extends ExpandableStringEnum<ProductTransferValidationErrorCode>

Error code of the transfer validation response.

Field Summary

Modifier and Type Field and Description
static final ProductTransferValidationErrorCode CROSS_BILLING_ACCOUNT_NOT_ALLOWED

Static value CrossBillingAccountNotAllowed for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode DESTINATION_BILLING_PROFILE_PAST_DUE

Static value DestinationBillingProfilePastDue for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_DESTINATION

Static value InsufficientPermissionOnDestination for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_SOURCE

Static value InsufficientPermissionOnSource for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode INVALID_SOURCE

Static value InvalidSource for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode NOT_AVAILABLE_FOR_DESTINATION_MARKET

Static value NotAvailableForDestinationMarket for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode ONE_TIME_PURCHASE_PRODUCT_TRANSFER_NOT_ALLOWED

Static value OneTimePurchaseProductTransferNotAllowed for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode PRODUCT_NOT_ACTIVE

Static value ProductNotActive for ProductTransferValidationErrorCode.

static final ProductTransferValidationErrorCode PRODUCT_TYPE_NOT_SUPPORTED

Static value ProductTypeNotSupported for ProductTransferValidationErrorCode.

Constructor Summary

Constructor Description
ProductTransferValidationErrorCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProductTransferValidationErrorCode value.

Method Summary

Modifier and Type Method and Description
static ProductTransferValidationErrorCode fromString(String name)

Creates or finds a ProductTransferValidationErrorCode from its string representation.

static Collection<ProductTransferValidationErrorCode> values()

Gets known ProductTransferValidationErrorCode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CROSS_BILLING_ACCOUNT_NOT_ALLOWED

public static final ProductTransferValidationErrorCode CROSS_BILLING_ACCOUNT_NOT_ALLOWED

Static value CrossBillingAccountNotAllowed for ProductTransferValidationErrorCode.

DESTINATION_BILLING_PROFILE_PAST_DUE

public static final ProductTransferValidationErrorCode DESTINATION_BILLING_PROFILE_PAST_DUE

Static value DestinationBillingProfilePastDue for ProductTransferValidationErrorCode.

INSUFFICIENT_PERMISSION_ON_DESTINATION

public static final ProductTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_DESTINATION

Static value InsufficientPermissionOnDestination for ProductTransferValidationErrorCode.

INSUFFICIENT_PERMISSION_ON_SOURCE

public static final ProductTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_SOURCE

Static value InsufficientPermissionOnSource for ProductTransferValidationErrorCode.

INVALID_SOURCE

public static final ProductTransferValidationErrorCode INVALID_SOURCE

Static value InvalidSource for ProductTransferValidationErrorCode.

NOT_AVAILABLE_FOR_DESTINATION_MARKET

public static final ProductTransferValidationErrorCode NOT_AVAILABLE_FOR_DESTINATION_MARKET

Static value NotAvailableForDestinationMarket for ProductTransferValidationErrorCode.

ONE_TIME_PURCHASE_PRODUCT_TRANSFER_NOT_ALLOWED

public static final ProductTransferValidationErrorCode ONE_TIME_PURCHASE_PRODUCT_TRANSFER_NOT_ALLOWED

Static value OneTimePurchaseProductTransferNotAllowed for ProductTransferValidationErrorCode.

PRODUCT_NOT_ACTIVE

public static final ProductTransferValidationErrorCode PRODUCT_NOT_ACTIVE

Static value ProductNotActive for ProductTransferValidationErrorCode.

PRODUCT_TYPE_NOT_SUPPORTED

public static final ProductTransferValidationErrorCode PRODUCT_TYPE_NOT_SUPPORTED

Static value ProductTypeNotSupported for ProductTransferValidationErrorCode.

Constructor Details

ProductTransferValidationErrorCode

@Deprecated
public ProductTransferValidationErrorCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProductTransferValidationErrorCode value.

Method Details

fromString

public static ProductTransferValidationErrorCode fromString(String name)

Creates or finds a ProductTransferValidationErrorCode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProductTransferValidationErrorCode.

values

public static Collection values()

Gets known ProductTransferValidationErrorCode values.

Returns:

known ProductTransferValidationErrorCode values.

Applies to