ReceiptItem Class

  • java.lang.Object
    • com.microsoft.bot.schema.ReceiptItem

public class ReceiptItem

An item on a receipt card.

Constructor Summary

Constructor Description
ReceiptItem()

Method Summary

Modifier and Type Method and Description
CardImage getImage()

Get the image value.

java.lang.String getPrice()

Get the price value.

java.lang.String getQuantity()

Get the quantity value.

java.lang.String getSubtitle()

Get the subtitle value.

CardAction getTap()

Get the tap value.

java.lang.String getText()

Get the text value.

java.lang.String getTitle()

Get the title value.

void setImage(CardImage withImage)

Set the image value.

void setPrice(String withPrice)

Set the price value.

void setQuantity(String withQuantity)

Set the quantity value.

void setSubtitle(String withSubtitle)

Set the subtitle value.

void setTap(CardAction withTap)

Set the tap value.

void setText(String withText)

Set the text value.

void setTitle(String withTitle)

Set the title value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ReceiptItem

public ReceiptItem()

Method Details

getImage

public CardImage getImage()

Get the image value.

Returns:

the image value

getPrice

public String getPrice()

Get the price value.

Returns:

the price value

getQuantity

public String getQuantity()

Get the quantity value.

Returns:

the quantity value

getSubtitle

public String getSubtitle()

Get the subtitle value.

Returns:

the subtitle value

getTap

public CardAction getTap()

Get the tap value.

Returns:

the tap value

getText

public String getText()

Get the text value.

Returns:

the text value

getTitle

public String getTitle()

Get the title value.

Returns:

the title value

setImage

public void setImage(CardImage withImage)

Set the image value.

Parameters:

withImage - the image value to set

setPrice

public void setPrice(String withPrice)

Set the price value.

Parameters:

withPrice - the price value to set

setQuantity

public void setQuantity(String withQuantity)

Set the quantity value.

Parameters:

withQuantity - the quantity value to set

setSubtitle

public void setSubtitle(String withSubtitle)

Set the subtitle value.

Parameters:

withSubtitle - the subtitle value to set

setTap

public void setTap(CardAction withTap)

Set the tap value.

Parameters:

withTap - the tap value to set

setText

public void setText(String withText)

Set the text value.

Parameters:

withText - the text value to set

setTitle

public void setTitle(String withTitle)

Set the title value.

Parameters:

withTitle - the title value to set

Applies to