src/ClearSaleID/Entity/Request/Payment.php
public static function create( $type, DateTime $date, $amount )
    {
        $instance = new self;

        $instance->setType( $type );
        $instance->setDate( $date );
        $instance->setAmount( $amount );

        return $instance;
    }
public static function create( $type, DateTime $date, $amount )
    {
        $instance = new self;

        $instance->setType( $type );
        $instance->setDate( $date );
        $instance->setAmount( $amount );

        return $instance;
    }
@param  int       $type
@param  \DateTime $date
@param  float     $amount

@return \RodrigoPedra\ClearSaleID\Entity\Request\Payment