本文整理汇总了PHP中PayPal\Test\Api\LinksTest::getJson方法的典型用法代码示例。如果您正苦于以下问题:PHP LinksTest::getJson方法的具体用法?PHP LinksTest::getJson怎么用?PHP LinksTest::getJson使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PayPal\Test\Api\LinksTest
的用法示例。
在下文中一共展示了LinksTest::getJson方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getJson
/**
* Gets Json String of Object Agreement
* @return string
*/
public static function getJson()
{
return '{"id":"TestSample","state":"TestSample","name":"TestSample","description":"TestSample","start_date":"TestSample","payer":' . PayerTest::getJson() . ',"shipping_address":' . AddressTest::getJson() . ',"override_merchant_preferences":' . MerchantPreferencesTest::getJson() . ',"override_charge_models":' . OverrideChargeModelTest::getJson() . ',"plan":' . PlanTest::getJson() . ',"create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例2: getJson
/**
* Gets Json String of Object PlanList
* @return string
*/
public static function getJson()
{
return '{"plans":' . PlanTest::getJson() . ',"total_items":"TestSample","total_pages":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例3: getJson
/**
* Gets Json String of Object CurrencyConversion
* @return string
*/
public static function getJson()
{
return '{"conversion_date":"TestSample","from_currency":"TestSample","from_amount":"TestSample","to_currency":"TestSample","to_amount":"TestSample","conversion_type":"TestSample","conversion_type_changeable":true,"web_url":"http://www.google.com","links":' . LinksTest::getJson() . '}';
}
示例4: getJson
/**
* Gets Json String of Object Webhook
* @return string
*/
public static function getJson()
{
return '{"id":"TestSample","url":"http://www.google.com","event_types":' . WebhookEventTypeTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
}
示例5: getJson
/**
* Gets Json String of Object Templates
* @return string
*/
public static function getJson()
{
return '{"addresses":' . AddressTest::getJson() . ',"emails":"TestSample","phones":' . PhoneTest::getJson() . ',"templates":' . TemplateTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
}
示例6: getJson
/**
* Gets Json String of Object PayoutItemDetails
* @return string
*/
public static function getJson()
{
return '{"payout_item_id":"TestSample","transaction_id":"TestSample","transaction_status":"TestSample","payout_item_fee":' . CurrencyTest::getJson() . ',"payout_batch_id":"TestSample","sender_batch_id":"TestSample","payout_item":' . PayoutItemTest::getJson() . ',"time_processed":"TestSample","errors":' . ErrorTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
}
示例7: getJson
/**
* Gets Json String of Object Payment
* @return string
*/
public static function getJson()
{
return '{"id":"TestSample","intent":"TestSample","payer":' . PayerTest::getJson() . ',"payee":' . PayeeTest::getJson() . ',"cart":"TestSample","transactions":' . TransactionTest::getJson() . ',"failed_transactions":' . ErrorTest::getJson() . ',"payment_instruction":' . PaymentInstructionTest::getJson() . ',"state":"TestSample","experience_profile_id":"TestSample","redirect_urls":' . RedirectUrlsTest::getJson() . ',"create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例8: getJson
/**
* Gets Json String of Object CreditCard
*
* @return string
*/
public static function getJson()
{
return '{"id":"TestSample","number":"TestSample","type":"TestSample","expire_month":123,"expire_year":123,"cvv2":"TestSample","first_name":"TestSample","last_name":"TestSample","billing_address":' . AddressTest::getJson() . ',"external_customer_id":"TestSample","state":"TestSample","valid_until":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例9: getJson
/**
* Gets Json String of Object CreditCardList
* @return string
*/
public static function getJson()
{
return '{"items":' . CreditCardTest::getJson() . ',"links":' . LinksTest::getJson() . ',"total_items":123,"total_pages":123}';
}
示例10: getJson
/**
* Gets Json String of Object Error
* @return string
*/
public static function getJson()
{
return '{"name":"TestSample","debug_id":"TestSample","message":"TestSample","information_link":"TestSample","details":' . ErrorDetailsTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
}
示例11: getJson
/**
* Gets Json String of Object Error
*
* @return string
*/
public static function getJson()
{
return '{"name":"TestSample","purchase_unit_reference_id":"TestSample","message":"TestSample","code":"TestSample","details":' . ErrorDetailsTest::getJson() . ',"processor_response":' . ProcessorResponseTest::getJson() . ',"fmf_details":' . FmfDetailsTest::getJson() . ',"information_link":"TestSample","debug_id":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例12: getJson
/**
* Gets Json String of Object Sale
*
* @return string
*/
public static function getJson()
{
return '{"id":"TestSample","purchase_unit_reference_id":"TestSample","amount":' . AmountTest::getJson() . ',"payment_mode":"TestSample","state":"TestSample","reason_code":"TestSample","protection_eligibility":"TestSample","protection_eligibility_type":"TestSample","clearing_time":"TestSample","payment_hold_status":"TestSample","payment_hold_reasons":"TestSample","transaction_fee":' . CurrencyTest::getJson() . ',"receivable_amount":' . CurrencyTest::getJson() . ',"exchange_rate":"TestSample","fmf_details":' . FmfDetailsTest::getJson() . ',"receipt_id":"TestSample","parent_payment":"TestSample","processor_response":' . ProcessorResponseTest::getJson() . ',"billing_agreement_id":"TestSample","create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例13: getJson
/**
* Gets Json String of Object PaymentInstruction
* @return string
*/
public static function getJson()
{
return '{"reference_number":"TestSample","instruction_type":"TestSample","recipient_banking_instruction":' . RecipientBankingInstructionTest::getJson() . ',"amount":' . CurrencyTest::getJson() . ',"payment_due_date":"TestSample","note":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例14: getJson
/**
* Gets Json String of Object Payment
*
* @return string
*/
public static function getJson()
{
return '{"id":"TestSample","intent":"TestSample","payer":' . PayerTest::getJson() . ',"potential_payer_info":' . PotentialPayerInfoTest::getJson() . ',"payee":' . PayeeTest::getJson() . ',"cart":"TestSample","transactions":[' . TransactionTest::getJson() . '],"failed_transactions":' . ErrorTest::getJson() . ',"billing_agreement_tokens":["TestSample"],"credit_financing_offered":' . CreditFinancingOfferedTest::getJson() . ',"payment_instruction":' . PaymentInstructionTest::getJson() . ',"state":"TestSample","experience_profile_id":"TestSample","note_to_payer":"TestSample","redirect_urls":' . RedirectUrlsTest::getJson() . ',"failure_reason":"TestSample","create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
}
示例15: getJson
/**
* Gets Json String of Object FundingOption
*
* @return string
*/
public static function getJson()
{
return '{"id":"TestSample","funding_sources":' . FundingSourceTest::getJson() . ',"backup_funding_instrument":' . FundingInstrumentTest::getJson() . ',"currency_conversion":' . CurrencyConversionTest::getJson() . ',"installment_info":' . InstallmentInfoTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
}