public class OfferRef extends Object implements Serializable
Constructor and Description |
---|
OfferRef() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Map<String,Object> |
getAttributes()
Dynamic attributes that are a part of the offer.
|
String |
getCartLabel()
A label for this offer typically used by the storefront.
|
String |
getDescription()
A description of what benefits the offer provides to a customer.
|
String |
getId()
The ID of the offer.
|
String |
getName()
The name of the offer.
|
int |
hashCode() |
void |
setAttributes(Map<String,Object> attributes)
Dynamic attributes that are a part of the offer.
|
void |
setCartLabel(String cartLabel)
A label for this offer typically used by the storefront.
|
void |
setDescription(String description)
A description of what benefits the offer provides to a customer.
|
void |
setId(String id)
The ID of the offer.
|
void |
setName(String name)
The name of the offer.
|
String |
toString() |
public String getId()
public String getName()
public String getDescription()
public String getCartLabel()
public Map<String,Object> getAttributes()
public void setId(String id)
id
- The ID of the offer.public void setName(String name)
name
- The name of the offer.public void setDescription(String description)
description
- A description of what benefits the offer provides to a customer.public void setCartLabel(String cartLabel)
cartLabel
- A label for this offer typically used by the storefront.public void setAttributes(Map<String,Object> attributes)
attributes
- dynamic attributes that are a part of the offerprotected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.