PayPalApiCredit

Class Credit.

Defined (1)

The class is defined in the following location(s).

/classes/lib/PayPal/Api/Credit.php  
  1. class Credit extends PayPalModel 
  2. /** 
  3. * Unique identifier of credit resource. 
  4. * @param string $id 
  5. * @return $this 
  6. */ 
  7. public function setId($id) 
  8. $this->id = $id; 
  9. return $this; 
  10.  
  11. /** 
  12. * Unique identifier of credit resource. 
  13. * @return string 
  14. */ 
  15. public function getId() 
  16. return $this->id; 
  17.  
  18. /** 
  19. * specifies type of credit 
  20. * Valid Values: ["BILL_ME_LATER", "PAYPAL_EXTRAS_MASTERCARD", "EBAY_MASTERCARD", "PAYPAL_SMART_CONNECT"] 
  21. * @param string $type 
  22. * @return $this 
  23. */ 
  24. public function setType($type) 
  25. $this->type = $type; 
  26. return $this; 
  27.  
  28. /** 
  29. * specifies type of credit 
  30. * @return string 
  31. */ 
  32. public function getType() 
  33. return $this->type; 
  34.