Package com.restfb.types.send
Class ReceiptTemplatePayload
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.TemplatePayload
-
- com.restfb.types.send.SharableTemplatePayload
-
- com.restfb.types.send.ReceiptTemplatePayload
-
- All Implemented Interfaces:
Serializable
public class ReceiptTemplatePayload extends SharableTemplatePayload
Represents the Receipt Template Payload type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReceiptTemplatePayload(String recipientName, String orderNumber, String currency, String paymentMethod, ReceiptSummary summary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAdjustment(ReceiptAdjustment adjustment)
boolean
addElement(ReceiptElement element)
ReceiptAddress
getAddress()
List<ReceiptAdjustment>
getAdjustments()
String
getCurrency()
List<ReceiptElement>
getElements()
String
getMerchantName()
String
getOrderNumber()
String
getOrderUrl()
String
getPaymentMethod()
String
getRecipientName()
ReceiptSummary
getSummary()
Long
getTimestamp()
void
setAddress(ReceiptAddress address)
void
setMerchantName(String merchantName)
void
setOrderUrl(String orderUrl)
void
setTimestamp(Long timestamp)
-
Methods inherited from class com.restfb.types.send.SharableTemplatePayload
isSharable, setSharable
-
Methods inherited from class com.restfb.types.send.TemplatePayload
getTemplateType, setTemplateType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ReceiptTemplatePayload
public ReceiptTemplatePayload(String recipientName, String orderNumber, String currency, String paymentMethod, ReceiptSummary summary)
-
-
Method Detail
-
addElement
public boolean addElement(ReceiptElement element)
-
addAdjustment
public boolean addAdjustment(ReceiptAdjustment adjustment)
-
getElements
public List<ReceiptElement> getElements()
-
getAdjustments
public List<ReceiptAdjustment> getAdjustments()
-
getRecipientName
public String getRecipientName()
-
getOrderNumber
public String getOrderNumber()
-
getCurrency
public String getCurrency()
-
getMerchantName
public String getMerchantName()
-
setMerchantName
public void setMerchantName(String merchantName)
-
getPaymentMethod
public String getPaymentMethod()
-
getOrderUrl
public String getOrderUrl()
-
setOrderUrl
public void setOrderUrl(String orderUrl)
-
getTimestamp
public Long getTimestamp()
-
setTimestamp
public void setTimestamp(Long timestamp)
-
getAddress
public ReceiptAddress getAddress()
-
setAddress
public void setAddress(ReceiptAddress address)
-
getSummary
public ReceiptSummary getSummary()
-
-