getJson() публичный статический Метод

Gets Json String of Object Address
public static getJson ( ) : string
Результат string
Пример #1
0
 /**
  * Gets Json String of Object PotentialPayerInfo
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","external_remember_me_id":"TestSample","account_number":"TestSample","billing_address":' . AddressTest::getJson() . '}';
 }
Пример #2
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() . '}';
 }
Пример #3
0
 /**
  * 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() . '}';
 }
Пример #4
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() . '}';
 }
Пример #5
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() . '}';
 }
Пример #6
0
 /**
  * Gets Json String of Object PayerInfo
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","external_remember_me_id":"TestSample","account_number":"TestSample","salutation":"TestSample","first_name":"TestSample","middle_name":"TestSample","last_name":"TestSample","suffix":"TestSample","payer_id":"TestSample","phone":"TestSample","phone_type":"TestSample","birth_date":"TestSample","tax_id":"TestSample","tax_id_type":"TestSample","country_code":"TestSample","billing_address":' . AddressTest::getJson() . ',"shipping_address":' . ShippingAddressTest::getJson() . '}';
 }
Пример #7
0
 /**
  * Gets Json String of Object MerchantInfo
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","first_name":"TestSample","last_name":"TestSample","address":' . AddressTest::getJson() . ',"business_name":"TestSample","phone":' . PhoneTest::getJson() . ',"fax":' . PhoneTest::getJson() . ',"website":"TestSample","tax_id":"TestSample","additional_info_label":"TestSample","additional_info":"TestSample"}';
 }
Пример #8
0
 /**
  * Gets Json String of Object ShippingInfo
  * @return string
  */
 public static function getJson()
 {
     return '{"first_name":"TestSample","last_name":"TestSample","business_name":"TestSample","address":' . AddressTest::getJson() . '}';
 }
Пример #9
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() . '}';
 }
Пример #10
0
 /**
  * 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() . '}';
 }