public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->terminationInquiryService = new TerminationInquiryService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); $this->terminationInquiryHistoryService = new TerminationInquiryHistoryService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); $this->terminationInquiryRequest = new TerminationInquiryRequestType(); $this->terminationInquiryRequest->setMerchantType(new MerchantType()); $this->terminationInquiryRequest->getMerchantType()->setAddress(new AddressType()); $this->terminationInquiryRequest->getMerchantType()->setPrincipal(new PrincipalType()); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->setAddress(new AddressType()); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->setDriversLicense(new DriversLicenseType()); $this->terminationInquiryRequest->setAcquirerId("1996"); $this->terminationInquiryRequest->setTransactionReferenceNumber("12345"); $this->terminationInquiryRequest->getMerchantType()->setName("TERMINATED MERCHANT 2"); $this->terminationInquiryRequest->getMerchantType()->setDoingBusinessAsName("DOING BUSINESS AS TERMINATED MERCHANT 2"); $this->terminationInquiryRequest->getMerchantType()->setPhoneNumber("5555555555"); $this->terminationInquiryRequest->getMerchantType()->getAddress()->setLine1("20 EAST MAIN ST"); $this->terminationInquiryRequest->getMerchantType()->getAddress()->setLine2("EAST ISLIP NY"); $this->terminationInquiryRequest->getMerchantType()->getAddress()->setCity("EAST ISLIP"); $this->terminationInquiryRequest->getMerchantType()->getAddress()->setCountrySubdivision("NY"); $this->terminationInquiryRequest->getMerchantType()->getAddress()->setPostalCode("55555"); $this->terminationInquiryRequest->getMerchantType()->getAddress()->setCountry("USA"); $this->terminationInquiryRequest->getMerchantType()->setCountrySubdivisionTaxId("205545287"); $this->terminationInquiryRequest->getMerchantType()->setNationalTaxId("2891327625"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->setFirstName("PATRICIA"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->setLastName("CLARKE"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->setNationalId("4236559970"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->getAddress()->setLine1("93-52 243 STREET"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->getAddress()->setCity("BELLEROSE"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->getAddress()->setCountrySubdivision("NY"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->getAddress()->setPostalCode("55555-5555"); $this->terminationInquiryRequest->getMerchantType()->getPrincipal()->getAddress()->setCountry("USA"); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->repowerService = new RepowerService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); $this->repowerReversalService = new RepowerReversalService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); $this->repowerRequest = new RepowerRequest(); $this->repowerReversalRequest = new RepowerReversalRequest(); $this->repowerRequest->setTransactionAmount(new TransactionAmount()); $this->repowerRequest->setCardAcceptor(new CardAcceptor()); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->fraudScoringService = new FraudScoringService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); $this->scoreLookupRequest = new ScoreLookupRequest(); $this->scoreLookupRequest->setTransactionDetail(new TransactionDetail()); $this->scoreLookupRequest->getTransactionDetail()->setCustomerIdentifier(1996); $this->scoreLookupRequest->getTransactionDetail()->setMerchantIdentifier(123); $this->scoreLookupRequest->getTransactionDetail()->setAccountNumber("5555555555555555555"); $this->scoreLookupRequest->getTransactionDetail()->setAccountPrefix(555555); $this->scoreLookupRequest->getTransactionDetail()->setAccountSuffix(5555); $this->scoreLookupRequest->getTransactionDetail()->setTransactionDate(1231); $this->scoreLookupRequest->getTransactionDetail()->setTransactionTime("035959"); $this->scoreLookupRequest->getTransactionDetail()->setBankNetReferenceNumber("abcABC123"); $this->scoreLookupRequest->getTransactionDetail()->setStan(123456); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->merchantIdentifierService = new MerchantIdentifierService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->transferReversalService = new TransferReversalService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->deleteSubscriberIdService = new DeleteSubscriberIdService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->panEligibilityService = new PanEligibilityService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->LostStolenService = new LostStolenService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); $this->account = new Account(); }
public function setUp() { $testUtils = new TestUtils(Environment::SANDBOX); $this->cardMappingService = new CardMappingService(TestUtils::SANDBOX_CONSUMER_KEY, $testUtils->getPrivateKey(), Environment::SANDBOX); }