public class CouponResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
amountOff |
protected long |
created |
protected String |
currency |
protected String |
duration |
protected short |
durationInMonths |
protected String |
id |
protected boolean |
livemode |
protected int |
maxRedemptions |
protected Map<String,Object> |
metadata |
protected String |
object |
protected short |
percentOff |
protected int |
redeemBy |
protected int |
timesRedeemed |
protected boolean |
valid |
| Constructor and Description |
|---|
CouponResponse() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmountOff() |
long |
getCreated() |
String |
getCurrency() |
String |
getDuration() |
short |
getDurationInMonths() |
String |
getId() |
int |
getMaxRedemptions() |
Map<String,Object> |
getMetadata() |
String |
getObject() |
short |
getPercentOff() |
int |
getRedeemBy() |
int |
getTimesRedeemed() |
boolean |
isLivemode() |
boolean |
isValid() |
protected String id
protected String object
protected boolean livemode
protected long created
protected String duration
protected int amountOff
protected String currency
protected short durationInMonths
protected int maxRedemptions
protected short percentOff
protected int redeemBy
protected int timesRedeemed
protected boolean valid
public String getId()
public String getObject()
public boolean isLivemode()
public long getCreated()
public String getDuration()
public int getAmountOff()
public String getCurrency()
public short getDurationInMonths()
public int getMaxRedemptions()
public short getPercentOff()
public int getRedeemBy()
public int getTimesRedeemed()
public boolean isValid()
Copyright © 2014. All rights reserved.