Package | Description |
---|---|
io.sphere.sdk.discountcodes |
Provides model classes and builders for discount codes.
|
io.sphere.sdk.orders.messages |
Provides model classes and builders for orders.
|
Modifier and Type | Method and Description |
---|---|
DiscountCodeState |
DiscountCodeInfo.getState() |
static DiscountCodeState |
DiscountCodeState.ofSphereValue(String value) |
static DiscountCodeState |
DiscountCodeState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscountCodeState[] |
DiscountCodeState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static DiscountCodeInfo |
DiscountCodeInfo.of(Referenceable<DiscountCode> discountCode,
DiscountCodeState state) |
Modifier and Type | Method and Description |
---|---|
DiscountCodeState |
OrderDiscountCodeStateSetMessage.getOldState() |
DiscountCodeState |
OrderDiscountCodeStateSetMessage.getState() |