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() |
Long |
getStart() |
String |
getSubscription() |
void |
setCoupon(Coupon coupon) |
void |
setCustomer(String customer) |
void |
setEnd(Long end) |
void |
setId(String id) |
void |
setStart(Long start) |
void |
setSubscription(String subscription) |
equals, toString
public String getId()
public void setId(String id)
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 © 2016 Stripe. All rights reserved.