@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2017-11-21T16:23:00.366+05:30")
public class Promotion
extends Object
| Constructor and Description |
|---|
Promotion() |
| Modifier and Type | Method and Description |
|---|---|
Promotion |
amount(String amount) |
Promotion |
currencyCode(String currencyCode) |
Promotion |
description(String description) |
boolean |
equals(Object o) |
Promotion |
failureReason(String failureReason) |
String |
getAmount()
The amount or credits the promotion is worth.
|
String |
getCurrencyCode()
The [ISO-4217](http://en.wikipedia.org/wiki/ISO_4217) currency code for the amount.
|
String |
getDescription()
Describe promotion here.
|
String |
getFailureReason()
When adding a promotion fails, use this to describe why it failed.e.g.
|
String |
getMinPurchaseAmount()
The minimum amount someone must spend in order for the promotion to be applied.
|
String |
getPercentageOff()
The percentage discount.
|
String |
getPromotionId()
The ID/Coupon Code within your system that you use to represent this promotion.
|
String |
getReferrerUserId()
The unique user ID of the user who referred the user to this promotion.
|
String |
getStatus()
The status of the addition of promotion to an account.
|
String |
getType()
Type of the promotion e.g., First Time, Refer, Diwali
|
int |
hashCode() |
Promotion |
minPurchaseAmount(String minPurchaseAmount) |
Promotion |
percentageOff(String percentageOff) |
Promotion |
promotionId(String promotionId) |
Promotion |
referrerUserId(String referrerUserId) |
void |
setAmount(String amount) |
void |
setCurrencyCode(String currencyCode) |
void |
setDescription(String description) |
void |
setFailureReason(String failureReason) |
void |
setMinPurchaseAmount(String minPurchaseAmount) |
void |
setPercentageOff(String percentageOff) |
void |
setPromotionId(String promotionId) |
void |
setReferrerUserId(String referrerUserId) |
void |
setStatus(String status) |
void |
setType(String type) |
Promotion |
status(String status) |
String |
toString() |
Promotion |
type(String type) |
public String getPromotionId()
public void setPromotionId(String promotionId)
public String getStatus()
public void setStatus(String status)
public String getDescription()
public void setDescription(String description)
public String getAmount()
public void setAmount(String amount)
public String getMinPurchaseAmount()
public void setMinPurchaseAmount(String minPurchaseAmount)
public String getReferrerUserId()
public void setReferrerUserId(String referrerUserId)
public String getFailureReason()
public void setFailureReason(String failureReason)
public String getPercentageOff()
public void setPercentageOff(String percentageOff)
public String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
public String getType()
public void setType(String type)
Copyright © 2017. All rights reserved.