public class DownloadReceiptEvent extends com.google.gwt.event.shared.GwtEvent<DownloadReceiptEventHandler>
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<DownloadReceiptEventHandler> |
TYPE |
| Constructor and Description |
|---|
DownloadReceiptEvent(Long receiptId,
String pin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(DownloadReceiptEventHandler handler) |
String |
downloadReceiptUrl()
The final URL will look like:
'/api/billing/v1/pdf/purchases/expenses/{expense_id}/{pin}'
|
com.google.gwt.event.shared.GwtEvent.Type<DownloadReceiptEventHandler> |
getAssociatedType() |
String |
getPin()
Returns the receipt PIN.
|
Long |
getReceiptId()
Returns the receipt identification.
|
assertLive, getSource, isLive, kill, revivepublic static com.google.gwt.event.shared.GwtEvent.Type<DownloadReceiptEventHandler> TYPE
public com.google.gwt.event.shared.GwtEvent.Type<DownloadReceiptEventHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<DownloadReceiptEventHandler>protected void dispatch(DownloadReceiptEventHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<DownloadReceiptEventHandler>public Long getReceiptId()
public String getPin()
public String downloadReceiptUrl()
Copyright © 2023. All rights reserved.