php PayPal-Test-Api-LinksTest类(方法)实例源码

下面列出了php PayPal-Test-Api-LinksTest 类(方法)源码代码实例,从而了解它的用法。

作者:omasterdesig    项目:omasterdefaul   
/**
  * @depends testSerializationDeserialization
  * @param PlanList $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPlans(), PlanTest::getObject());
     $this->assertEquals($obj->getTotalItems(), "TestSample");
     $this->assertEquals($obj->getTotalPages(), "TestSample");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:omasterdesig    项目:omasterdefaul   
/**
  * @depends testSerializationDeserialization
  * @param Webhook $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getUrl(), "http://www.google.com");
     $this->assertEquals($obj->getEventTypes(), WebhookEventTypeTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:omasterdesig    项目:omasterdefaul   
/**
  * @depends testSerializationDeserialization
  * @param CreditCardList $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getItems(), CreditCardTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
     $this->assertEquals($obj->getTotalItems(), 123);
     $this->assertEquals($obj->getTotalPages(), 123);
 }

作者:Luceri    项目:Yii-project   
public function setup()
 {
     $this->captures['partial'] = self::createCapture();
     $capture = self::createCapture();
     $capture->setAmount(AmountTest::createAmount());
     $capture->setLinks(array(LinksTest::createLinks()));
     $this->captures['full'] = $capture;
 }

作者:paypa    项目:rest-api-sdk-ph   
/**
  * @depends testSerializationDeserialization
  * @param Templates $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAddresses(), AddressTest::getObject());
     $this->assertEquals($obj->getEmails(), "TestSample");
     $this->assertEquals($obj->getPhones(), PhoneTest::getObject());
     $this->assertEquals($obj->getTemplates(), TemplateTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:johnmicahmigue    项目:yodaph   
/**
  * @depends testSerializationDeserialization
  * @param Error $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getName(), "TestSample");
     $this->assertEquals($obj->getDebugId(), "TestSample");
     $this->assertEquals($obj->getMessage(), "TestSample");
     $this->assertEquals($obj->getInformationLink(), "TestSample");
     $this->assertEquals($obj->getDetails(), ErrorDetailsTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:Roc4rdh    项目:ap   
/**
  * @depends testSerializationDeserialization
  * @param FundingOption $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getFundingSources(), FundingSourceTest::getObject());
     $this->assertEquals($obj->getBackupFundingInstrument(), FundingInstrumentTest::getObject());
     $this->assertEquals($obj->getCurrencyConversion(), CurrencyConversionTest::getObject());
     $this->assertEquals($obj->getInstallmentInfo(), InstallmentInfoTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:berthojori    项目:rest-api-sdk-ph   
public function setup()
 {
     $card = self::createCreditCard();
     $card->setBillingAddress(AddressTest::createAddress());
     $card->setLinks(array(LinksTest::createLinks()));
     $this->cards['full'] = $card;
     $card = self::createCreditCard();
     $this->cards['partial'] = $card;
 }

作者:Roc4rdh    项目:ap   
/**
  * @depends testSerializationDeserialization
  * @param HyperSchema $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
     $this->assertEquals($obj->getFragmentResolution(), "TestSample");
     $this->assertEquals($obj->getReadonly(), true);
     $this->assertEquals($obj->getContentEncoding(), "TestSample");
     $this->assertEquals($obj->getPathStart(), "TestSample");
     $this->assertEquals($obj->getMediaType(), "TestSample");
 }

作者:ewwgi    项目:eptr   
public static function createAuthorization()
 {
     $authorization = new Authorization();
     $authorization->setCreateTime(self::$create_time);
     $authorization->setId(self::$id);
     $authorization->setState(self::$state);
     $authorization->setAmount(AmountTest::createAmount());
     $authorization->setLinks(array(LinksTest::createLinks()));
     return $authorization;
 }

作者:omasterdesig    项目:omasterdefaul   
/**
  * @depends testSerializationDeserialization
  * @param PaymentInstruction $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getReferenceNumber(), "TestSample");
     $this->assertEquals($obj->getInstructionType(), "TestSample");
     $this->assertEquals($obj->getRecipientBankingInstruction(), RecipientBankingInstructionTest::getObject());
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getPaymentDueDate(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:maherelgami    项目:Small-store-for-books-with-Laravel-5.   
/**
  * @depends testSerializationDeserialization
  * @param WebhookEvent $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getCreateTime(), "TestSample");
     $this->assertEquals($obj->getResourceType(), "TestSample");
     $this->assertEquals($obj->getEventType(), "TestSample");
     $this->assertEquals($obj->getSummary(), "TestSample");
     $this->assertEquals($obj->getResource(), "TestSampleObject");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:johnmicahmigue    项目:yodaph   
public static function createRefund()
 {
     $refund = new Refund();
     $refund->setCreateTime(self::$createTime);
     $refund->setAmount(AmountTest::createAmount());
     $refund->setCaptureId(self::$captureId);
     $refund->setId(self::$id);
     $refund->setLinks(array(LinksTest::getObject()));
     $refund->setParentPayment(self::$parentPayment);
     return $refund;
 }

作者:Luceri    项目:Yii-project   
public static function createSale()
 {
     $sale = new Sale();
     $sale->setAmount(AmountTest::createAmount());
     $sale->setCreateTime(self::$createTime);
     $sale->setId(self::$id);
     $sale->setLinks(array(LinksTest::createLinks()));
     $sale->setParentPayment(self::$parentPayment);
     $sale->setState(self::$state);
     return $sale;
 }

作者:omasterdesig    项目:omasterdefaul   
/**
  * @depends testSerializationDeserialization
  * @param CurrencyConversion $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getConversionDate(), "TestSample");
     $this->assertEquals($obj->getFromCurrency(), "TestSample");
     $this->assertEquals($obj->getFromAmount(), "TestSample");
     $this->assertEquals($obj->getToCurrency(), "TestSample");
     $this->assertEquals($obj->getToAmount(), "TestSample");
     $this->assertEquals($obj->getConversionType(), "TestSample");
     $this->assertEquals($obj->getConversionTypeChangeable(), true);
     $this->assertEquals($obj->getWebUrl(), "http://www.google.com");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:paypa    项目:rest-api-sdk-ph   
/**
  * @depends testSerializationDeserialization
  * @param PayoutBatchHeader $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPayoutBatchId(), "TestSample");
     $this->assertEquals($obj->getBatchStatus(), "TestSample");
     $this->assertEquals($obj->getTimeCreated(), "TestSample");
     $this->assertEquals($obj->getTimeCompleted(), "TestSample");
     $this->assertEquals($obj->getSenderBatchHeader(), PayoutSenderBatchHeaderTest::getObject());
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getFees(), CurrencyTest::getObject());
     $this->assertEquals($obj->getErrors(), ErrorTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:bonti    项目:intrate   
/**
  * @depends testSerializationDeserialization
  * @param FundingSource $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getFundingMode(), "TestSample");
     $this->assertEquals($obj->getFundingInstrumentType(), "TestSample");
     $this->assertEquals($obj->getSoftDescriptor(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getLegalText(), "TestSample");
     $this->assertEquals($obj->getFundingDetail(), FundingDetailTest::getObject());
     $this->assertEquals($obj->getAdditionalText(), "TestSample");
     $this->assertEquals($obj->getExtends(), FundingInstrumentTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:omasterdesig    项目:omasterdefaul   
/**
  * @depends testSerializationDeserialization
  * @param Capture $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getAmount(), AmountTest::getObject());
     $this->assertEquals($obj->getIsFinalCapture(), true);
     $this->assertEquals($obj->getState(), "TestSample");
     $this->assertEquals($obj->getParentPayment(), "TestSample");
     $this->assertEquals($obj->getTransactionFee(), CurrencyTest::getObject());
     $this->assertEquals($obj->getCreateTime(), "TestSample");
     $this->assertEquals($obj->getUpdateTime(), "TestSample");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:paypa    项目:rest-api-sdk-ph   
/**
  * @depends testSerializationDeserialization
  * @param PayoutItemDetails $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPayoutItemId(), "TestSample");
     $this->assertEquals($obj->getTransactionId(), "TestSample");
     $this->assertEquals($obj->getTransactionStatus(), "TestSample");
     $this->assertEquals($obj->getPayoutItemFee(), CurrencyTest::getObject());
     $this->assertEquals($obj->getPayoutBatchId(), "TestSample");
     $this->assertEquals($obj->getSenderBatchId(), "TestSample");
     $this->assertEquals($obj->getPayoutItem(), PayoutItemTest::getObject());
     $this->assertEquals($obj->getTimeProcessed(), "TestSample");
     $this->assertEquals($obj->getErrors(), ErrorTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }

作者:paypa    项目:rest-api-sdk-ph   
/**
  * @depends testSerializationDeserialization
  * @param Error $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getName(), "TestSample");
     $this->assertEquals($obj->getPurchaseUnitReferenceId(), "TestSample");
     $this->assertEquals($obj->getMessage(), "TestSample");
     $this->assertEquals($obj->getCode(), "TestSample");
     $this->assertEquals($obj->getDetails(), ErrorDetailsTest::getObject());
     $this->assertEquals($obj->getProcessorResponse(), ProcessorResponseTest::getObject());
     $this->assertEquals($obj->getFmfDetails(), FmfDetailsTest::getObject());
     $this->assertEquals($obj->getInformationLink(), "TestSample");
     $this->assertEquals($obj->getDebugId(), "TestSample");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }


问题


面经


文章

微信
公众号

扫码关注公众号