| Modifier and Type | Method and Description |
|---|---|
boolean |
FlashbuyPromotionFacade.enqueue(java.lang.String productCode,
java.lang.String promotionCode,
java.lang.String customerUID,
long quantity)
Create enqueue request for specific promotion, product and customer with request quantity
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultFlashbuyPromotionFacade.enqueue(java.lang.String productCode,
java.lang.String promotionCode,
java.lang.String customerUID,
long quantity) |
void |
DefaultFlashbuyPromotionFacadeTest.testEnqueueFailedByNoRemaining() |
void |
DefaultFlashbuyPromotionFacadeTest.testEnqueueFailedByServiceFail() |
void |
DefaultFlashbuyPromotionFacadeIntegrationTest.testEnqueueFailedForIllegalQuantity() |
void |
DefaultFlashbuyPromotionFacadeIntegrationTest.testEnqueueFailedForMultipleEnqueue() |
void |
DefaultFlashbuyPromotionFacadeIntegrationTest.testEnqueueFailedNoProductAvailable() |
void |
DefaultFlashbuyPromotionFacadeIntegrationTest.testEnqueueSuccess() |
void |
DefaultFlashbuyPromotionFacadeTest.testEnqueueSuccess() |
void |
DefaultFlashbuyPromotionFacadeIntegrationTest.testNoProductAvailable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FlashbuyPromotionService.enqueue(java.lang.String promotionCode,
java.lang.String productCode,
java.lang.String customerUID,
long quantity)
Save the enqueue request to PromotionEnqueue with productCode, promotionCode and customerID
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultFlashbuyPromotionService.enqueue(java.lang.String promotionCode,
java.lang.String productCode,
java.lang.String customerUID,
long quantity) |
protected void |
DefaultFlashbuyPromotionServiceIntegrationTest.flashbuyEnqueue()
Data preparation.
|
protected void |
DefaultFlashbuyPromotionServiceIntegrationTest.flashbuyReserve()
Data preparation.
|
void |
DefaultFlashbuyPromotionServiceIntegrationTest.testAllocateNoRecordFailed() |
void |
DefaultFlashbuyPromotionServiceTest.testEnqueue() |
void |
DefaultFlashbuyPromotionServiceIntegrationTest.testEnqueueAmountOverAvailable() |
void |
DefaultFlashbuyPromotionServiceTest.testEnqueueFailedTwice() |
void |
DefaultFlashbuyPromotionServiceTest.testEnqueueFailedWhenPromotionNotExists() |
void |
DefaultFlashbuyPromotionServiceTest.testEnqueueFailedWhenPromotionNotFlashbuy() |
void |
DefaultFlashbuyPromotionServiceIntegrationTest.testEnqueueTwiceFailed() |
void |
DefaultFlashbuyPromotionServiceTest.testEnqueueWhenCustomerIsNull() |
void |
DefaultFlashbuyPromotionServiceTest.testEnqueueWhenProductIsNull() |
void |
DefaultFlashbuyPromotionServiceTest.testEnqueueWhenPromotionIsNull() |
void |
DefaultFlashbuyPromotionServiceIntegrationTest.testflashbuyAllocate() |
void |
DefaultFlashbuyPromotionServiceIntegrationTest.testFlashbuyEnqueue()
Test flows for a customer successfully applies
FlashbuyPromotion completely. |
void |
DefaultFlashbuyPromotionServiceIntegrationTest.testFlashbuyReserve() |
void |
DefaultFlashbuyPromotionServiceIntegrationTest.testReserveNoCustomerFoundFailed() |
Copyright © 2018 SAP SE. All Rights Reserved.