public static class SphereError.DuplicatePriceScope extends SphereError
SphereError.ConcurrentModification, SphereError.DuplicateAttributesValue, SphereError.DuplicateAttributeValue, SphereError.DuplicateField, SphereError.DuplicatePriceScope, SphereError.DuplicateVariantValues, SphereError.General, SphereError.InvalidCredentials, SphereError.InvalidCurrentPassword, SphereError.InvalidField, SphereError.InvalidInput, SphereError.InvalidJsonInput, SphereError.InvalidOperation, SphereError.InvalidSubject, SphereError.OutOfStock, SphereError.OverCapacity, SphereError.PendingOperation, SphereError.PriceChanged, SphereError.RequiredField, SphereError.ResourceNotFound
Constructor and Description |
---|
SphereError.DuplicatePriceScope() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
The error code, such as 'InvalidOperation'.
|
java.lang.String |
getCountryCode()
A two-digit country code of the offending price scope, as per ISO 3166-1 alpha-2.
|
java.lang.String |
getCurrencyCode()
The ISO 4217 currency code of the offending price scope.
|
Reference<CustomerGroup> |
getCustomerGroup()
Reference to a customer group of the offending price scope.
|
java.lang.String |
toString() |
getMessage
public java.lang.String getCode()
SphereError
getCode
in class SphereError
public java.lang.String getCurrencyCode()
public java.lang.String getCountryCode()
public Reference<CustomerGroup> getCustomerGroup()
public java.lang.String toString()
toString
in class SphereError