public class PromoRuleCreate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PromoRuleCreate.Builder |
static class |
PromoRuleCreate.Target |
static class |
PromoRuleCreate.Type |
| Constructor and Description |
|---|
PromoRuleCreate(PromoRuleCreate.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static PromoRuleCreate.Builder |
builder()
Returns a new builder instance.
|
float |
getAmount() |
String |
getCreatedAtForeign() |
String |
getDescription() |
String |
getEndsAt() |
String |
getId() |
String |
getStartsAt() |
PromoRuleCreate.Target |
getTarget() |
String |
getTitle() |
PromoRuleCreate.Type |
getType() |
String |
getUpdatedAtForeign() |
Boolean |
isEnabled() |
public PromoRuleCreate(PromoRuleCreate.Builder builder)
public String getId()
public String getTitle()
public String getDescription()
public String getStartsAt()
public String getEndsAt()
public float getAmount()
public PromoRuleCreate.Type getType()
public PromoRuleCreate.Target getTarget()
public Boolean isEnabled()
public String getCreatedAtForeign()
public String getUpdatedAtForeign()
public static PromoRuleCreate.Builder builder()
Copyright © 2020. All rights reserved.