src/ClearSaleID/Service/Integration.php
public function sendOrder( OrderRequest $order )
    {

        $function   = 'SubmitInfo';
        $parameters = [
            'entityCode' => $this->connector->getEntityCode(),
            'xmlDados'   => $this->createRequestOrderXML( $order ),
        ];

        $response = $this->connector->doRequest( $function, $parameters );

        $packageStatusResponse = new PackageStatus( $response->SubmitInfoResult );

        $this->connector->log( 'Integration@sendOrder', compact( 'packageStatusResponse' ) );

        return $packageStatusResponse;
    }
public function sendOrder( OrderRequest $order )
    {

        $function   = 'SubmitInfo';
        $parameters = [
            'entityCode' => $this->connector->getEntityCode(),
            'xmlDados'   => $this->createRequestOrderXML( $order ),
        ];

        $response = $this->connector->doRequest( $function, $parameters );

        $packageStatusResponse = new PackageStatus( $response->SubmitInfoResult );

        $this->connector->log( 'Integration@sendOrder', compact( 'packageStatusResponse' ) );

        return $packageStatusResponse;
    }
Método para envio de um pedido

@param  \RodrigoPedra\ClearSaleID\Entity\Request\Order $order

@return \RodrigoPedra\ClearSaleID\Entity\Response\PackageStatus
@throws \RodrigoPedra\ClearSaleID\Exception\RequiredFieldException
@throws \RodrigoPedra\ClearSaleID\Exception\UnexpectedErrorException