public interface CartDiscountReference extends Reference, Identifiable<CartDiscount>
Reference to a CartDiscount.
CartDiscountReference cartDiscountReference = CartDiscountReference.builder()
.id("{id}")
.build()
Modifier and Type | Field and Description |
---|---|
static String |
CART_DISCOUNT |
Modifier and Type | Method and Description |
---|---|
static CartDiscountReferenceBuilder |
builder() |
static CartDiscountReferenceBuilder |
builder(CartDiscountReference template) |
@NotNull String |
getId()
Unique identifier of the referenced CartDiscount.
|
@Valid CartDiscount |
getObj()
Contains the representation of the expanded CartDiscount.
|
static CartDiscountReference |
of() |
static CartDiscountReference |
of(CartDiscountReference template) |
void |
setId(String id) |
void |
setObj(CartDiscount obj) |
static com.fasterxml.jackson.core.type.TypeReference<CartDiscountReference> |
typeReference() |
default <T> T |
withCartDiscountReference(Function<CartDiscountReference,T> helper) |
cartBuilder, cartDiscountBuilder, categoryBuilder, channelBuilder, customerBuilder, customerGroupBuilder, discountCodeBuilder, getTypeId, inventoryEntryBuilder, keyValueDocumentBuilder, orderBuilder, orderEditBuilder, paymentBuilder, productBuilder, productDiscountBuilder, productSelectionBuilder, productTypeBuilder, reviewBuilder, shippingMethodBuilder, shoppingListBuilder, standalonePriceBuilder, stateBuilder, storeBuilder, taxCategoryBuilder, typeBuilder, withReference, zoneBuilder
static final String CART_DISCOUNT
@Valid @Valid CartDiscount getObj()
Contains the representation of the expanded CartDiscount. Only present in responses to requests with Reference Expansion for CartDiscounts.
@NotNull @NotNull String getId()
Unique identifier of the referenced CartDiscount.
getId
in interface Identifiable<CartDiscount>
getId
in interface Reference
void setObj(CartDiscount obj)
static CartDiscountReference of()
static CartDiscountReference of(CartDiscountReference template)
static CartDiscountReferenceBuilder builder()
static CartDiscountReferenceBuilder builder(CartDiscountReference template)
default <T> T withCartDiscountReference(Function<CartDiscountReference,T> helper)
static com.fasterxml.jackson.core.type.TypeReference<CartDiscountReference> typeReference()
typeReference
in interface Reference