public function testGiftCardManualCardShouldReverseUsingGiftCard()
 {
     $giftService = new HpsGiftCardService(TestServicesConfig::ValidMultiUseConfig());
     $response = $giftService->sale(TestGiftCard::validGiftCardNotEncrypted(), 10.0);
     $this->assertEquals('0', $response->responseCode);
     $reverseResponse = $giftService->reverse(TestGiftCard::validGiftCardNotEncrypted(), 10.0);
     $this->assertEquals('0', $reverseResponse->responseCode);
 }
 /**
  * Creates a reverse transaction through the HpsGiftCardService
  */
 public function execute()
 {
     parent::execute();
     $reverseSvc = new HpsGiftCardService($this->service->servicesConfig());
     return $reverseSvc->reverse(isset($this->card) ? $this->card : $this->transactionId, $this->amount, $this->currency);
 }