public class InvoiceStatusChangeEvent extends com.google.gwt.event.shared.GwtEvent<InvoiceStatusChangeEventHandler>
Invoice.getStatus() has changed.| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<InvoiceStatusChangeEventHandler> |
TYPE |
| Constructor and Description |
|---|
InvoiceStatusChangeEvent(Invoice.Status originStatus,
Invoice.Status status,
Long orderId,
Long invoiceId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(InvoiceStatusChangeEventHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<InvoiceStatusChangeEventHandler> |
getAssociatedType() |
String |
getEmail()
Returns the target email address where the invoice to be sent.
|
Long |
getInvoiceId()
Returns the identification of the invoice that has changed its status.
|
Invoice.Status |
getInvoiceStatus()
Returns the current invoice status.
|
Long |
getOrderId()
Returns the identification of the order as a parent of the invoice that has changed its status.
|
Invoice.Status |
getOriginStatus()
Returns the status of the invoice right before has been changed.
|
void |
setEmail(String email)
Sets the target email address
|
assertLive, getSource, isLive, kill, revivepublic static com.google.gwt.event.shared.GwtEvent.Type<InvoiceStatusChangeEventHandler> TYPE
public InvoiceStatusChangeEvent(@Nonnull Invoice.Status originStatus, @Nonnull Invoice.Status status, @Nonnull Long orderId, @Nonnull Long invoiceId)
public com.google.gwt.event.shared.GwtEvent.Type<InvoiceStatusChangeEventHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<InvoiceStatusChangeEventHandler>public Invoice.Status getOriginStatus()
public Invoice.Status getInvoiceStatus()
public Long getOrderId()
public Long getInvoiceId()
public String getEmail()
public void setEmail(String email)
email - target email address to be setprotected void dispatch(InvoiceStatusChangeEventHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<InvoiceStatusChangeEventHandler>Copyright © 2023. All rights reserved.