src/ClearSaleID/Entity/Request/Order.php
public function setEcommerceType( $ecommerceType )
    {
        if (!in_array( $ecommerceType, self::$ecommerceTypes )) {
            throw new InvalidArgumentException( sprintf( 'Invalid e-commerce type (%s)', $ecommerceType ) );
        }

        $this->ecommerceType = $ecommerceType;

        return $this;
    }
public function setEcommerceType( $ecommerceType )
    {
        if (!in_array( $ecommerceType, self::$ecommerceTypes )) {
            throw new InvalidArgumentException( sprintf( 'Invalid e-commerce type (%s)', $ecommerceType ) );
        }

        $this->ecommerceType = $ecommerceType;

        return $this;
    }
@param  string $ecommerceType

@return $this