public class PromoCodeCreate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PromoCodeCreate.Builder |
| Constructor and Description |
|---|
PromoCodeCreate(PromoCodeCreate.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static PromoCodeCreate.Builder |
builder()
Returns a new builder instance.
|
String |
getCode() |
String |
getCreatedAtForeign() |
String |
getId() |
String |
getRedemptionUrl() |
String |
getUpdatedAtForeign() |
Integer |
getUsageCount() |
Boolean |
isEnabled() |
public PromoCodeCreate(PromoCodeCreate.Builder builder)
public String getId()
public String getCode()
public String getRedemptionUrl()
public Integer getUsageCount()
public Boolean isEnabled()
public String getCreatedAtForeign()
public String getUpdatedAtForeign()
public static PromoCodeCreate.Builder builder()
Copyright © 2020. All rights reserved.