PayPal\Api\Credit::setType PHP Method

setType() public method

specifies type of credit Valid Values: ["BILL_ME_LATER", "PAYPAL_EXTRAS_MASTERCARD", "EBAY_MASTERCARD", "PAYPAL_SMART_CONNECT"]
public setType ( string $type )
$type string
    public function setType($type)
    {
        $this->type = $type;
        return $this;
    }