PayPal\Api\PayoutBatchHeader::setBatchStatus PHP Method

setBatchStatus() public method

The PayPal-generated batch payout status. If the batch payout passes the preliminary checks, the status is PENDING.
public setBatchStatus ( string $batch_status )
$batch_status string
    public function setBatchStatus($batch_status)
    {
        $this->batch_status = $batch_status;
        return $this;
    }