|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stripe.model.StripeObject
com.stripe.net.APIResource
com.stripe.model.Coupon
public class Coupon
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.stripe.net.APIResource |
|---|
APIResource.RequestMethod |
| Field Summary |
|---|
| Fields inherited from class com.stripe.net.APIResource |
|---|
CHARSET |
| Constructor Summary | |
|---|---|
Coupon()
|
|
| Method Summary | |
|---|---|
static CouponCollection |
all(Map<String,Object> params)
|
static Coupon |
create(Map<String,Object> params)
|
DeletedCoupon |
delete()
|
String |
getDuration()
|
String |
getId()
|
String |
getLivemode()
|
Integer |
getPercentOff()
|
static Coupon |
retrieve(String id)
|
void |
setDuration(String duration)
|
void |
setId(String id)
|
void |
setLivemode(String livemode)
|
void |
setPercentOff(Integer percentOff)
|
| Methods inherited from class com.stripe.net.APIResource |
|---|
classURL, instanceURL, request |
| Methods inherited from class com.stripe.model.StripeObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Coupon()
| Method Detail |
|---|
public static Coupon create(Map<String,Object> params)
throws StripeException
StripeException
public static Coupon retrieve(String id)
throws StripeException
StripeException
public static CouponCollection all(Map<String,Object> params)
throws StripeException
StripeException
public DeletedCoupon delete()
throws StripeException
StripeExceptionpublic Integer getPercentOff()
public void setPercentOff(Integer percentOff)
public String getDuration()
public void setDuration(String duration)
public String getId()
public void setId(String id)
public String getLivemode()
public void setLivemode(String livemode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||