ReceiptCard Classe

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

public class ReceiptCard

Una scheda di ricevuta.

Riepilogo dei campi

Modificatore e tipo Campo e descrizione
static final java.lang.String CONTENTTYPE

Riepilogo dei costruttori

Costruttore Descrizione
ReceiptCard()

Riepilogo dei metodi

Modificatore e tipo Metodo e descrizione
java.lang.String geTax()

Ottenere il valore dell'imposta.

java.util.List<CardAction> getButtons()

Ottenere il valore dei pulsanti.

java.util.List<Fact> getFacts()

Ottenere il valore dei fatti.

java.util.List<ReceiptItem> getItems()

Ottiene il valore degli elementi.

CardAction getTap()

Ottenere il valore di tocco.

java.lang.String getTitle()

Ottenere il valore del titolo.

java.lang.String getTotal()

Ottenere il valore totale.

java.lang.String getVat()

Ottenere il valore iva.

void setButtons(CardAction[] withButtons)

Impostare il valore dei pulsanti.

void setButtons(List<CardAction> withButtons)

Impostare il valore dei pulsanti.

void setFacts(Fact[] withFacts)

Impostare il valore dei fatti.

void setFacts(List<Fact> withFacts)

Impostare il valore dei fatti.

void setItems(ReceiptItem[] withItems)

Impostare il valore degli elementi.

void setItems(List<ReceiptItem> withItems)

Impostare il valore degli elementi.

void setTap(CardAction withTap)

Impostare il valore di tocco.

void setTax(String withTax)

Impostare il valore dell'imposta.

void setTitle(String withTitle)

Impostare il valore del titolo.

void setTotal(String withTotal)

Impostare il valore totale.

void setVat(String withVat)

Impostare il valore iva.

Attachment toAttachment()

Crea un oggetto @{link Attachment} per questa scheda.

Metodi ereditati da 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

Dettagli del campo

CONTENTTYPE

public static final String CONTENTTYPE

Dettagli costruttore

ReceiptCard

public ReceiptCard()

Dettagli metodo

geTax

public String geTax()

Ottenere il valore dell'imposta.

Restituisce:

il valore fiscale

getButtons

public List getButtons()

Ottenere il valore dei pulsanti.

Restituisce:

valore dei pulsanti

getFacts

public List getFacts()

Ottenere il valore dei fatti.

Restituisce:

il valore dei fatti

getItems

public List getItems()

Ottiene il valore degli elementi.

Restituisce:

valore degli elementi

getTap

public CardAction getTap()

Ottenere il valore di tocco.

Restituisce:

il valore di tocco

getTitle

public String getTitle()

Ottenere il valore del titolo.

Restituisce:

il valore del titolo

getTotal

public String getTotal()

Ottenere il valore totale.

Restituisce:

valore totale

getVat

public String getVat()

Ottenere il valore iva.

Restituisce:

il valore iva

setButtons

public void setButtons(CardAction[] withButtons)

Impostare il valore dei pulsanti.

Parametri:

withButtons - valore dei pulsanti da impostare

setButtons

public void setButtons(List withButtons)

Impostare il valore dei pulsanti.

Parametri:

withButtons - valore dei pulsanti da impostare

setFacts

public void setFacts(Fact[] withFacts)

Impostare il valore dei fatti.

Parametri:

withFacts - valore dei fatti da impostare

setFacts

public void setFacts(List withFacts)

Impostare il valore dei fatti.

Parametri:

withFacts - valore dei fatti da impostare

setItems

public void setItems(ReceiptItem[] withItems)

Impostare il valore degli elementi.

Parametri:

withItems - valore degli elementi da impostare

setItems

public void setItems(List withItems)

Impostare il valore degli elementi.

Parametri:

withItems - valore degli elementi da impostare

setTap

public void setTap(CardAction withTap)

Impostare il valore di tocco.

Parametri:

withTap - il valore di tocco da impostare

setTax

public void setTax(String withTax)

Impostare il valore dell'imposta.

Parametri:

withTax - valore fiscale da impostare

setTitle

public void setTitle(String withTitle)

Impostare il valore del titolo.

Parametri:

withTitle - valore del titolo da impostare

setTotal

public void setTotal(String withTotal)

Impostare il valore totale.

Parametri:

withTotal - valore totale da impostare

setVat

public void setVat(String withVat)

Impostare il valore iva.

Parametri:

withVat - valore iva da impostare

toAttachment

public Attachment toAttachment()

Crea un oggetto @{link Attachment} per questa scheda.

Restituisce:

Oggetto Attachment contenente la scheda.

Si applica a