da994c41b406b0eec0c81d2803fafbb069c6eb12
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Auth;
3 /**
4  * Interface that represents API credentials
5  */
6 abstract class IPPCredential
7 {
8         /**
9          * 
10          * @var IPPThirdPartyAuthorization
11          */
12         protected $thirdPartyAuthorization;
13         
14         public function setThirdPartyAuthorization($thirdPartyAuthorization) {
15                 $this->thirdPartyAuthorization = $thirdPartyAuthorization;
16         }
17         
18         public function getThirdPartyAuthorization() {
19                 return $this->thirdPartyAuthorization;
20         }
21         
22         public abstract function validate();
23 }