ReceiptCard Class
- java.
lang. Object - com.
microsoft. bot. schema. ReceiptCard
- com.
public class ReceiptCard
A receipt card.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final java.lang.String | CONTENTTYPE |
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ReceiptCard() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
geTax()
Get the tax value. |
|
java.util.List<Card |
getButtons()
Get the buttons value. |
| java.util.List<Fact> |
getFacts()
Get the facts value. |
|
java.util.List<Receipt |
getItems()
Get the items value. |
|
Card |
getTap()
Get the tap value. |
| java.lang.String |
getTitle()
Get the title value. |
| java.lang.String |
getTotal()
Get the total value. |
| java.lang.String |
getVat()
Get the vat value. |
| void |
setButtons(CardAction[] withButtons)
Set the buttons value. |
| void |
setButtons(List<CardAction> withButtons)
Set the buttons value. |
| void |
setFacts(Fact[] withFacts)
Set the facts value. |
| void |
setFacts(List<Fact> withFacts)
Set the facts value. |
| void |
setItems(ReceiptItem[] withItems)
Set the items value. |
| void |
setItems(List<ReceiptItem> withItems)
Set the items value. |
| void |
setTap(CardAction withTap)
Set the tap value. |
| void |
setTax(String withTax)
Set the tax value. |
| void |
setTitle(String withTitle)
Set the title value. |
| void |
setTotal(String withTotal)
Set the total value. |
| void |
setVat(String withVat)
Set the vat value. |
| Attachment |
toAttachment()
Creates an @{link Attachment} for this card. |
Methods inherited from java.lang.Object
Field Details
CONTENTTYPE
public static final String CONTENTTYPE
Constructor Details
ReceiptCard
public ReceiptCard()
Method Details
geTax
public String geTax()
Get the tax value.
Returns:
getButtons
public List
Get the buttons value.
Returns:
getFacts
public List
Get the facts value.
Returns:
getItems
public List
Get the items value.
Returns:
getTap
public CardAction getTap()
Get the tap value.
Returns:
getTitle
public String getTitle()
Get the title value.
Returns:
getTotal
public String getTotal()
Get the total value.
Returns:
getVat
public String getVat()
Get the vat value.
Returns:
setButtons
public void setButtons(CardAction[] withButtons)
Set the buttons value.
Parameters:
setButtons
public void setButtons(List
Set the buttons value.
Parameters:
setFacts
public void setFacts(Fact[] withFacts)
Set the facts value.
Parameters:
setFacts
public void setFacts(List
Set the facts value.
Parameters:
setItems
public void setItems(ReceiptItem[] withItems)
Set the items value.
Parameters:
setItems
public void setItems(List
Set the items value.
Parameters:
setTap
public void setTap(CardAction withTap)
Set the tap value.
Parameters:
setTax
public void setTax(String withTax)
Set the tax value.
Parameters:
setTitle
public void setTitle(String withTitle)
Set the title value.
Parameters:
setTotal
public void setTotal(String withTotal)
Set the total value.
Parameters:
setVat
public void setVat(String withVat)
Set the vat value.
Parameters:
toAttachment
public Attachment toAttachment()
Creates an @{link Attachment} for this card.
Returns: