getJson() public static method

Gets Json String of Object Links
public static getJson ( ) : string
return string
Beispiel #1
0
 /**
  * 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() . '}';
 }
 /**
  * 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() . '}';
 }
 /**
  * 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() . '}';
 }
 /**
  * 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() . '}';
 }
 /**
  * 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() . '}';
 }
 /**
  * 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() . '}';
 }
 /**
  * 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() . '}';
 }
Beispiel #8
0
 /**
  * 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() . '}';
 }
 /**
  * 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}';
 }
Beispiel #10
0
 /**
  * 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() . '}';
 }
Beispiel #11
0
 /**
  * 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() . '}';
 }
Beispiel #12
0
 /**
  * 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() . '}';
 }
 /**
  * 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() . '}';
 }
Beispiel #14
0
 /**
  * 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","agreement_details":{"outstanding_balance":{"currency":"USD","value":"0.00"},"cycles_remaining":"12","cycles_completed":"0","next_billing_date":"2015-06-17T10:00:00Z","last_payment_date":"2015-03-18T20:20:17Z","last_payment_amount":{"currency":"USD","value":"1.00"},"final_payment_date":"2017-04-17T10:00:00Z","failed_payment_count":"0"},"update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }
Beispiel #15
0
 /**
  * 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() . '}';
 }
Beispiel #16
0
 /**
  * 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() . '}';
 }
Beispiel #17
0
 /**
  * Gets Json String of Object Plan
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","name":"TestSample","description":"TestSample","type":"TestSample","state":"TestSample","create_time":"TestSample","update_time":"TestSample","payment_definitions":' . PaymentDefinitionTest::getJson() . ',"terms":' . TermsTest::getJson() . ',"merchant_preferences":' . MerchantPreferencesTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object Order
  * @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","pending_reason":"TestSample","protection-eligibility":"TestSample","protection-eligibility_type":"TestSample","parent_payment":"TestSample","fmf_details":' . FmfDetailsTest::getJson() . ',"create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }
Beispiel #19
0
 /**
  * Gets Json String of Object BankAccount
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","account_number":"TestSample","account_number_type":"TestSample","routing_number":"TestSample","account_type":"TestSample","account_name":"TestSample","check_type":"TestSample","auth_type":"TestSample","auth_capture_timestamp":"TestSample","bank_name":"TestSample","country_code":"TestSample","first_name":"TestSample","last_name":"TestSample","birth_date":"TestSample","billing_address":' . AddressTest::getJson() . ',"state":"TestSample","confirmation_status":"TestSample","payer_id":"TestSample","external_customer_id":"TestSample","merchant_id":"TestSample","create_time":"TestSample","update_time":"TestSample","valid_until":"TestSample","links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object Payout
  * @return string
  */
 public static function getJson()
 {
     return '{"sender_batch_header":' . PayoutSenderBatchHeaderTest::getJson() . ',"items":' . PayoutItemTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object WebhookEvent
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","create_time":"TestSample","resource_type":"TestSample","event_type":"TestSample","summary":"TestSample","resource":"TestSampleObject","links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object WebhookEventList
  * @return string
  */
 public static function getJson()
 {
     return '{"events":' . WebhookEventTest::getJson() . ',"count":123,"links":' . LinksTest::getJson() . '}';
 }
Beispiel #23
0
 /**
  * Gets Json String of Object FundingSource
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"funding_mode":"TestSample","funding_instrument_type":"TestSample","soft_descriptor":"TestSample","amount":' . CurrencyTest::getJson() . ',"legal_text":"TestSample","funding_detail":' . FundingDetailTest::getJson() . ',"additional_text":"TestSample","extends":' . FundingInstrumentTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object PayoutBatchHeader
  * @return string
  */
 public static function getJson()
 {
     return '{"payout_batch_id":"TestSample","batch_status":"TestSample","time_created":"TestSample","time_completed":"TestSample","sender_batch_header":' . PayoutSenderBatchHeaderTest::getJson() . ',"amount":' . CurrencyTest::getJson() . ',"fees":' . CurrencyTest::getJson() . ',"errors":' . ErrorTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }
Beispiel #25
0
 /**
  * Gets Json String of Object Capture
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","amount":' . AmountTest::getJson() . ',"is_final_capture":true,"state":"TestSample","reason_code":"TestSample","parent_payment":"TestSample","invoice_number":"TestSample","transaction_fee":' . CurrencyTest::getJson() . ',"create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }
Beispiel #26
0
 /**
  * Gets Json String of Object Refund
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","amount":' . AmountTest::getJson() . ',"state":"TestSample","reason":"TestSample","sale_id":"TestSample","capture_id":"TestSample","parent_payment":"TestSample","description":"TestSample","create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object PaymentCard
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","number":"TestSample","type":"TestSample","expire_month":"123","expire_year":"123","start_month":"TestSample","start_year":"TestSample","cvv2":"TestSample","first_name":"TestSample","last_name":"TestSample","billing_country":"TestSample","billing_address":' . AddressTest::getJson() . ',"external_customer_id":"TestSample","status":"TestSample","card_product_class":"TestSample","valid_until":"TestSample","issue_number":"TestSample","links":' . LinksTest::getJson() . '}';
 }