PHP code example of cullylarson / paypal-experience-cli
1. Go to this page and download the library: Download cullylarson/paypal-experience-cli library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cullylarson / paypal-experience-cli example snippets
namespace My\Preferred\Namespace; // not necessary to namespace your profiles
use PayPal\ExperienceCli\Profile;
class MyFirstProfile extends Profile {
public function GetProfileName() { return "This Needs to be Unique"; }
public function GetBrandName() { return "My Business"; }
public function GetLogoUrl() { return "https://www.google.com/images/srpr/logo11w.png"; }
}
// no more namespace
use PayPal\ExperienceCli\Profile;
class MyFirstProfile extends Profile {
public function GetProfileName() { return "This Needs to be Unique"; }
public function GetBrandName() { return "My Better Business Name"; }
// no more logo
}