public class Discount extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
Discount() |
Modifier and Type | Method and Description |
---|---|
Coupon |
getCoupon() |
String |
getCustomer() |
Long |
getEnd() |
String |
getId() |
String |
getObject() |
Long |
getStart() |
String |
getSubscription() |
void |
setCoupon(Coupon coupon) |
void |
setCustomer(String customer) |
void |
setEnd(Long end) |
void |
setId(String id) |
void |
setObject(String object) |
void |
setStart(Long start) |
void |
setSubscription(String subscription) |
equals, toJson, toString
public String getId()
public void setId(String id)
public String getObject()
public void setObject(String object)
public Coupon getCoupon()
public void setCoupon(Coupon coupon)
public String getCustomer()
public void setCustomer(String customer)
public Long getEnd()
public void setEnd(Long end)
public Long getStart()
public void setStart(Long start)
public String getSubscription()
public void setSubscription(String subscription)
Copyright © 2017 Stripe. All rights reserved.