public class CouponCode extends InsertableEntity<CouponCode>
| Modifier and Type | Field and Description |
|---|---|
protected String |
couponCode |
protected int |
quantity |
protected static ResourcePath |
resourcePath |
m_client, PRETTY_PRINT_GSON| Constructor and Description |
|---|
CouponCode() |
CouponCode(BillForwardClient client_) |
| Modifier and Type | Method and Description |
|---|---|
static CouponCode |
create(CouponCode couponCodes) |
static CouponCode |
getByCouponCode(String couponCode) |
String |
getCouponCode() |
int |
getQuantity() |
protected ResourcePath |
getResourcePath() |
protected static ResourcePath |
ResourcePath() |
void |
setCouponCode(String couponCode) |
void |
setQuantity(int quantity) |
create, create, createExplicitPath, retire, retire, retire, retireExplicitPathprotected String couponCode
protected int quantity
protected static ResourcePath resourcePath
public CouponCode(BillForwardClient client_)
public CouponCode()
public String getCouponCode()
public void setCouponCode(String couponCode)
public int getQuantity()
public void setQuantity(int quantity)
public static CouponCode getByCouponCode(String couponCode) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static CouponCode create(CouponCode couponCodes) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
protected ResourcePath getResourcePath()
getResourcePath in class BillingEntityprotected static ResourcePath ResourcePath()
Copyright © 2015 BillForward. All rights reserved.