public static function getMockUpBaseChargeModel()
 {
     $baseChargePayload = new \com\checkout\ApiServices\Charges\RequestModels\BaseCharge();
     $baseChargePayload->setEmail(TestHelper::getRandName() . '@checkout.com');
     $baseChargePayload->setAutoCapture('N');
     $baseChargePayload->setAutoCaptime('0');
     $baseChargePayload->setValue('100');
     $baseChargePayload->setCurrency('usd');
     $baseChargePayload->setTrackId('TrackId-' . rand(0, 1000));
     $baseChargePayload->setShippingDetails(TestHelper::getMockUpAddress());
     return $baseChargePayload;
 }
 public static function getMockUpVoidCharge($chargeService)
 {
     $cardChargeModel = new \com\checkout\ApiServices\Charges\RequestModels\CardIdChargeCreate();
     $chargePayload = \test\TestHelper::getBaseChargeModel($cardChargeModel);
     $chargePayload->setCardId('card_0b5f6a81-2cc0-47cb-859b-601f7f97eebd');
     $chargePayload->setCustomerId('cust_E282D596-A5F9-4A9D-AE37-B92C0B0C2C55');
     $chargePayload->setEmail(TestHelper::getRandName() . '@checkout.com');
     $chargeResponse = $chargeService->chargeWithCardId($chargePayload);
     return $chargeResponse;
 }