Class OrderControllerIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class OrderControllerIntegrationTest extends BaseOrderManagementWebservicesIntegrationTest
  • Constructor Details

    • OrderControllerIntegrationTest

      public OrderControllerIntegrationTest()
  • Method Details

    • setup

      public void setup()
    • getAllDefaultOrder

      public void getAllDefaultOrder()
    • getAllOrdersWithoutSnapshotsAfterOrderCancellation

      public void getAllOrdersWithoutSnapshotsAfterOrderCancellation()
    • getDefaultOrderByCode

      public void getDefaultOrderByCode()
    • getOrderEntriesForOrderCode

      public void getOrderEntriesForOrderCode()
    • getOrderEntryForOrderCodeAndEntryNumber

      public void getOrderEntryForOrderCodeAndEntryNumber()
    • getOrdersByStatuses

      public void getOrdersByStatuses()
    • getOrdersByStatuses_WrongStatus

      public void getOrdersByStatuses_WrongStatus()
    • getAllOrderStatusByDefault

      public void getAllOrderStatusByDefault()
    • getOrderFraudReports

      public void getOrderFraudReports()
    • getAllOrderCancellationReasons

      public void getAllOrderCancellationReasons()
    • approveFraudulentOrder

      public void approveFraudulentOrder()
    • rejectFraudulentOrder

      public void rejectFraudulentOrder()
    • cancelOrder

      public void cancelOrder()
    • createPickUpOrder

      public void createPickUpOrder()
    • createOrder_SingleEntry

      public void createOrder_SingleEntry()
    • createOrder_MultiEntries

      public void createOrder_MultiEntries()
    • createOrder_InvalidEntryNumberType_Failure

      public void createOrder_InvalidEntryNumberType_Failure()
    • createCancel_InvalidEntryNumberType_Failure

      public void createCancel_InvalidEntryNumberType_Failure()
    • manuallyReleasePaymentVoid_success

      public void manuallyReleasePaymentVoid_success()
    • manuallyReleaseTaxVoid_success

      public void manuallyReleaseTaxVoid_success()
    • manuallyReleaseTaxCommit_success

      public void manuallyReleaseTaxCommit_success()
    • manuallyReleaseTaxRequote_success

      public void manuallyReleaseTaxRequote_success()
    • manuallyReleasePaymentReauth_success

      public void manuallyReleasePaymentReauth_success()
    • manuallyReleaseDeliveryCostCommit_success

      public void manuallyReleaseDeliveryCostCommit_success()
    • getAllDefaultOrderWithGeneralizedException

      public void getAllDefaultOrderWithGeneralizedException()
    • getAllDefaultOrderWithUnknownException

      public void getAllDefaultOrderWithUnknownException()
    • getAllDefaultOrderWithForwardException

      public void getAllDefaultOrderWithForwardException()
    • createCancelEntryWsDTO

      protected OrderCancelEntryWsDTO createCancelEntryWsDTO(Long CancelQuantity, String notes, String cancelReason, String entryNumber)
      Prepares OrderCancelEntryWsDTO from the given params
      Parameters:
      CancelQuantity -
      notes -
      cancelReason -
      entryNumber -
      Returns:
      orderCancelEntryWsDTO
    • createOrderCancelRequestWsDTO

      protected OrderCancelRequestWsDTO createOrderCancelRequestWsDTO(List<OrderCancelEntryWsDTO> orderCancelEntriesWsDTO, String user)
      Prepares requestbody from the given params for the POST call to create cancellation
      Parameters:
      orderCancelEntriesWsDTO -
      user -
      Returns:
      orderCancelRequestWsDTO populated from the given params
    • createOrderEntryRequestWsDTO

      protected OrderEntryRequestWsDTO createOrderEntryRequestWsDTO(String entryNumber)
    • createOrderRequestWsDTO_PickUpOrder

      protected OrderRequestWsDTO createOrderRequestWsDTO_PickUpOrder(List<OrderEntryRequestWsDTO> orderEntryRequestWsDTOS)
    • createOrderRequestWsDTO

      protected OrderRequestWsDTO createOrderRequestWsDTO(List<OrderEntryRequestWsDTO> orderEntryRequestWsDTOS)
    • buildCommonOrderRequestWsDTO

      protected OrderRequestWsDTO buildCommonOrderRequestWsDTO()
    • buildUserWsDTO

      protected UserWsDTO buildUserWsDTO()
    • buildUserWsDTO_WithExistingUSer

      protected UserWsDTO buildUserWsDTO_WithExistingUSer()
    • buildAddressWsDTO

      protected AddressWsDTO buildAddressWsDTO()
    • buildPaymentTransactionWsDTO

      protected PaymentTransactionWsDTO buildPaymentTransactionWsDTO()