public class ReceiptBroadcastReceiver
extends BroadcastEventReceiver
Constructor and Description |
---|
ReceiptBroadcastReceiver(java.lang.String actionReceiptCreated,
java.lang.String actionPositionAdded,
java.lang.String actionPositionUpdated,
java.lang.String actionPositionRemoved,
java.lang.String actionApplyDiscountToReceipt,
java.lang.String actionReceiptDeleted,
java.lang.String actionReceiptCompleted) |
Modifier and Type | Method and Description |
---|---|
void |
handleApplyDiscountToReceiptEvent(android.content.Context context,
ApplyDiscountToReceiptEvent eventApplyDiscountTo) |
void |
handlePositionAddedEvent(android.content.Context context,
PositionAddedEvent event) |
void |
handlePositionRemovedEvent(android.content.Context context,
PositionRemovedEvent event) |
void |
handlePositionUpdatedEvent(android.content.Context context,
PositionUpdatedEvent event) |
void |
handleReceiptCompletedEvent(android.content.Context context,
ReceiptCompletedEvent event) |
void |
handleReceiptCreatedEvent(android.content.Context context,
ReceiptCreatedEvent event) |
void |
handleReceiptDeletedEvent(android.content.Context context,
ReceiptDeletedEvent event) |
void |
onEvent(android.content.Context context,
java.lang.String action,
android.os.Bundle bundle) |
onEvent, onReceive
public ReceiptBroadcastReceiver(java.lang.String actionReceiptCreated, java.lang.String actionPositionAdded, java.lang.String actionPositionUpdated, java.lang.String actionPositionRemoved, java.lang.String actionApplyDiscountToReceipt, java.lang.String actionReceiptDeleted, java.lang.String actionReceiptCompleted)
public void handleReceiptCreatedEvent(android.content.Context context, ReceiptCreatedEvent event)
public void handlePositionAddedEvent(android.content.Context context, PositionAddedEvent event)
public void handlePositionUpdatedEvent(android.content.Context context, PositionUpdatedEvent event)
public void handlePositionRemovedEvent(android.content.Context context, PositionRemovedEvent event)
public void handleApplyDiscountToReceiptEvent(android.content.Context context, ApplyDiscountToReceiptEvent eventApplyDiscountTo)
public void handleReceiptDeletedEvent(android.content.Context context, ReceiptDeletedEvent event)
public void handleReceiptCompletedEvent(android.content.Context context, ReceiptCompletedEvent event)
public void onEvent(android.content.Context context, java.lang.String action, android.os.Bundle bundle)