public class ReceiptTemplatePayload extends TemplateBasePayload
templateType| Constructor and Description |
|---|
ReceiptTemplatePayload()
Instantiates a new receipt template payload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAdjustment(Adjustment adjustment)
Adds the adjustment.
|
void |
addElement(ReceiptTemplateElement element)
Adds the element.
|
boolean |
equals(Object obj) |
Address |
getAddress()
Gets the address.
|
List<Adjustment> |
getAdjustments()
Gets the adjustments.
|
String |
getCurrency()
Gets the currency.
|
List<ReceiptTemplateElement> |
getElements()
Gets the elements.
|
String |
getMerchantName()
Gets the merchant name.
|
String |
getOrderNumber()
Gets the order number.
|
String |
getOrderUrl()
Gets the order url.
|
String |
getPaymentMethod()
Gets the payment method.
|
String |
getRecipientName()
Gets the recipient name.
|
Summary |
getSummary()
Gets the summary.
|
String |
getTimestamp()
Gets the timestamp.
|
int |
hashCode() |
void |
setAddress(Address address)
Sets the address.
|
void |
setAdjustments(List<Adjustment> adjustments)
Sets the adjustments.
|
void |
setCurrency(String currency)
Sets the currency.
|
void |
setElements(List<ReceiptTemplateElement> elements)
Sets the elements.
|
void |
setMerchantName(String merchantName)
Sets the merchant name.
|
void |
setOrderNumber(String orderNumber)
Sets the order number.
|
void |
setOrderUrl(String orderUrl)
Sets the order url.
|
void |
setPaymentMethod(String paymentMethod)
Sets the payment method.
|
void |
setRecipientName(String recipientName)
Sets the recipient name.
|
void |
setSummary(Summary summary)
Sets the summary.
|
void |
setTimestamp(String timestamp)
Sets the timestamp.
|
String |
toString() |
getTemplateType, setTemplateTypepublic ReceiptTemplatePayload()
public String getRecipientName()
public void setRecipientName(String recipientName)
recipientName - the new recipient namepublic String getMerchantName()
public void setMerchantName(String merchantName)
merchantName - the new merchant namepublic String getOrderNumber()
public void setOrderNumber(String orderNumber)
orderNumber - the new order numberpublic String getCurrency()
public void setCurrency(String currency)
currency - the new currencypublic String getPaymentMethod()
public void setPaymentMethod(String paymentMethod)
paymentMethod - the new payment methodpublic String getTimestamp()
public void setTimestamp(String timestamp)
timestamp - the new timestamppublic String getOrderUrl()
public void setOrderUrl(String orderUrl)
orderUrl - the new order urlpublic List<ReceiptTemplateElement> getElements()
public void setElements(List<ReceiptTemplateElement> elements)
elements - the new elementspublic void addElement(ReceiptTemplateElement element)
element - the elementpublic Address getAddress()
public void setAddress(Address address)
address - the new addresspublic Summary getSummary()
public void setSummary(Summary summary)
summary - the new summarypublic List<Adjustment> getAdjustments()
public void setAdjustments(List<Adjustment> adjustments)
adjustments - the new adjustmentspublic void addAdjustment(Adjustment adjustment)
adjustment - the adjustmentpublic int hashCode()
hashCode in class TemplateBasePayloadpublic boolean equals(Object obj)
equals in class TemplateBasePayloadpublic String toString()
toString in class TemplateBasePayloadCopyright © 2017 BotMill. All rights reserved.